Skip to content
Snippets Groups Projects
Commit dc64f4be authored by hfuecks's avatar hfuecks
Browse files

testmananger_testname_fix

darcs-hash:20051013092242-e96b6-4ec2c98bcd8ff3e103b6eb53f547c798d138eba1.gz
parent cbf6ced7
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ class TestManager {
function runTestCase($testcase_name, $test_case_directory, &$reporter) {
$manager =& new TestManager();
$testcase_name = preg_replace('/[^a-zA-Z_:]/','',$testcase_name);
$testcase_name = preg_replace('/[^a-zA-Z0-9_:]/','',$testcase_name);
$testcase_name = str_replace(':',DIRECTORY_SEPARATOR,$testcase_name);
$testcase_file = $test_case_directory . DIRECTORY_SEPARATOR .
......@@ -75,7 +75,7 @@ class TestManager {
function runGroupTest($group_test_name, $group_test_directory, &$reporter) {
$manager =& new TestManager();
$group_test_name = preg_replace('/[^a-zA-Z_:]/','',$group_test_name);
$group_test_name = preg_replace('/[^a-zA-Z0-9_:]/','',$group_test_name);
$group_test_name = str_replace(':',DIRECTORY_SEPARATOR,$group_test_name);
$file_path = $group_test_directory . DIRECTORY_SEPARATOR .
strtolower($group_test_name) . $manager->_grouptest_extension;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment