X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=stress-server.sh;fp=stress-server.sh;h=a0d83fd9e59d39fd37d46858ccaf0783530be7f3;hb=09010fa0093bee944738b728bf3277961d9bd6d7;hp=16a376e3e9157093f5483e938dedf92b65aa103a;hpb=d69860c79a93845b78bbeafafbf04d12c60e63fa;p=src%2Fapp-framework-binder.git diff --git a/stress-server.sh b/stress-server.sh index 16a376e3..a0d83fd9 100755 --- a/stress-server.sh +++ b/stress-server.sh @@ -16,10 +16,10 @@ ARGS="-q --session-max=100 --port=$PORT --workdir=$ROOT --roothttp=$TEST --token echo -n launch afb... case "$1" in - gdb) gdb $AFB -ex "run $ARGS";; - valgrind) valgrind --leak-check=full $AFB $ARGS 2>&1 | tee $OUT;; - strace) strace -tt -f -o $OUT.strace $AFB $ARGS 2>&1 | tee $OUT;; - *) $AFB $ARGS 2>&1 | tee $OUT;; + gdb) shift; gdb $AFB -ex "run $ARGS $@";; + valgrind) shift; valgrind --leak-check=full $AFB $ARGS $@ 2>&1 | tee $OUT;; + strace) shift; strace -tt -f -o $OUT.strace $AFB $ARGS $@ 2>&1 | tee $OUT;; + *) $AFB $ARGS $@ 2>&1 | tee $OUT;; esac #$AFB -q --session-max=100 --port=$PORT --workdir=$ROOT --roothttp=$TEST --token=$TOKEN --ldpaths=/tmp --binding=$HELLO > $OUT.0 2>&1 & #afbpid=$!