Skip to content

Commit

Permalink
Make test pass with both old-style and new-style Spicy error output.
Browse files Browse the repository at this point in the history
Newer versions of Spicy include column information into the location.
  • Loading branch information
rsmmr committed Mar 25, 2024
1 parent f6f8f27 commit e329686
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/analyzer/infinite-loop.spicy
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# @TEST-DOC: This test validates that inputs containing infinite pointer loops are rejected.
#
# @TEST-EXEC-FAIL: spicy-driver -d ${DIST}/analyzer/analyzer.spicy -f ${TRACES}/infinite-loop.dat >output 2>&1
# @TEST-EXEC-FAIL: spicy-driver -d ${DIST}/analyzer/analyzer.spicy -f ${TRACES}/infinite-loop.dat >output.tmp 2>&1
# @TEST-EXEC: cat output.tmp | sed -E 's/-[0-9]*:[0-9]*//' >output
# @TEST-EXEC: btest-diff output

0 comments on commit e329686

Please sign in to comment.