aboutsummaryrefslogtreecommitdiff
path: root/compiler_wrapper/testdata/cros_nonhardened_golden
diff options
context:
space:
mode:
authorJian Cai <jiancai@google.com>2020-01-16 16:12:34 -0800
committerJian Cai <jiancai@google.com>2020-01-22 18:53:56 +0000
commitc2dec89d0d9758bcbb2457a04f4bf49d5bf4731c (patch)
tree8b1021df8ed9ca792568c45eea5ad0cfcf2b92ab /compiler_wrapper/testdata/cros_nonhardened_golden
parentbe0b3faefdbd5681ce49906246c30e117881a1ab (diff)
downloadtoolchain-utils-c2dec89d0d9758bcbb2457a04f4bf49d5bf4731c.tar.gz
compiler_wrapper: add python search path
Exporting BISECT_STAGE to POPULATE_GOOD currently makes the wrapper fail to build any files with the error message of "ModuleNotFoundError: No module named 'bisect_driver'". This patch fixes the issue by adding search path for bisect_driver.py explicitly. BUG=chromium:1042452 TEST=verified locally. Change-Id: I7c73459b377d9011c7087a9e241db378ffb216e8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2003947 Tested-by: Jian Cai <jiancai@google.com> Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Reviewed-by: George Burgess <gbiv@chromium.org>
Diffstat (limited to 'compiler_wrapper/testdata/cros_nonhardened_golden')
-rw-r--r--compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json9
1 files changed, 6 insertions, 3 deletions
diff --git a/compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json b/compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json
index b97c379d..7d2acdac 100644
--- a/compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json
+++ b/compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json
@@ -46,7 +46,8 @@
"CCACHE_BASEDIR=/usr/x86_64-cros-linux-gnu",
"CCACHE_DIR=/var/cache/distfiles/ccache",
"CCACHE_UMASK=002",
- "CCACHE_CPP2=yes"
+ "CCACHE_CPP2=yes",
+ "PYTHONPATH=/media/storage/jiancai/chromeos/src/third_party/toolchain-utils/compiler_wrapper"
]
}
}
@@ -100,7 +101,8 @@
"CCACHE_BASEDIR=/usr/x86_64-cros-linux-gnu",
"CCACHE_DIR=/var/cache/distfiles/ccache",
"CCACHE_UMASK=002",
- "CCACHE_CPP2=yes"
+ "CCACHE_CPP2=yes",
+ "PYTHONPATH=/media/storage/jiancai/chromeos/src/third_party/toolchain-utils/compiler_wrapper"
]
}
}
@@ -157,7 +159,8 @@
"CCACHE_BASEDIR=/usr/x86_64-cros-linux-gnu",
"CCACHE_DIR=/var/cache/distfiles/ccache",
"CCACHE_UMASK=002",
- "CCACHE_CPP2=yes"
+ "CCACHE_CPP2=yes",
+ "PYTHONPATH=/media/storage/jiancai/chromeos/src/third_party/toolchain-utils/compiler_wrapper"
]
},
"stdout": "somemessage",