From 7ea970bd80cc75ad01a5060986ac441eae5c45d9 Mon Sep 17 00:00:00 2001 From: Anders Roxell Date: Thu, 22 Oct 2026 13:25:30 +0200 Subject: [PATCH] rootfs: build open posix tests from the top LTP configure The script ran a second configure and make in testcases/open_posix_testsuite, since the top configure skips it by default. Pass --with-open-posix-testsuite instead. Then the top configure and make build and install it too. The tests now end up in /opt/ltp/testcases/open_posix_testsuite. That is the LTP_PATH the ltp-open-posix test definition already uses. Signed-off-by: Anders Roxell --- config/rootfs/debos/scripts/trixie-ltp.sh | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/config/rootfs/debos/scripts/trixie-ltp.sh b/config/rootfs/debos/scripts/trixie-ltp.sh index b7e0be9871..b9af74883d 100755 --- a/config/rootfs/debos/scripts/trixie-ltp.sh +++ b/config/rootfs/debos/scripts/trixie-ltp.sh @@ -112,23 +112,13 @@ make autotools --build="${BUILD_TRIPLET}" \ --host="${GNU_TRIPLET}" \ --prefix=/opt/ltp \ + --with-open-posix-testsuite \ CC="${TARGET_CC}" \ AR="${TARGET_AR}" \ RANLIB="${TARGET_RANLIB}" make all -j"${NBCPU}" make install DESTDIR="${ROOTDIR}" -cd testcases/open_posix_testsuite/ -./configure \ - --build="${BUILD_TRIPLET}" \ - --host="${GNU_TRIPLET}" \ - CC="${TARGET_CC}" -make all -j"${NBCPU}" \ - CC="${TARGET_CC}" \ - AR="${TARGET_AR}" \ - RANLIB="${TARGET_RANLIB}" -make install DESTDIR="${ROOTDIR}" prefix=/opt/ltp - # Strip target ELF files without attempting to process installed scripts. while IFS= read -r -d '' target_file; do if "${TARGET_READELF}" -h "${target_file}" >/dev/null 2>&1; then