1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

ci: add variable "RUN_TESTS" in script build_test.sh

When set to "0", the tests are not executed after the build.
This commit is contained in:
Sébastien Helleu
2025-05-04 16:14:31 +02:00
parent 4116f62dd8
commit f08b6beeda
+4 -1
View File
@@ -23,6 +23,7 @@
#
# Build WeeChat according to environment variables:
# - BUILDARGS: arguments for cmake command
# - RUN_TESTS: set to 0 to disable run of tests
#
# Syntax to run the script with environment variables:
# BUILDARGS="arguments" ./build_test.sh
@@ -61,4 +62,6 @@ else
make VERBOSE=1 -j "$(nproc)"
sudo make install
fi
ctest -V
if [ "$RUN_TESTS" != "0" ]; then
ctest -V
fi