File-oriented testing
inspired by #2191 but for the `run_top_level_test_with_args`s and `run_top_level_test_no_args instead of the `load_module_test`s
This commit is contained in:
@@ -55,15 +55,6 @@ fn setup_call_cleanup_load() {
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn setup_call_cleanup_process() {
|
||||
run_top_level_test_with_args(
|
||||
["src/tests/setup_call_cleanup.pl", "-f", "-g", "halt"],
|
||||
"",
|
||||
"1+21+31+2>A+B1+G1+2>41+2>B1+2>31+2>31+2>4ba",
|
||||
);
|
||||
}
|
||||
|
||||
#[serial]
|
||||
#[test]
|
||||
fn clpz_load() {
|
||||
@@ -75,39 +66,3 @@ fn clpz_load() {
|
||||
fn iso_conformity_tests() {
|
||||
load_module_test("tests-pl/iso-conformity-tests.pl", "All tests passed");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn dif_tests() {
|
||||
run_top_level_test_with_args(
|
||||
["src/tests/dif.pl", "-f", "-g", "main_quiet"],
|
||||
"",
|
||||
"All tests passed",
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn ground_tests() {
|
||||
run_top_level_test_with_args(
|
||||
["src/tests/ground.pl", "-f", "-g", "main_quiet"],
|
||||
"",
|
||||
"All tests passed",
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn term_variables_tests() {
|
||||
run_top_level_test_with_args(
|
||||
["src/tests/term_variables.pl", "-f", "-g", "main_quiet"],
|
||||
"",
|
||||
"All tests passed",
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn acyclic_term_tests() {
|
||||
run_top_level_test_with_args(
|
||||
["src/tests/acyclic_term.pl", "-f", "-g", "main_quiet"],
|
||||
"",
|
||||
"All tests passed",
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user