build/unix/run-third.sh
author Benjamin Smedberg <benjamin@smedbergs.us>
Tue, 03 Mar 2009 12:46:49 -0500
changeset 25695 160d095e97f70445f781d5643e42f6a5dfb046d4
parent 1 9b2a99adc05e53cd4010de512f50118594756650
child 94475 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Bug 481027 - Move dom/public/idl to dom/interfaces, r+sr=jst

#!/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
)