Files
java-competitive/dcj/tool/src/parunner/google_init_test.go
2019-03-15 13:47:54 +04:00

18 lines
347 B
Go

// This file contains google3-specific code to make the third party tests work
// with blaze.
package main
import (
"fmt"
"os"
"path/filepath"
)
func init() {
dir := filepath.Join(os.Getenv("TEST_SRCDIR"), "google3/third_party/golang/parunner")
if err := os.Chdir(dir); err != nil {
panic(fmt.Sprintf("os.Chdir(%q): %v", dir, err))
}
}