2 # $1: args type could be 'ft' (function test) or 'st' (system test), or 'help' to get the command line help. By default: ft
6 ps -o s= -o pid= $pids | sed -n 's/^[^ZT][[:space:]]\+//p';
10 [ -z "$1" ] && ARGS=args.ft
11 STARTED=`pgrep_live ADML`
12 [ -n "$STARTED" ] && { echo "Already started !"; echo "PID $STARTED" ; exit 1 ; }
15 for file in `ls *.launcher.log 2>/dev/null`; do 0> $file; done
16 mkdir -p counters test-reports
17 rm -f counters/* test-reports/* *.csv
18 export LD_LIBRARY_PATH=$PWD/dynlibs
19 args=$(eval echo $(grep -v ^# $ARGS))
21 ./ADML ${args} | tee -a ADML.output &
22 pgrep_live ADML > .pid