about summary refs log tree commit diff
path: root/patches/e9patch-check-rflags.patch
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2025-01-14 17:12:42 +0900
committerNguyễn Gia Phong <cnx@loang.net>2025-01-14 23:32:35 +0900
commit910d416135b15a56e01209c87be4b03f16c1e77c (patch)
tree4cf7d80a8af3db92888c475e49bedf23a849d2e9 /patches/e9patch-check-rflags.patch
parentd533ad582e38aaf4fe6f50e864f4e6999ec943a5 (diff)
downloadloftix-910d416135b15a56e01209c87be4b03f16c1e77c.tar.gz
Update E9Patch
Diffstat (limited to 'patches/e9patch-check-rflags.patch')
-rw-r--r--patches/e9patch-check-rflags.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/patches/e9patch-check-rflags.patch b/patches/e9patch-check-rflags.patch
deleted file mode 100644
index 596a90f..0000000
--- a/patches/e9patch-check-rflags.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-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 34bc81bb1da8..cf3618ea4bed 100644
---- a/test/regtest/Makefile
-+++ b/test/regtest/Makefile
-@@ -1,4 +1,4 @@
--.PHONY: check clean-check
-+.PHONY: check check-flaky clean-check
- 
- E9TOOL ?= ../../e9tool
- E9COMPILE ?= ../../e9compile.sh
-@@ -12,8 +12,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 $<)