test suite, added example script using shunit.
export PATH="$FEISTY_MEOW_GENERATED:$PATH:/sbin:."
###noise! :/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/lib:/usr/games:/usr/bin:.
+ ##############
+
+ # set the SHUNIT_DIR so our shunit tests can find the codebase.
+ export SHUNIT_DIR="$FEIST_MEOW_SCRIPTS/shunit"
+
##############
if [ ! -z "$SHELL_DEBUG" ]; then echo variables initialization ends....; fi
export WORKDIR="$( \cd "$(\dirname "$0")" && \pwd )" # obtain the script's working directory.
cd $WORKDIR
-SHUNIT_DIR=/home/fred/xsede/xsede_tests/shunit
+# this variable needs to be set somewhere. feisty meow scripts will set it.
+#SHUNIT_DIR=/home/fred/shunit
oneTimeSetUp()
{
_shunit_msg_="${_shunit_msg_})"
fi
+ echo "Suite ran for $(($suite_end - $suite_start)) seconds."
echo
echo "$(date): ${_shunit_msg_}"
__shunit_reportGenerated=${SHUNIT_TRUE}
. "`_shunit_prepForSourcing \"${__shunit_script}\"`"
fi
+# record when the tests started running.
+suite_start=$(date +%s)
+
# execute the oneTimeSetUp function (if it exists)
oneTimeSetUp
# execute the oneTimeTearDown function (if it exists)
oneTimeTearDown
+suite_end=$(date +%s)
+
# generate the report
_shunit_generateReport