Changes

Jump to: navigation, search

Mozilla BuildBot Trending/Patches

396 bytes added, 12:22, 11 February 2009
Second attempt at timestamps
<pre>
diff -r 8feaa59e2c54 config/rules.mk
--- a/config/rules.mk Wed Feb 11 14:51:06 2009 +0100+++ b/config/rules.mk Wed Feb 11 11:1222:18 27 2009 -0500
@@ -210,6 +210,7 @@
check::
@$(EXIT_ON_ERROR) \ for f in $(subst .cpp,,$(CPP_UNIT_TESTS)); do \+ echo -n "`date $GNUDATE_TIME_FORMAT` | " XPCOM_DEBUG_BREAK=stack-and-abort $(RUN_TEST_PROGRAM) $(DIST)/bin/$$f; \ done
diff -r 8feaa59e2c54 js/src/config/autoconf.mk.in
--- a/js/src/config/autoconf.mk.in Wed Feb 11 14:51:06 2009 +0100
+++ b/js/src/config/autoconf.mk.in Wed Feb 11 11:22:27 2009 -0500
@@ -358,3 +358,4 @@
ENABLE_JIT = @ENABLE_JIT@
NANOJIT_ARCH = @NANOJIT_ARCH@
HAVE_ARM_SIMD= @HAVE_ARM_SIMD@
+
diff -r 8feaa59e2c54 js/src/config/rules.mk
--- a/js/src/config/rules.mk Wed Feb 11 14:51:06 2009 +0100+++ b/js/src/config/rules.mk Wed Feb 11 11:1222:18 27 2009 -0500
@@ -210,6 +210,7 @@
check::
@$(EXIT_ON_ERROR) \ for f in $(subst .cpp,,$(CPP_UNIT_TESTS)); do \+ echo -n "`date $GNUDATE_TIME_FORMAT` | " XPCOM_DEBUG_BREAK=stack-and-abort $(RUN_TEST_PROGRAM) $(DIST)/bin/$$f; \ done
diff -r 8feaa59e2c54 testing/xpcshell/test_all.sh
--- a/testing/xpcshell/test_all.sh Wed Feb 11 14:51:06 2009 +0100+++ b/testing/xpcshell/test_all.sh Wed Feb 11 11:1222:18 27 2009 -0500
@@ -77,6 +77,12 @@
testdir=.
+# make sure you are either setting a test directory.
+timefmt="$5"
+if ["x$timefmt" = "x"]; then
+ timefmt=$GNUDATE_TIME_FORMAT
+fi
do
if [ -f $h ]; then
+ echo -n "`date +$timefmt` | "; headfiles="$headfiles -f $h"
fi
done
do
if [ -f $t ]; then
+ echo -n "`date $timefmt` | "; tailfiles="$tailfiles -f $t"
fi
done
for t in $testdir/test_*.js
do
+ echo -n "`date +$timefmt` | "
NATIVE_TOPSRCDIR="$native_topsrcdir" TOPSRCDIR="$topsrcdir" $xpcshell -j -s $headfiles -f $t $tailfiles 2> $t.log 1>&2
rv="$?"
if [ ! "$rv" = "0" -o \
</pre>
 
 
==First attempt at timestamps==
1
edit

Navigation menu