Update of /cvsroot/linux-vax/toolchain/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23596
Modified Files:
run_test_build.sh build_toolchain.sh
Log Message:
- Also echo the commands (sans timestamp, path and number of tries).
- Nemo should only show the commands. I don't have any interests in
tracking down compile-time regressions.
Index: run_test_build.sh
===================================================================
RCS file: /cvsroot/linux-vax/toolchain/scripts/run_test_build.sh,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- run_test_build.sh 5 Jan 2006 19:40:21 -0000 1.19
+++ run_test_build.sh 6 Jan 2006 10:27:51 -0000 1.20
@@ -142,7 +142,7 @@
echo
echo "We managed to build these parts:"
echo
- grep '^#-St' "${BUILD_DIRECTORY}/build.log"
+ grep '^#-Cmd' "${BUILD_DIRECTORY}/build.log"
echo
echo "...and this are the 100 last lines of the build.log:"
echo
Index: build_toolchain.sh
===================================================================
RCS file: /cvsroot/linux-vax/toolchain/scripts/build_toolchain.sh,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- build_toolchain.sh 5 Jan 2006 20:40:46 -0000 1.58
+++ build_toolchain.sh 6 Jan 2006 10:27:51 -0000 1.59
@@ -318,6 +318,8 @@
# If you want to grep for the commands executed (and the timestamps of
# execution), grep for '^#-St'.
#
+# To only get the commands, grep for '^#-Cmd'.
+#
function execute() {
local RETVAL
local RESTART_LOOP
@@ -332,6 +334,7 @@
while [ "${RESTART_LOOP}" -le "${RESTART_MAX}" ]; do
echo "#-Start at `current_utc_time` in `pwd` (run ${RESTART_LOOP}/${RESTART_MAX}): $*"
+ echo "#-Cmd: $*"
set +e
"$@"
RETVAL=$?
|