Skip to content

Commit ef728c8

Browse files
committed
Disable flaky tests involving rflags
1 parent 74bed0d commit ef728c8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

test/regtest/Makefile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,14 @@ BASE ::= test test.pie bugs test.libc libtest.so test_c test_c.debug example.so
77
TRAMPOLINE ::= inst patch dl init fini
88
IN ::= $(wildcard *.in)
99
EXE ::= $(IN:.in=.exe)
10+
# Some instructions leave certain rflags undefined:
11+
# https://github.com/GJDuck/e9patch/issues/96
12+
FLAKY ::= after example_12 rip_rsp_rflags xmm
1013

11-
check: regtest $(EXE)
14+
check: regtest $(filter-out $(FLAKY:%=%.exe), $(EXE))
15+
./$^
16+
17+
check-flaky: regtest $(filter $(FLAKY:%=%.exe), $(EXE))
1218
./$^
1319

1420
%.exe: in=$(shell head -1 $<)
@@ -68,4 +74,4 @@ example.so:
6874
clean-check:
6975
rm -f $(BASE) $(TRAMPOLINE) $(EXE)
7076

71-
.PHONY: check clean-check
77+
.PHONY: check check-flaky clean-check

0 commit comments

Comments
 (0)