blob: d012896dbde8986ee3f010e47a3d8d0aae72e922 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
commit 856abec11039046d60f13609887894c730bef4a7
Author: Nguyễn Gia Phong <cnx@loang.net>
Date: 2024-12-05 16:00:06 +0900
Disable flaky tests involving rflags
diff --git a/test/regtest/Makefile b/test/regtest/Makefile
index 9b29e0f72408..05f9ce0a6591 100644
--- a/test/regtest/Makefile
+++ b/test/regtest/Makefile
@@ -7,8 +7,14 @@ BASE ::= test test.pie bugs test.libc libtest.so test_c test_c.debug example.so
TRAMPOLINE ::= inst patch dl init fini
IN ::= $(wildcard *.in)
EXE ::= $(IN:.in=.exe)
+# Some instructions leave certain rflags undefined:
+# https://github.com/GJDuck/e9patch/issues/96
+FLAKY ::= after example_12 rip_rsp_rflags xmm
-check: regtest $(EXE)
+check: regtest $(filter-out $(FLAKY:%=%.exe), $(EXE))
+ ./$^
+
+check-flaky: regtest $(filter $(FLAKY:%=%.exe), $(EXE))
./$^
%.exe: in=$(shell head -1 $<)
@@ -68,4 +74,4 @@ example.so:
clean-check:
rm -f $(BASE) $(TRAMPOLINE) $(EXE)
-.PHONY: check clean-check
+.PHONY: check check-flaky clean-check
|