Commit 842d69b0 authored by Sergey 'SnakE' Gromov's avatar Sergey 'SnakE' Gromov Committed by Russ Cox

Make tests run on systems missing time utility

R=rsc
CC=golang-dev
https://golang.org/cl/164047
parent 5fcb0087
...@@ -57,7 +57,7 @@ do ...@@ -57,7 +57,7 @@ do
export F=$(basename $i .go) export F=$(basename $i .go)
export D=$dir export D=$dir
sed '/^\/\//!q' $i | sed 's@//@@; $d' |sed 's|./\$A.out|$E &|' >$RUNFILE 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 then
echo echo
echo "===========" $i echo "===========" $i
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment