Add TOP to run_cuj so it runs from the correct dir
Test: locally run build/soong/cuj/run_cuj.sh Change-Id: I89cdc91cc48349fa62840d24baf9b3818284f090
This commit is contained in:
@@ -138,6 +138,8 @@ func main() {
|
||||
|
||||
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.
|
||||
os.Setenv("OUT_DIR", filepath.Join(cujDir, "out"))
|
||||
|
||||
|
Reference in New Issue
Block a user