Skip to content

Commit a94e993

Browse files
committed
Tests: Fail xpost runs on test-framework failure markers
Also require the absence of testError/stackImbalance/dict-leak/VM-leak in the output, not just the FILE-PASSED marker, matching the Distiller runner's classification.
1 parent 1c8fdce commit a94e993

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • tests/xpost_tests

tests/xpost_tests/run

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ run_one() {
7070
local out
7171
SECONDS=0
7272
if out=$(timeout "$TIMEOUT" "$XPOST" -q -d null "$driver" </dev/null 2>/dev/null) &&
73-
echo "$out" | grep -qF 'FILE-PASSED'; then
73+
echo "$out" | grep -qF 'FILE-PASSED' &&
74+
! echo "$out" | grep -qE 'testError|stackImbalance|dict leak|global VM leak'; then
7475
printf 'PASS %s (%ds)\n' "$name" "$SECONDS"
7576
return 0
7677
fi

0 commit comments

Comments
 (0)