[LTP] [PATCH 1/2] openposix: Install the .args files
Anders Roxell
anders.roxell@linaro.org
Fri Oct 23 14:34:35 CEST 2026
run-tests.sh reads the arguments for a test from a .args file next to
it, but make install does not copy the .args files. So on an installed
system the two mqueues_multi_send_rev tests run without the number of
threads and fail with a usage message.
Install the .args files together with the tests.
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
testcases/open_posix_testsuite/scripts/generate-makefiles.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/testcases/open_posix_testsuite/scripts/generate-makefiles.sh b/testcases/open_posix_testsuite/scripts/generate-makefiles.sh
index 1c12a456cc41..19c781ba8054 100755
--- a/testcases/open_posix_testsuite/scripts/generate-makefiles.sh
+++ b/testcases/open_posix_testsuite/scripts/generate-makefiles.sh
@@ -182,6 +182,7 @@ install: \$(INSTALL_DIR) run.sh
\$(INSTALL_DIR)/\$\$file; \\
fi; \\
done
+ \$(if \$(wildcard \$(srcdir)/*.args),install -m 00644 \$(wildcard \$(srcdir)/*.args) \$(INSTALL_DIR)/)
@if [ -d speculative ]; then \$(MAKE) -C speculative install; fi
.PHONY: test
--
2.53.0
More information about the ltp
mailing list