-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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 TestGoTestImportErrorStack to the script framework
The literal string match had to be turned into a regexp, otherwise pretty straightforward. Part of converting all tests to script framework to improve test parallelism. Updates #36320 Updates #17751 Change-Id: I46f62312f02dc9adf83ed91c6f807420d29fbb12 Reviewed-on: https://go-review.googlesource.com/c/go/+/212939 Run-TryBot: Michael Matloob <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Jay Conrod <[email protected]>
- Loading branch information
Showing
6 changed files
with
17 additions
and
24 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,17 @@ | ||
! go test testdep/p1 | ||
stderr 'package testdep/p1 \(test\)\n\timports testdep/p2\n\timports testdep/p3: build constraints exclude all Go files ' # check for full import stack | ||
|
||
-- testdep/p1/p1.go -- | ||
package p1 | ||
-- testdep/p1/p1_test.go -- | ||
package p1 | ||
|
||
import _ "testdep/p2" | ||
-- testdep/p2/p2.go -- | ||
package p2 | ||
|
||
import _ "testdep/p3" | ||
-- testdep/p3/p3.go -- | ||
// +build ignore | ||
|
||
package ignored |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.