2 # unit testing for caos script, fuzzie, 06/06/04
4 open(TESTS
, './openc2e unittests/ 2>> /dev/null|');
8 if (/^PASS$/) { $pass++; next; }
9 if (/^FAIL$/) { $fail++; next; }
15 next if ($pass == 0) && ($fail == 0);
16 print "test $oldtest: $pass passed, $fail failed\n";
22 if (($pass != 0) || ($fail != 0)) {
23 print "test $test: $pass passed, $fail failed\n";