aboutsummaryrefslogtreecommitdiff
path: root/compiler_wrapper/cros_nonhardened_config_test.go
diff options
context:
space:
mode:
authorTobias Bosch <tbosch@google.com>2019-10-28 14:26:51 -0700
committerTobias Bosch <tbosch@google.com>2019-11-01 00:05:45 +0000
commit8dd67e1063927b99ee18caa11ccee9abc1c0cbd1 (patch)
treec4a14c61db6294de2b58ab1b7b09d28c656fc047 /compiler_wrapper/cros_nonhardened_config_test.go
parentb922860193acc4c2f5c9ae28e29f0f33deffcd1b (diff)
downloadtoolchain-utils-8dd67e1063927b99ee18caa11ccee9abc1c0cbd1.tar.gz
toolchain_utils: Remove comparison to old wrapper from compiler_wrapper.
BUG=chromium:773875 TEST='go test' passes Change-Id: Iecbe15067bf37fd86fbb8a907d42df32288821d6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/1884701 Reviewed-by: George Burgess <gbiv@chromium.org> Tested-by: Tobias Bosch <tbosch@google.com>
Diffstat (limited to 'compiler_wrapper/cros_nonhardened_config_test.go')
-rw-r--r--compiler_wrapper/cros_nonhardened_config_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler_wrapper/cros_nonhardened_config_test.go b/compiler_wrapper/cros_nonhardened_config_test.go
index bf8af4d2..4883c5f9 100644
--- a/compiler_wrapper/cros_nonhardened_config_test.go
+++ b/compiler_wrapper/cros_nonhardened_config_test.go
@@ -8,14 +8,13 @@ import (
"testing"
)
-const oldNonHardenedWrapperPathForTest = "$CHROOT/usr/x86_64-pc-linux-gnu/arm-none-eabi/gcc-bin/4.9.x/sysroot_wrapper"
const crosNonHardenedGoldenDir = "testdata/cros_nonhardened_golden"
func TestCrosNonHardenedConfig(t *testing.T) {
withTestContext(t, func(ctx *testContext) {
useLlvmNext := false
useCCache := true
- cfg, err := getConfig("cros.nonhardened", useCCache, useLlvmNext, oldNonHardenedWrapperPathForTest, "123")
+ cfg, err := getConfig("cros.nonhardened", useCCache, useLlvmNext, "123")
if err != nil {
t.Fatal(err)
}