diff libgo/misc/cgo/testsanitizers/cc_test.go @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
line wrap: on
line diff
--- a/libgo/misc/cgo/testsanitizers/cc_test.go	Thu Oct 25 07:37:49 2018 +0900
+++ b/libgo/misc/cgo/testsanitizers/cc_test.go	Thu Feb 13 11:34:05 2020 +0900
@@ -374,7 +374,7 @@
 	}
 
 	// libcgo.h sets CGO_TSAN if it detects TSAN support in the C compiler.
-	// Dump the preprocessor defines to check that that works.
+	// Dump the preprocessor defines to check that works.
 	// (Sometimes it doesn't: see https://golang.org/issue/15983.)
 	cmd, err := cc(c.cFlags...)
 	if err != nil {
@@ -394,7 +394,7 @@
 
 // srcPath returns the path to the given file relative to this test's source tree.
 func srcPath(path string) string {
-	return filepath.Join("src", path)
+	return filepath.Join("testdata", path)
 }
 
 // A tempDir manages a temporary directory within a test.