Skip to contentSkip to conversation

rseq/selftests: Fix only run syscall errors wrapper script on 'run_tests'

PATCH New Michael Jeanson 1 participant 1 message Apr 23

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rseq/selftests: Fix only run syscall errors wrapper script on 'run_tests'

Move 'syscall_errors_test' to TEST_GEN_PROGS_EXTENDED as it shouldn't be directly executed by the 'run_tests' target. The wrapper script 'run_syscall_errors_test.sh' that sets the required environment before executing 'syscall_errors_test' is already present in TEST_PROGS.

Fixes 3c27b40830ca ("selftests/rseq: Add rseq syscall errors test")
---
 tools/testing/selftests/rseq/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/testing/selftests/rseq/Makefile +2 -2
index 4ef90823b652..0cfd06b66780 100644
@@ -17,9 +17,9 @@ OVERRIDE_TARGETS = 1
 TEST_GEN_PROGS = basic_test basic_percpu_ops_test basic_percpu_ops_mm_cid_test param_test \
 		param_test_benchmark param_test_compare_twice param_test_mm_cid \
 		param_test_mm_cid_benchmark param_test_mm_cid_compare_twice \
-		syscall_errors_test slice_test
+		slice_test
 
-TEST_GEN_PROGS_EXTENDED = librseq.so
+TEST_GEN_PROGS_EXTENDED = librseq.so syscall_errors_test
 
 TEST_PROGS = run_param_test.sh run_syscall_errors_test.sh
 
Signature · 1 line
2.53.0