-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/go: convert TestBuildDryRunWithCgo to the script framework
Part of converting all tests to script framework to improve test parallelism. Updates golang#36320 Updates golang#17751 Change-Id: I2d14c07c590cc618c66f27fdc3a2bb8120c6d646 Reviewed-on: https://go-review.googlesource.com/c/go/+/214427 Reviewed-by: Jay Conrod <[email protected]>
- Loading branch information
Showing
2 changed files
with
18 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Tests golang.org/issue/14944 | ||
|
||
[!cgo] skip | ||
|
||
go build -n foo.go | ||
! stderr 'os.Stat .* no such file or directory' # there shouldn't be a stat of the archive file | ||
|
||
-- foo.go -- | ||
package main | ||
|
||
/* | ||
#include <limits.h> | ||
*/ | ||
import "C" | ||
|
||
func main() { | ||
println(C.INT_MAX) | ||
} |