8 AFB=build/src/afb-daemon
9 HELLO=build/bindings/samples/helloWorld.so
12 TOKEN=knock-knock-knock
20 ARGS="-q --no-ldpaths --binding=$HELLO --session-max=100 --ws-server=unix:@afw:hello --no-httpd --exec $AFB --session-max=100 --port=$PORT --no-ldpaths --roothttp=$TEST --token=$TOKEN --ws-client=unix:@afw:hello "
21 # ARGS="$ARGS -vvv --tracereq=all"
24 ARGS="-q --session-max=100 --port=$PORT --workdir=$ROOT --roothttp=$TEST --token=$TOKEN --ldpaths=/tmp --binding=$HELLO"
32 gdb) shift; gdb $AFB -ex "run $ARGS $@";;
33 valgrind) shift; valgrind --leak-check=full $AFB $ARGS $@ 2>&1 | tee $OUT;;
34 strace) shift; strace -tt -f -o $OUT.strace $AFB $ARGS $@ 2>&1 | tee $OUT;;
35 *) $AFB $ARGS $@ 2>&1 | tee $OUT;;
37 #$AFB -q --session-max=100 --port=$PORT --workdir=$ROOT --roothttp=$TEST --token=$TOKEN --ldpaths=/tmp --binding=$HELLO > $OUT.0 2>&1 &
39 #strace -tt -f -o $OUT-strace.0 -p $afbpid &