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
749da968
Commit
749da968
authored
Dec 01, 2009
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make test.sh work again
R=rsc
https://golang.org/cl/164059
parent
20cacd64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
src/cmd/gofmt/test.sh
src/cmd/gofmt/test.sh
+6
-5
No files found.
src/cmd/gofmt/test.sh
View file @
749da968
#!/
usr/bin/env
bash
#!/
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.
...
...
@@ -129,15 +129,16 @@ runtest() {
runtests
()
{
if
[
$#
==
0
]
;
then
if
[
"
$@
"
=
""
]
;
then
runtest apply
# verify the pretty-printed files can be compiled with $GC again
# do it in local directory only because of the prerequisites required
#echo "Testing validity"
cleanup
applydot valid
# Disabled for now due to dependency problems
# cleanup
# applydot valid
else
for
F
in
"
$
*
"
;
do
for
F
in
"
$
@
"
;
do
runtest apply1
"
$F
"
done
fi
...
...
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