adjust ignore reason
This commit is contained in:
@@ -278,7 +278,7 @@ mod tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(miri, ignore = "blocked on libraries.rs UB")]
|
#[cfg_attr(miri, ignore = "it takes too long to run")]
|
||||||
fn failing_query() {
|
fn failing_query() {
|
||||||
let mut machine = Machine::new_lib();
|
let mut machine = Machine::new_lib();
|
||||||
let query = String::from(r#"triple("a",P,"b")."#);
|
let query = String::from(r#"triple("a",P,"b")."#);
|
||||||
@@ -292,7 +292,7 @@ mod tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(miri, ignore = "blocked on libraries.rs UB")]
|
#[cfg_attr(miri, ignore = "it takes too long to run")]
|
||||||
fn complex_results() {
|
fn complex_results() {
|
||||||
let mut machine = Machine::new_lib();
|
let mut machine = Machine::new_lib();
|
||||||
machine.load_module_string(
|
machine.load_module_string(
|
||||||
@@ -349,7 +349,7 @@ mod tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(miri, ignore = "blocked on libraries.rs UB")]
|
#[cfg_attr(miri, ignore = "it takes too long to run")]
|
||||||
fn empty_predicate() {
|
fn empty_predicate() {
|
||||||
let mut machine = Machine::new_lib();
|
let mut machine = Machine::new_lib();
|
||||||
machine.load_module_string(
|
machine.load_module_string(
|
||||||
@@ -365,7 +365,7 @@ mod tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(miri, ignore = "blocked on libraries.rs UB")]
|
#[cfg_attr(miri, ignore = "it takes too long to run")]
|
||||||
fn list_results() {
|
fn list_results() {
|
||||||
let mut machine = Machine::new_lib();
|
let mut machine = Machine::new_lib();
|
||||||
machine.load_module_string(
|
machine.load_module_string(
|
||||||
@@ -394,7 +394,7 @@ mod tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(miri, ignore = "blocked on libraries.rs UB")]
|
#[cfg_attr(miri, ignore = "it takes too long to run")]
|
||||||
fn consult() {
|
fn consult() {
|
||||||
let mut machine = Machine::new_lib();
|
let mut machine = Machine::new_lib();
|
||||||
|
|
||||||
@@ -453,7 +453,7 @@ mod tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(miri, ignore = "blocked on libraries.rs UB")]
|
#[cfg_attr(miri, ignore = "it takes too long to run")]
|
||||||
fn integration_test() {
|
fn integration_test() {
|
||||||
let mut machine = Machine::new_lib();
|
let mut machine = Machine::new_lib();
|
||||||
|
|
||||||
@@ -496,7 +496,7 @@ mod tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(miri, ignore = "blocked on libraries.rs UB")]
|
#[cfg_attr(miri, ignore = "it takes too long to run")]
|
||||||
fn findall() {
|
fn findall() {
|
||||||
let mut machine = Machine::new_lib();
|
let mut machine = Machine::new_lib();
|
||||||
|
|
||||||
@@ -529,7 +529,7 @@ mod tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(miri, ignore = "blocked on libraries.rs UB")]
|
#[cfg_attr(miri, ignore = "it takes too long to run")]
|
||||||
fn dont_return_partial_matches() {
|
fn dont_return_partial_matches() {
|
||||||
let mut machine = Machine::new_lib();
|
let mut machine = Machine::new_lib();
|
||||||
|
|
||||||
@@ -553,7 +553,7 @@ mod tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(miri, ignore = "blocked on libraries.rs UB")]
|
#[cfg_attr(miri, ignore = "it takes too long to run")]
|
||||||
fn dont_return_partial_matches_without_discountiguous() {
|
fn dont_return_partial_matches_without_discountiguous() {
|
||||||
let mut machine = Machine::new_lib();
|
let mut machine = Machine::new_lib();
|
||||||
|
|
||||||
@@ -585,7 +585,7 @@ mod tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(miri, ignore = "blocked on libraries.rs UB")]
|
#[cfg_attr(miri, ignore = "it takes too long to run")]
|
||||||
fn non_existent_predicate_should_not_cause_panic_when_other_predicates_are_defined() {
|
fn non_existent_predicate_should_not_cause_panic_when_other_predicates_are_defined() {
|
||||||
let mut machine = Machine::new_lib();
|
let mut machine = Machine::new_lib();
|
||||||
|
|
||||||
@@ -610,7 +610,7 @@ mod tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(miri, ignore = "blocked on libraries.rs UB")]
|
#[cfg_attr(miri, ignore = "it takes too long to run")]
|
||||||
fn issue_2341() {
|
fn issue_2341() {
|
||||||
let mut machine = Machine::new_lib();
|
let mut machine = Machine::new_lib();
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ use serial_test::serial;
|
|||||||
// issue #831
|
// issue #831
|
||||||
#[serial]
|
#[serial]
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(miri, ignore = "blocked on helper.rs UB")]
|
#[cfg_attr(miri, ignore = "it takes too long to run")]
|
||||||
fn call_0() {
|
fn call_0() {
|
||||||
load_module_test(
|
load_module_test(
|
||||||
"tests-pl/issue831-call0.pl",
|
"tests-pl/issue831-call0.pl",
|
||||||
@@ -15,7 +15,7 @@ fn call_0() {
|
|||||||
// issue #2361
|
// issue #2361
|
||||||
#[serial]
|
#[serial]
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(miri, ignore = "blocked on helper.rs UB")]
|
#[cfg_attr(miri, ignore = "it takes too long to run")]
|
||||||
fn call_qualification() {
|
fn call_qualification() {
|
||||||
load_module_test("tests-pl/issue2361-call-qualified.pl", "");
|
load_module_test("tests-pl/issue2361-call-qualified.pl", "");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,10 @@ mod src_tests;
|
|||||||
/// then check that the changes are as expected e.g. by looking at the `git diff`
|
/// then check that the changes are as expected e.g. by looking at the `git diff`
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(not(all(target_arch = "wasm32", target_os = "unknown")))]
|
#[cfg(not(all(target_arch = "wasm32", target_os = "unknown")))]
|
||||||
#[cfg_attr(miri, ignore = "blocked on crossbeam UB")]
|
#[cfg_attr(
|
||||||
|
miri,
|
||||||
|
ignore = "miri isolation, unsupported operation: can't call foreign function"
|
||||||
|
)]
|
||||||
fn cli_tests() {
|
fn cli_tests() {
|
||||||
trycmd::TestCases::new()
|
trycmd::TestCases::new()
|
||||||
.default_bin_name("scryer-prolog")
|
.default_bin_name("scryer-prolog")
|
||||||
|
|||||||
@@ -3,35 +3,35 @@ use serial_test::serial;
|
|||||||
|
|
||||||
#[serial]
|
#[serial]
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(miri, ignore = "blocked on helper.rs UB")]
|
#[cfg_attr(miri, ignore = "it takes too long to run")]
|
||||||
fn builtins() {
|
fn builtins() {
|
||||||
load_module_test("src/tests/builtins.pl", "");
|
load_module_test("src/tests/builtins.pl", "");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[serial]
|
#[serial]
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(miri, ignore = "blocked on helper.rs UB")]
|
#[cfg_attr(miri, ignore = "it takes too long to run")]
|
||||||
fn call_with_inference_limit() {
|
fn call_with_inference_limit() {
|
||||||
load_module_test("src/tests/call_with_inference_limit.pl", "");
|
load_module_test("src/tests/call_with_inference_limit.pl", "");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[serial]
|
#[serial]
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(miri, ignore = "blocked on helper.rs UB")]
|
#[cfg_attr(miri, ignore = "it takes too long to run")]
|
||||||
fn facts() {
|
fn facts() {
|
||||||
load_module_test("src/tests/facts.pl", "");
|
load_module_test("src/tests/facts.pl", "");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[serial]
|
#[serial]
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(miri, ignore = "blocked on helper.rs UB")]
|
#[cfg_attr(miri, ignore = "it takes too long to run")]
|
||||||
fn hello_world() {
|
fn hello_world() {
|
||||||
load_module_test("src/tests/hello_world.pl", "Hello World!\n");
|
load_module_test("src/tests/hello_world.pl", "Hello World!\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[serial]
|
#[serial]
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(miri, ignore = "blocked on helper.rs UB")]
|
#[cfg_attr(miri, ignore = "it takes too long to run")]
|
||||||
fn syntax_error() {
|
fn syntax_error() {
|
||||||
load_module_test(
|
load_module_test(
|
||||||
"tests-pl/syntax_error.pl",
|
"tests-pl/syntax_error.pl",
|
||||||
@@ -41,21 +41,21 @@ fn syntax_error() {
|
|||||||
|
|
||||||
#[serial]
|
#[serial]
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(miri, ignore = "blocked on helper.rs UB")]
|
#[cfg_attr(miri, ignore = "it takes too long to run")]
|
||||||
fn predicates() {
|
fn predicates() {
|
||||||
load_module_test("src/tests/predicates.pl", "");
|
load_module_test("src/tests/predicates.pl", "");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[serial]
|
#[serial]
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(miri, ignore = "blocked on helper.rs UB")]
|
#[cfg_attr(miri, ignore = "it takes too long to run")]
|
||||||
fn rules() {
|
fn rules() {
|
||||||
load_module_test("src/tests/rules.pl", "");
|
load_module_test("src/tests/rules.pl", "");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[serial]
|
#[serial]
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(miri, ignore = "blocked on helper.rs UB")]
|
#[cfg_attr(miri, ignore = "it takes too long to run")]
|
||||||
fn setup_call_cleanup_load() {
|
fn setup_call_cleanup_load() {
|
||||||
load_module_test(
|
load_module_test(
|
||||||
"src/tests/setup_call_cleanup.pl",
|
"src/tests/setup_call_cleanup.pl",
|
||||||
@@ -65,14 +65,14 @@ fn setup_call_cleanup_load() {
|
|||||||
|
|
||||||
#[serial]
|
#[serial]
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(miri, ignore = "blocked on helper.rs UB")]
|
#[cfg_attr(miri, ignore = "it takes too long to run")]
|
||||||
fn clpz_load() {
|
fn clpz_load() {
|
||||||
load_module_test("src/tests/clpz/test_clpz.pl", "");
|
load_module_test("src/tests/clpz/test_clpz.pl", "");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[serial]
|
#[serial]
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(miri, ignore = "blocked on helper.rs UB")]
|
#[cfg_attr(miri, ignore = "it takes too long to run")]
|
||||||
fn iso_conformity_tests() {
|
fn iso_conformity_tests() {
|
||||||
load_module_test("tests-pl/iso-conformity-tests.pl", "All tests passed");
|
load_module_test("tests-pl/iso-conformity-tests.pl", "All tests passed");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user