From 99f78cbf6ed376391f519de18d289a6924228591 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 19 Mar 2025 22:35:26 +0100 Subject: [PATCH] runtests: fix bundle detection by not looking for `units` `units` may be not be built in certain cases when using autotools. Fixes: https://app.circleci.com/pipelines/github/curl/curl/12669/workflows/8516da2b-b351-40b2-bf13-7c4ab4bcdd55/jobs/127197 Bug: https://github.com/curl/curl/pull/16750#issuecomment-2738041943 Follow-up to a9b7cbf34f8db80e8c05ee3680cafdce67ca9430 #16750 Closes #16770 --- tests/runtests.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/runtests.pl b/tests/runtests.pl index 81baf2cbe0..57e3152392 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -2514,9 +2514,9 @@ EOHELP shift @ARGV; } -# Detect a test bundle build +# Detect a test bundle build. +# Do not look for 'units' because not all configurations build it. if(-e $LIBDIR . "libtests" . exe_ext('TOOL') && - -e $UNITDIR . "units" . exe_ext('TOOL') && -e $SRVDIR . "servers" . exe_ext('SRV')) { # use test bundles $bundle=1; -- 2.47.2