From: Chris Koeritz Date: Wed, 11 Sep 2013 13:48:21 +0000 (-0400) Subject: flipped sense of test run flag. X-Git-Tag: 2.140.90~927 X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=commitdiff_plain;h=ab14c2f4301aa8b545086045ecc8a53cf66109de flipped sense of test run flag. --- diff --git a/production/feisty_meow_config.ini b/production/feisty_meow_config.ini index 9cce39d6..aaf1e575 100755 --- a/production/feisty_meow_config.ini +++ b/production/feisty_meow_config.ini @@ -24,8 +24,8 @@ DEBUG=t # considered errors. #STRICT_WARNINGS=t -# enable this if you want to disable the RUN_TARGETS for test execution. -NO_TEST_RUNS=t +# comment this out if you do not want to activate RUN_TARGETS for tests. +#RUN_ALL_TESTS=t # if this is enabled, then the source dependencies are only generated if # they're missing or if this file has changed. non-lax dependencies get diff --git a/scripts/clam/target_runner.sh b/scripts/clam/target_runner.sh index 67f96cb8..2678630d 100755 --- a/scripts/clam/target_runner.sh +++ b/scripts/clam/target_runner.sh @@ -16,9 +16,9 @@ #echo -e "\tDIRTY_FILE=${DIRTY_FILE}" #echo -e "\tSUBMAKE_FLAG=${SUBMAKE_FLAG}" #echo -e "\tFAILURE_FILE=${FAILURE_FILE}" -#echo -e "\tNO_TEST_RUNS=${NO_TEST_RUNS}" +#echo -e "\tRUN_ALL_TESTS=${RUN_ALL_TESTS}" -if [ ! -z "${RUN_TARGETS}" -a -z "${NO_TEST_RUNS}" ]; then +if [ ! -z "${RUN_TARGETS}" -a ! -z "${RUN_ALL_TESTS}" ]; then if [ -f "${DIRTY_FILE}" -o -f "${SUBMAKE_FLAG}" ]; then total_exitval=0; for program_name in ${RUN_TARGETS}; do diff --git a/scripts/clam/variables.def b/scripts/clam/variables.def index 3a214258..6bf3d2ca 100644 --- a/scripts/clam/variables.def +++ b/scripts/clam/variables.def @@ -155,8 +155,8 @@ ACTUAL_LAST_TARGETS = $(LAST_TARGETS) # "RUN_TARGETS" is a list of programs that should be executed as part of a make. export RUN_TARGETS -# "NO_TEST_RUNS" turns off execution of the RUN_TARGETS. -export NO_TEST_RUNS +# "RUN_ALL_TESTS" turns on execution of the RUN_TARGETS. +export RUN_ALL_TESTS # "MAKEFILE_NAME" works with BUILD_BEFORE and BUILD_AFTER. This allows # the name of the makefile in the subdirectory to be changed to something other