Update NEWS files for next release
[ACE_TAO.git] / ACE / apps / JAWS / clients / WebSTONE / bin / runbench.pl
blob81071504f1a91a0f62f582e6e5db29ab89d6705e
1 #!/pkg/gnu/bin//perl5
4 push(@INC, "$wd/bin");
5 require('WebStone-common.pl');
6 require('flush.pl');
8 # force flush after every write or print
9 $| = 1;
11 html_begin("In Progress");
13 print CLIENT "<H3><CENTER>Running WebStone</CENTER></H3><PRE>";
14 show_model();
15 &flush(CLIENT);
16 &flush(STDOUT);
18 &start_runbench();
20 print CLIENT <<EOF
21 <TITLE>WebStone Completed</TITLE>
22 </PRE><CENTER>
23 <FORM METHOD=POST ACTION="http://localhost:$html_port$wd/bin/view-results.pl">
24 <INPUT TYPE="submit" VALUE="View Results">
25 </CENTER>
26 EOF
29 html_end();
31 sub start_runbench {
32 $command = "cd $wd/bin; ./runbench";
33 system($command);
36 # end