Parent Directory
|
Revision Log
|
Revision Graph
simple testing environment for optim_m1qn3
| 1 | mlosch | 1.1 | #!/bin/bash |
| 2 | # | ||
| 3 | |||
| 4 | # $Header: $ | ||
| 5 | # $Name: $ | ||
| 6 | |||
| 7 | make scratch | ||
| 8 | make all | ||
| 9 | |||
| 10 | ./driver | ||
| 11 | |||
| 12 | COUNTER=0 | ||
| 13 | while [ $COUNTER -lt 1000 ]; do | ||
| 14 | echo $COUNTER >| count.txt | ||
| 15 | echo The counter is $COUNTER | ||
| 16 | ./offline_driver >| output.txt | ||
| 17 | cat output.txt | ||
| 18 | stopper=`grep stoptheloop output.txt` | ||
| 19 | if [ "${#stopper}" -gt 0 ]; then | ||
| 20 | echo $stopper | ||
| 21 | break | ||
| 22 | fi | ||
| 23 | ./model | ||
| 24 | let COUNTER=COUNTER+1 | ||
| 25 | done | ||
| 26 |
| ViewVC Help | |
| Powered by ViewVC 1.1.22 |