You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
go test -c correctly avoids the rebuild if the test or its dependencies have not changed.
Unfortunately, it also incorrectly avoids the rebuild when the test has changed.
I ran
cd go/src/path/filepath
go test -c
add a test case to cleantests in path_test.go
go test -c
and the second go test -c did not rebuild the filepath.test in the directory.
The text was updated successfully, but these errors were encountered:
Actually I can't reproduce this anymore. Modifying comments correctly prevents the rebuild; modifying the test or xtest packages or the package itself does trigger a rebuild. I must have gotten confused trying different kinds of edits.
go test -c correctly avoids the rebuild if the test or its dependencies have not changed.
Unfortunately, it also incorrectly avoids the rebuild when the test has changed.
I ran
and the second go test -c did not rebuild the filepath.test in the directory.
The text was updated successfully, but these errors were encountered: