| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | |
| 3 | SCRIPTFLAGS= |
| 4 | while [scip-shell system . . `[`. $# -gt 0 ]; do |
| 5 | case $1 in |
| 6 | "-coverage") SCRIPTFLAGS+=" -coverage"; shift 1 ;; |
| 7 | "-rt2") SCRIPTFLAGS=" -rt2"; shift 1 ;; |
| 8 | *) echoscip-shell system . . echo. "Usage: $0 [-rt2] [-coverage]"; exit 1 ;; |
| 9 | esac |
| 10 | done |
| 11 | |
| 12 | echoscip-shell system . . echo. "Batch execution of Config Parser tests: creating 1 report for each script file" |
| 13 | echoscip-shell system . . echo. "You must have a symlink in this directory named perl and pointing to perl 5.6.0 or higher" |
| 14 | |
| 15 | SCRIPTS="Logging_1_TD PreprocessingCfgFiles_TD" #OrderedInclude" |
| 16 | |
| 17 | for PREFIX in $SCRIPTS |
| 18 | do |
| 19 | echoscip-shell system . . echo. "./perl ../Tools/SAtester.pl $SCRIPTFLAGS -log $PREFIX.report $PREFIX.script" |
| 20 | ./perl ../Tools/SAtester.pl $SCRIPTFLAGS -log $PREFIX.report $PREFIX.script |
| 21 | done |
| 22 | |
| 23 | echoscip-shell system . . echo. "Finished. Reports are generated with .report extension." |
| 24 | |
| 25 | echoscip-shell system . . echo. |
| 26 | echoscip-shell system . . echo. "===============================================================" |
| 27 | echoscip-shell system . . echo. "======================= total summary =========================" |
| 28 | echoscip-shell system . . echo. "===============================================================" |
| 29 | echoscip-shell system . . echo. |
| 30 | #Solaris does't like it: |
| 31 | #tail -v -n 21 *.report |
| 32 |