mirror of
https://github.com/golang/go
synced 2024-11-25 08:47:56 -07:00
Make tests run on systems missing time utility
R=rsc CC=golang-dev https://golang.org/cl/164047
This commit is contained in:
parent
5fcb0087df
commit
842d69b03d
2
test/run
2
test/run
@ -57,7 +57,7 @@ do
|
||||
export F=$(basename $i .go)
|
||||
export D=$dir
|
||||
sed '/^\/\//!q' $i | sed 's@//@@; $d' |sed 's|./\$A.out|$E &|' >$RUNFILE
|
||||
if ! time -p bash -c "bash $RUNFILE >$TMP1FILE 2>&1" 2>$TMP2FILE
|
||||
if ! { time -p bash -c "bash $RUNFILE >$TMP1FILE 2>&1" ; } 2>$TMP2FILE
|
||||
then
|
||||
echo
|
||||
echo "===========" $i
|
||||
|
Loading…
Reference in New Issue
Block a user