From ab14c2f4301aa8b545086045ecc8a53cf66109de Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Wed, 11 Sep 2013 09:48:21 -0400 Subject: [PATCH] flipped sense of test run flag. --- production/feisty_meow_config.ini | 4 ++-- scripts/clam/target_runner.sh | 4 ++-- scripts/clam/variables.def | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) 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 -- 2.34.1