From: Fred T. Hamster Date: Mon, 28 Sep 2026 06:37:28 +0000 (-0400) Subject: added timing of target application runs X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=131c55b3bf371660e7c6d721b9ea2652334c538e;p=feisty_meow.git added timing of target application runs perhaps temporary solution using /bin/time to run the RUN_TARGETS from clam makefiles. the result of this is that timing info for each app or test is shown. useful information right now, but maybe will cause issues (hard-coded path to time) in future. --- diff --git a/scripts/buildor/upgrade_hoople_to_feistymeow.sh b/scripts/buildor/upgrade_hoople_to_feistymeow.sh index 886f1a6c..fd056be0 100644 --- a/scripts/buildor/upgrade_hoople_to_feistymeow.sh +++ b/scripts/buildor/upgrade_hoople_to_feistymeow.sh @@ -131,7 +131,7 @@ standards and usages." | sed -e 's/class unique_int;/#include /g' \ | sed -e 's/class tcpip_stack;/#include /g' \ | sed -e 's/class safe_roller;/#include /g' \ - | sed -e 's/class blowfish_crypto;/#include /g' \ + | sed -e 's/class blowfish_crypto;/#include /g' \ | sed -e 's/class RSA_crypto;/#include /g' \ | sed -e 's/class entity_data_bin;/#include /g' \ | sed -e 's/class infoton;/#include /g' \ diff --git a/scripts/clam/target_runner.sh b/scripts/clam/target_runner.sh index 399f3fa3..9135fcb6 100644 --- a/scripts/clam/target_runner.sh +++ b/scripts/clam/target_runner.sh @@ -27,7 +27,7 @@ function run_the_targets() if [ ! -z "${RUN_TARGETS}" -a ! -z "${RUN_ALL_TESTS}" ]; then if [ -f "${DIRTY_FILE}" -o -f "${SUBMAKE_FLAG}" ]; then for program_name in ${RUN_TARGETS}; do -echo "about to run target: $program_name" + echo "+++ running target: $program_name" local base=$(basename $program_name) if [ "$OPERATING_SYSTEM" == "WIN32" ]; then # extra step to force win32 applications to stay held in our grip, @@ -39,9 +39,11 @@ echo "about to run target: $program_name" # which is the app being run. exitval=${PIPESTATUS[0]} else - "$program_name" +#temp hack to do timing when running an app. + /bin/time "$program_name" exitval=$? fi + echo "--- target complete: $program_name" if [ $exitval -ne 0 ]; then echo "ERROR: $program_name exits with $exitval at $(date)" total_exitval=$(($total_exitval + 1))