From 2bcc1c0e46be1ccd2e6963edbdf7387bbf063990 Mon Sep 17 00:00:00 2001 From: "rrelyea%redhat.com" Date: Mon, 2 Nov 2009 21:08:50 +0000 Subject: [PATCH] use the pid file git-svn-id: svn://10.0.0.236/branches/RELYEA@258846 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/security/tinderlight/tinder.sh | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/mozilla/security/tinderlight/tinder.sh b/mozilla/security/tinderlight/tinder.sh index 60b4fe8cd24..d463cc4ca5b 100755 --- a/mozilla/security/tinderlight/tinder.sh +++ b/mozilla/security/tinderlight/tinder.sh @@ -37,6 +37,9 @@ proc_args() "--nojss") NO_JSS=1 ;; + "--pidfile") + echo " $$" >> ${VAL} + ;; "--memtest") NSS_TESTS="memtest" ;; @@ -68,7 +71,13 @@ proc_args() set_env() { TESTDIR=$(pwd) - DATADIR=$(pwd)$(echo "/data/${HOST}_${RUN_BITS}_${RUN_OPT}" | sed "s/ /_/g") + TESTSET=standard + MEM_LEAK= + if [ "${NSS_TESTS}" = "memleak" ]; then + TESTSET=memleak + MEM_LEAK="_MEMLEAK" + fi + DATADIR=$(pwd)$(echo "/data/${HOST}_${RUN_BITS}_${RUN_OPT}${MEM_LEAK}" | sed "s/ /_/g") LOG_ALL="${DATADIR}/all.log" LOG_TMP="${DATADIR}/tmp.log" @@ -79,9 +88,6 @@ set_env() CVS_LIST="${CVS_TRUNK}" TB_TREE="NSS" fi - - TESTSET=standard - [ "${NSS_TESTS}" = "memleak" ] && TESTSET=memleak } print_log() @@ -500,6 +506,7 @@ main() return 0 } +echo "tinderbox args: $0 $@" . env.sh proc_args "$@" set_env