Change the order of tests in the test driver.
This puts simpler, passing tests before more complicated tests. Coverage
and failing tests are now at the end. This should make tests more
helpful in the event of a catastrophic failure.
@@ -25,32 +25,7 @@ typedef struct {
const char *all_test_paths[] =
{
- TEST("call", "test_bad_call"),
- TEST("call", "test_bad_keyargs"),
- TEST("call", "test_bad_optargs"),
- TEST("call", "test_call_pipe"),
- TEST("call", "test_keyargs"),
- TEST("call", "test_optargs"),
- TEST("call", "test_varargs"),
- TEST("class", "test_bad_class"),
- TEST("class", "test_class"),
- TEST("closure", "test_verify_closures"),
- TEST("constant", "test_verify_constant"),
- TEST("coroutine", "test_verify_coroutine"),
- TEST("coverage", "test_dynaload"),
- TEST("coverage", "test_verify_coverage"),
- TEST("enum", "test_bad_enum"),
- TEST("enum", "test_enum"),
- TEST("exception", "test_bad_exception"),
- TEST("exception", "test_exception"),
- TEST("format", "test_verify_format"),
- TEST("forward", "test_bad_forward"),
- TEST("forward", "test_forward"),
- TEST("gc", "test_verify_gc"),
- TEST("import", "test_bad_import"),
- TEST("import", "test_import"),
- TEST("lambda", "test_bad_lambda"),
- TEST("lambda", "test_lambda"),
+ TEST("syntax", "test_basics"),
TEST("method", "test_boolean"),
TEST("method", "test_byte"),
TEST("method", "test_bytestring"),
@@ -69,11 +44,22 @@ const char *all_test_paths[] =
TEST("prelude", "test_pkg_subprocess"),
TEST("prelude", "test_pkg_sys"),
TEST("prelude", "test_pkg_time"),
+ TEST("call", "test_call_pipe"),
+ TEST("call", "test_keyargs"),
+ TEST("call", "test_optargs"),
+ TEST("call", "test_varargs"),
+ TEST("class", "test_class"),
+ TEST("closure", "test_verify_closures"),
+ TEST("constant", "test_verify_constant"),
+ TEST("coroutine", "test_verify_coroutine"),
+ TEST("enum", "test_enum"),
+ TEST("exception", "test_exception"),
+ TEST("format", "test_verify_format"),
+ TEST("forward", "test_forward"),
+ TEST("gc", "test_verify_gc"),
+ TEST("import", "test_import"),
+ TEST("lambda", "test_lambda"),
TEST("rewind", "test_verify_rewind"),
- TEST("sandbox", "test_verify_sandbox"),
- TEST("syntax", "test_bad_syntax"),
- TEST("syntax", "test_bad_token"),
- TEST("syntax", "test_basics"),
TEST("template", "test_verify_template"),
TEST("types", "test_generics"),
TEST("types", "test_inference"),
@@ -81,6 +67,20 @@ const char *all_test_paths[] =
TEST("types", "test_quantification"),
TEST("types", "test_scoop"),
TEST("types", "test_variance"),
+ TEST("coverage", "test_dynaload"),
+ TEST("coverage", "test_verify_coverage"),
+ TEST("call", "test_bad_call"),
+ TEST("call", "test_bad_keyargs"),
+ TEST("call", "test_bad_optargs"),
+ TEST("class", "test_bad_class"),
+ TEST("enum", "test_bad_enum"),
+ TEST("exception", "test_bad_exception"),
+ TEST("forward", "test_bad_forward"),
+ TEST("import", "test_bad_import"),
+ TEST("lambda", "test_bad_lambda"),
+ TEST("syntax", "test_bad_syntax"),
+ TEST("syntax", "test_bad_token"),
+ TEST("sandbox", "test_verify_sandbox"),
TEST("benchmark", "test_benchmark"),
NULL,
};
