build/unix/run-third.sh
author David Anderson <danderson@mozilla.com>
Wed, 05 Oct 2011 18:37:11 -0700
changeset 105273 cad26d2fb5af799dfe030fd2a8948d617eac2f52
parent 1 9b2a99adc05e53cd4010de512f50118594756650
child 94484 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Backout merge.

#!/bin/sh

LD_LIBRARY_PATH=.
export LD_LIBRARY_PATH

PROG=mozilla-bin
PLIBS="-L."

TOOL=third

for l in ./*.so components/*.so; do
    PLIBS="$PLIBS -incobj $l"
done

$ECHO atom $PROG -tool $TOOL -env threads -g -all $PLIBS -toolargs="-leaks all -before NS_ShutdownXPCOM"

cd components && (
    for f in lib*.so; do
        mv ../$f.$PROG.$TOOL.threads .
    done
)