Commit ead9f8be authored by Russ Cox's avatar Russ Cox

new 64-bit math test.

allow multiline recipes in run.

R=r
DELTA=712  (708 added, 2 deleted, 2 changed)
OCL=29641
CL=29666
parent 8cbb5d03
This diff is collapsed.
...@@ -7,9 +7,14 @@ case X"$GOARCH" in ...@@ -7,9 +7,14 @@ case X"$GOARCH" in
Xamd64) Xamd64)
export A=6 export A=6
;; ;;
X386)
export A=8
;;
Xarm)
export A=5
;;
*) *)
export A=6 echo 1>&2 run: unsupported '$GOARCH'
echo 1>&2 run: assuming amd64
exit 1 exit 1
esac esac
...@@ -36,7 +41,7 @@ do ...@@ -36,7 +41,7 @@ do
do do
export F=$(basename $i .go) export F=$(basename $i .go)
export D=$dir export D=$dir
sed -n '1,/[^/]/p' $i | sed 's@//@@; $d' > $RUNFILE sed '/^\/\//!q' $i | sed 's@//@@; $d' > $RUNFILE
if ! sh $RUNFILE >$TMP1FILE 2>$TMP2FILE if ! sh $RUNFILE >$TMP1FILE 2>$TMP2FILE
then then
echo echo
......
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