Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
b9f94768
Commit
b9f94768
authored
Feb 14, 2011
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: run test/ directory first
R=adg, r CC=golang-dev
https://golang.org/cl/4183047
parent
6b526eb3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
18 deletions
+10
-18
install.html
doc/install.html
+1
-2
run.bash
src/run.bash
+9
-16
No files found.
doc/install.html
View file @
b9f94768
...
@@ -153,8 +153,7 @@ If all goes well, it will finish by printing output like:
...
@@ -153,8 +153,7 @@ If all goes well, it will finish by printing output like:
</p>
</p>
<pre>
<pre>
--- cd ../test
ALL TESTS PASSED
N known bugs; 0 unexpected bugs
---
---
Installed Go for linux/amd64 in /home/you/go.
Installed Go for linux/amd64 in /home/you/go.
...
...
src/run.bash
View file @
b9f94768
...
@@ -30,26 +30,17 @@ xcd() {
...
@@ -30,26 +30,17 @@ xcd() {
builtin cd
"
$GOROOT
"
/src/
$1
builtin cd
"
$GOROOT
"
/src/
$1
}
}
maketest
()
{
if
$rebuild
;
then
for
i
(
xcd pkg
do
(
xcd
$i
if
$rebuild
;
then
gomake clean
gomake clean
time
gomake
time
gomake
gomake
install
gomake
install
fi
)
||
exit
$i
gomake
test
fi
)
||
exit
$?
done
}
maketest
\
pkg
\
# all of these are subtly different
(
xcd pkg
# from what maketest does.
gomake
test
)
||
exit
$?
(
xcd pkg/sync
;
(
xcd pkg/sync
;
if
$rebuild
;
then
if
$rebuild
;
then
...
@@ -126,3 +117,5 @@ done
...
@@ -126,3 +117,5 @@ done
./run
./run
)
||
exit
$?
)
||
exit
$?
echo
echo
ALL TESTS PASSED
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment