summaryrefslogtreecommitdiff
path: root/src/all.bash
blob: b9202e1118615aec0ce0a9c71189a155a4b6e83a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/bash
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

set -e
bash make.bash

xcd() {
	builtin cd $1
	echo --- cd $1
}

(xcd ../usr/gri/gosrc
make clean
time make
make test
)

(xcd ../usr/gri/pretty
make clean
time make
make test
)

(xcd ../usr/r/rpc
make clean
time make
chanrun
)

(xcd ../usr/r/refl
rm -f *.6 6.out
6g refl.go
6g printf.go
6g main.go
6l main.6
6.out
)

(xcd ../test
./run
)