Partial rollback of Issue #1700682; breaks contributed module testing.
parent
e06c4610db
commit
2f2dfda72e
|
|
@ -549,13 +549,6 @@ function simpletest_script_get_test_list() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Filter out abstract classes.
|
|
||||||
foreach ($test_list as $i => $test_class) {
|
|
||||||
$class_info = new \ReflectionClass($test_class);
|
|
||||||
if ($class_info->isAbstract()) {
|
|
||||||
unset($test_list[$i]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (empty($test_list)) {
|
if (empty($test_list)) {
|
||||||
simpletest_script_print_error('No valid tests were specified.');
|
simpletest_script_print_error('No valid tests were specified.');
|
||||||
exit;
|
exit;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue