]> feistymeow.org Git - feisty_meow.git/commitdiff
added timing of target application runs
authorFred T. Hamster <fred@feistymeow.org>
Mon, 28 Sep 2026 06:37:28 +0000 (02:37 -0400)
committerFred T. Hamster <fred@feistymeow.org>
Mon, 28 Sep 2026 06:37:28 +0000 (02:37 -0400)
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.

scripts/buildor/upgrade_hoople_to_feistymeow.sh
scripts/clam/target_runner.sh

index 886f1a6ca2a090e2d2c7407cffb6b25d5209b8fc..fd056be0e6a5aa7f9bbc328b899cdb8829f95221 100644 (file)
@@ -131,7 +131,7 @@ standards and usages."
     | sed -e 's/class unique_int;/#include <structures\/unique_id.h>/g' \
     | sed -e 's/class tcpip_stack;/#include <sockets\/tcpip_stack.h>/g' \
     | sed -e 's/class safe_roller;/#include <processes\/safe_roller.h>/g' \
-    | sed -e 's/class blowfish_crypto;/#include <crypto\/blowfish_crypto.h>/g' \
+    | sed -e 's/class blowfish_crypto;/#include <crypto\/borked_blowfish_crypto.h>/g' \
     | sed -e 's/class RSA_crypto;/#include <crypto\/RSA_crypto.h>/g' \
     | sed -e 's/class entity_data_bin;/#include <octopus\/entity_data_bin.h>/g' \
     | sed -e 's/class infoton;/#include <octopus\/infoton.h>/g' \
index 399f3fa3ec018f9ea462eda7e0d214dee239d19d..9135fcb628c6be4df9b22a7a9a6aab10d2c24a09 100644 (file)
@@ -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))