1
0
mirror of https://github.com/golang/go synced 2024-11-12 01:10:21 -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:
Sergey 'SnakE' Gromov 2009-11-30 15:07:57 -08:00 committed by Russ Cox
parent 5fcb0087df
commit 842d69b03d

View File

@ -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