Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / ACE / apps / JAWS / clients / WebSTONE / webstone
blob026f0d664adce214a8f144e5b1152411c836e756
1 #!/bin/sh
4 WEBSTONEROOT=`pwd` ; export WEBSTONEROOT
5 [ -z "$EDITOR" ] && EDITOR="vi"
7 case $1 in
8 '-gui')
9 bin/webstone-gui.pl
11 '-help')
12 echo
13 more README.FIRST
15 '-setup')
16 if (sh bin/gui-configure)
17 then
19 else
20 echo
21 echo "Some problems were found."
22 echo "Press RETURN to continue, or CTRL-C to abort."
23 read junk
25 if (cd src ; ./configure ; make install)
26 then
27 echo
28 echo
29 echo "Press RETURN to continue"
30 read junk
31 $EDITOR conf/testbed
32 echo
33 echo "WebStone make complete."
34 echo "Type './webstone -genfiles' to create the fileset."
35 echo
36 else
37 echo
38 echo "WebStone make FAILED"
39 echo "Consult the file doc/FAQ-webstone.html for porting hints."
40 echo
43 '-kill')
44 cd bin
45 ./killbench
47 '-nogui')
48 cd bin
49 ./runbench
51 '-genfiles')
52 cd bin
53 ./genfiles
54 echo
55 echo "If no errors occurred, type './webstone' to run the benchmark."
56 echo
58 '-silent')
59 cd bin
60 ./runbench > /dev/null 2>&1 &
62 '-tail')
63 LATEST=$WEBSTONEROOT/bin/runs/`ls -1 $WEBSTONEROOT/bin/runs | tail -1`/run
64 tail -f $LATEST
66 '-results')
67 bin/wscollect.pl $2 bin/runs
71 $WEBSTONEROOT/webstone -nogui
73 esac
75 # end