From d7142479aefd149c753adad73eb2f8db52b03e32 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Thu, 5 Mar 2026 12:33:03 +0100 Subject: [PATCH] tests: try two places for profanity binary --- tests/functionaltests/start_profanity.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/functionaltests/start_profanity.sh b/tests/functionaltests/start_profanity.sh index 58ceadd7..5ea37fc6 100755 --- a/tests/functionaltests/start_profanity.sh +++ b/tests/functionaltests/start_profanity.sh @@ -1,2 +1,7 @@ export COLUMNS=300 -./profanity -l DEBUG +if [ -f "./build_run/profanity" ]; then + ./build_run/profanity -l DEBUG +else + # Fallback for autotools + ./profanity -l DEBUG +fi