From c735dafb9866ae2806f1b0ad4183eda4199326e2 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Sat, 27 Jan 2024 18:34:59 +0100 Subject: [PATCH] tests: Exit early if python is missing for littlecheck --- tests/test.fish | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test.fish b/tests/test.fish index a7f353741..a51aa2822 100644 --- a/tests/test.fish +++ b/tests/test.fish @@ -25,6 +25,10 @@ if test (count $files_to_test) -gt 1 end set -g python (__fish_anypython) +or begin + say red "Python is not installed. These tests require python." + exit 125 +end # Test littlecheck files. set -l skipped 0