adjust regression test for discussion 3359

- incorporate fix from https://github.com/mthom/scryer-prolog/commit/3a2d57db33d49139d13c1e8cfba6eb3d79bcec19#commitcomment-187528793
- mark as should panic rather than ignored, this ensures that the test will be updated should this get fixed
This commit is contained in:
Skgland
2026-06-05 20:29:50 +02:00
parent 03f796e9ff
commit 2b757de73a
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
:- use_module(library(clpz)).
:- use_module(library(dcgs)).
:- use_module(library(tabling)).
:- table expr//0.
@@ -8,4 +8,4 @@ expr --> expr, "+", expr.
run :- phrase(expr, "1+1+1+1+1").
:- initialization(run).
:- initialization(run).
+2 -1
View File
@@ -186,6 +186,7 @@ async fn sigint_interrupts_nonterminating_goals() {
#[test]
#[cfg_attr(miri, ignore = "it takes too long to run")]
// FIXME this shouldn't panic an i686-linux-unknown-gnu, was already broken before d50d42509903dc3cc1841eb757a703753de84754
#[cfg_attr(
all(
target_arch = "x86",
@@ -193,7 +194,7 @@ async fn sigint_interrupts_nonterminating_goals() {
target_vendor = "unknown",
target_env = "gnu"
),
ignore = "FIXME was already broken before d50d42509903dc3cc1841eb757a703753de84754"
should_panic
)]
fn discussion3359() {
load_module_test("tests-pl/discussion3359.pl", "");