headers/bsd: Add sys/queue.h.
[haiku.git] / src / tests / servers / app / run
blobfa8e796c6444e2cd68d204ad45825243871f1f56
1 #!/bin/sh
3 BASE=../../../../generated/tests/libbe_test/x86/apps
5 if [ ! -f $BASE/test_app_server ]; then
6 echo "You need to \"TARGET_PLATFORM=libbe_test jam install-test-apps\" first."
7 exit
8 fi
10 # launch registrar
11 $BASE/run_test_registrar || exit
13 # launch app_server
14 $BASE/test_app_server &
16 if [ "$#" -eq 0 ]; then
17 # no argument given, don't start any apps
18 exit
19 elif [ "$1" = "-o" ]; then
20 open $BASE
21 shift
24 sleep 1
26 for i in $@; do
27 $BASE/$i &
28 done