Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
21 deletions
+13
-21
doc/install.html
doc/install.html
+1
-2
src/run.bash
src/run.bash
+12
-19
No files found.
doc/install.html
View file @
b9f94768
...
...
@@ -153,8 +153,7 @@ If all goes well, it will finish by printing output like:
</p>
<pre>
--- cd ../test
N known bugs; 0 unexpected bugs
ALL TESTS PASSED
---
Installed Go for linux/amd64 in /home/you/go.
...
...
src/run.bash
View file @
b9f94768
...
...
@@ -30,26 +30,17 @@ xcd() {
builtin cd
"
$GOROOT
"
/src/
$1
}
maketest
()
{
for
i
do
(
xcd
$i
if
$rebuild
;
then
gomake clean
time
gomake
gomake
install
fi
gomake
test
)
||
exit
$?
done
}
maketest
\
pkg
\
if
$rebuild
;
then
(
xcd pkg
gomake clean
time
gomake
gomake
install
)
||
exit
$i
fi
# all of these are subtly different
# from what maketest does.
(
xcd pkg
gomake
test
)
||
exit
$?
(
xcd pkg/sync
;
if
$rebuild
;
then
...
...
@@ -126,3 +117,5 @@ done
./run
)
||
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