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")
Signed-off-by: Michael Jeanson <[email protected]>
Reviewed-by: Mathieu Desnoyers <[email protected]>
---
tools/testing/selftests/rseq/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/testing/selftests/rseq/Makefile
b/tools/testing/selftests/rseq/Makefile
index 4ef90823b652..0cfd06b66780 100644
--- a/tools/testing/selftests/rseq/Makefile
+++ b/tools/testing/selftests/rseq/Makefile
@@ -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
--
2.53.0