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:
...
@@ -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
gomake clean
(
time
gomake
xcd
$i
gomake
install
if
$rebuild
;
then
)
||
exit
$i
gomake clean
fi
time
gomake
gomake
install
fi
gomake
test
)
||
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