root/branches/newmole/tsuite/clean_tsuite.pl
| Revision 2348, 0.5 kB (checked in by gary, 5 months ago) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | #!/usr/bin/perl |
| 2 | |
| 3 | # This perl script cleans out the test suite after a test run, it will |
| 4 | # only leave files that are part of the official distribution and the |
| 5 | # cloudy executable (with a name ending in .exe) if that was present! |
| 6 | # |
| 7 | # Peter van Hoof |
| 8 | |
| 9 | if( -e "./auto/clean_tsuite.pl" ) { |
| 10 | system "cd auto ; ./clean_tsuite.pl"; |
| 11 | } |
| 12 | else { |
| 13 | die "./auto/clean_tsuite.pl not found!"; |
| 14 | } |
| 15 | if( -e "./slow/clean_tsuite.pl" ) { |
| 16 | system "cd slow ; ./clean_tsuite.pl"; |
| 17 | } |
| 18 | else { |
| 19 | die "./slow/clean_tsuite.pl not found!"; |
| 20 | } |
| 21 | unlink "Makefile"; |
Note: See TracBrowser
for help on using the browser.
