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