adjust regression test for discussion 3359

- incorporate fix from 3a2d57db33 (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:27:22 +02:00
parent 03f796e9ff
commit 2b757de73a
2 changed files with 4 additions and 3 deletions

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).

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", "");