diff options
Diffstat (limited to 'compiler_wrapper/sysroot_flag_test.go')
-rw-r--r-- | compiler_wrapper/sysroot_flag_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler_wrapper/sysroot_flag_test.go b/compiler_wrapper/sysroot_flag_test.go index b05a627e..308d5e96 100644 --- a/compiler_wrapper/sysroot_flag_test.go +++ b/compiler_wrapper/sysroot_flag_test.go @@ -57,7 +57,7 @@ func TestClearEmptySysrootFlagInEnv(t *testing.T) { func TestSetSysrootRelativeToWrapperPath(t *testing.T) { withTestContext(t, func(ctx *testContext) { - ctx.cfg.gccRootRelPath = "somepath" + ctx.cfg.rootRelPath = "somepath" cmd := ctx.must(callCompiler(ctx, ctx.cfg, ctx.newCommand(gccX86_64, mainCc))) if err := verifyArgOrder(cmd, @@ -69,7 +69,7 @@ func TestSetSysrootRelativeToWrapperPath(t *testing.T) { func TestSetSysrootRelativeToSymlinkedWrapperPath(t *testing.T) { withTestContext(t, func(ctx *testContext) { - ctx.cfg.gccRootRelPath = "somepath" + ctx.cfg.rootRelPath = "somepath" linkedWrapperPath := path.Join(ctx.tempDir, "a/linked/path/x86_64-cros-linux-gnu-gcc") ctx.symlink(path.Join(ctx.tempDir, gccX86_64), linkedWrapperPath) |