Merge "Add TOP to run_cuj so it runs from the correct dir"
This commit is contained in:
@@ -138,6 +138,8 @@ func main() {
|
|||||||
|
|
||||||
cujDir := filepath.Join(outDir, "cuj_tests")
|
cujDir := filepath.Join(outDir, "cuj_tests")
|
||||||
|
|
||||||
|
wd, _ := os.Getwd()
|
||||||
|
os.Setenv("TOP", wd)
|
||||||
// Use a subdirectory for the out directory for the tests to keep them isolated.
|
// Use a subdirectory for the out directory for the tests to keep them isolated.
|
||||||
os.Setenv("OUT_DIR", filepath.Join(cujDir, "out"))
|
os.Setenv("OUT_DIR", filepath.Join(cujDir, "out"))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user