Skip to content

Commit

Permalink
build: convert run.bash, run.bat, and run.rc into a Go program
Browse files Browse the repository at this point in the history
This will enable test sharding over multiple VMs, to speed trybot answers.

Update golang#10029

Change-Id: Ie277c6459bc38005e4d6af14d22effeaa0a4667e
Reviewed-on: https://go-review.googlesource.com/6531
Reviewed-by: Russ Cox <[email protected]>
Reviewed-by: Alex Brainman <[email protected]>
  • Loading branch information
bradfitz committed Mar 3, 2015
1 parent 4f6630d commit d5f6906
Show file tree
Hide file tree
Showing 8 changed files with 598 additions and 392 deletions.
2 changes: 2 additions & 0 deletions misc/cgo/errors/test.bash
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

# Copyright 2013 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.
Expand Down
2 changes: 2 additions & 0 deletions misc/cgo/testgodefs/test.bash
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

# Copyright 2014 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.
Expand Down
2 changes: 1 addition & 1 deletion misc/cgo/testso/test.bat
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ main.exe
goto :end

:fail
set FAIL=1
:: echo FAIL
:end
del /F cgoso_c.o libcgosotest.dll main.exe 2>NUL
1 change: 1 addition & 0 deletions src/cmd/dist/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ var cmdtab = []struct {
{"clean", cmdclean},
{"env", cmdenv},
{"install", cmdinstall},
{"test", cmdtest},
{"version", cmdversion},
}

Expand Down
Loading

0 comments on commit d5f6906

Please sign in to comment.