Merge "Add TOP to run_cuj so it runs from the correct dir" am: 5b780b1ae2

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1823958

Change-Id: If3ebe292402549051c920b8fb1e3a8a19bea2477
This commit is contained in:
Liz Kammer
2021-09-22 14:12:33 +00:00
committed by Automerger Merge Worker

View File

@@ -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"))