Last change
on this file since 2498 was
2498,
checked in by leemasa, 11 years ago
|
Added the bccd_tests perl module to hold the tests to be used by the test suite.
|
File size:
446 bytes
|
Line | |
---|
1 | #Automagic BCCD test suite! |
---|
2 | #Runs test scripts and compares with control output in BCCD. |
---|
3 | #Emails differences to bccd-developers@bccd.net |
---|
4 | |
---|
5 | use strict; |
---|
6 | use File::Path; |
---|
7 | |
---|
8 | use bccd_tests; |
---|
9 | |
---|
10 | my $testdir = "test"; |
---|
11 | |
---|
12 | |
---|
13 | my $testname; |
---|
14 | my $storeOutput; |
---|
15 | |
---|
16 | if (-e $testdir){ |
---|
17 | rmtree($testdir) or die "Could not replace existing test directory: $!"; |
---|
18 | } |
---|
19 | mkdir($testdir) or die "Could not make test directory: $!"; |
---|
20 | |
---|
21 | $tests{'Life'}->('Life') |
---|
22 | $tests{'Gal'}->('Gal') |
---|
Note: See
TracBrowser
for help on using the repository browser.