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
642c7740
Commit
642c7740
authored
Feb 09, 2011
by
Alex Brainman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src/run.bash: get rid of long windows expression
R=rsc CC=golang-dev
https://golang.org/cl/4138041
parent
1c315893
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
21 deletions
+15
-21
src/env.bash
src/env.bash
+1
-1
src/run.bash
src/run.bash
+14
-20
No files found.
src/env.bash
View file @
642c7740
...
...
@@ -38,7 +38,7 @@ fi
# Tried to use . <($MAKE ...) here, but it cannot set environment
# variables in the version of bash that ships with OS X. Amazing.
eval
$(
$MAKE
--no-print-directory
-f
Make.inc go-env | egrep
'GOARCH|GOOS|GO_ENV'
)
eval
$(
$MAKE
--no-print-directory
-f
Make.inc go-env | egrep
'GOARCH|GOOS|GO
HOSTARCH|GOHOSTOS|GO
_ENV'
)
# Shell doesn't tell us whether make succeeded,
# so Make.inc generates a fake variable name.
...
...
src/run.bash
View file @
642c7740
...
...
@@ -77,19 +77,17 @@ time gomake test
)
||
exit
$?
[
"
$GOARCH
"
==
arm
]
||
[
"
$GOHOSTOS
"
==
windows
]
||
(
xcd ../misc/cgo/stdio
if
[[
$(
uname
|
tr
A-Z a-z |
sed
's/mingw/windows/'
)
!=
*
windows
*
]]
;
then
gomake clean
./test.bash
fi
gomake clean
./test.bash
)
||
exit
$?
[
"
$GOARCH
"
==
arm
]
||
[
"
$GOHOSTOS
"
==
windows
]
||
(
xcd ../misc/cgo/life
if
[[
$(
uname
|
tr
A-Z a-z |
sed
's/mingw/windows/'
)
!=
*
windows
*
]]
;
then
gomake clean
./test.bash
fi
gomake clean
./test.bash
)
||
exit
$?
(
xcd pkg/exp/ogle
...
...
@@ -97,16 +95,14 @@ gomake clean
time
gomake ogle
)
||
exit
$?
[
"
$GOHOSTOS
"
==
windows
]
||
(
xcd ../doc/progs
if
[[
$(
uname
|
tr
A-Z a-z |
sed
's/mingw/windows/'
)
!=
*
windows
*
]]
;
then
time
./run
fi
time
./run
)
||
exit
$?
[
"
$GOHOSTOS
"
==
windows
]
||
(
xcd ../doc/codelab/wiki
if
[[
$(
uname
|
tr
A-Z a-z |
sed
's/mingw/windows/'
)
!=
*
windows
*
]]
;
then
gomake
test
fi
gomake
test
)
||
exit
$?
for
i
in
../misc/dashboard/builder ../misc/goplay
...
...
@@ -118,15 +114,13 @@ do
done
[
"
$GOARCH
"
==
arm
]
||
[
"
$GOHOSTOS
"
==
windows
]
||
(
xcd ../test/bench
if
[[
$(
uname
|
tr
A-Z a-z |
sed
's/mingw/windows/'
)
!=
*
windows
*
]]
;
then
./timing.sh
-test
fi
./timing.sh
-test
)
||
exit
$?
[
"
$GOHOSTOS
"
==
windows
]
||
(
xcd ../test
if
[[
$(
uname
|
tr
A-Z a-z |
sed
's/mingw/windows/'
)
!=
*
windows
*
]]
;
then
./run
fi
./run
)
||
exit
$?
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