diff options
Diffstat (limited to 'compiler_wrapper/testdata/cros_gcc_host_golden/gcc_path.json')
-rw-r--r-- | compiler_wrapper/testdata/cros_gcc_host_golden/gcc_path.json | 35 |
1 files changed, 31 insertions, 4 deletions
diff --git a/compiler_wrapper/testdata/cros_gcc_host_golden/gcc_path.json b/compiler_wrapper/testdata/cros_gcc_host_golden/gcc_path.json index 2b6db77f..b846d47f 100644 --- a/compiler_wrapper/testdata/cros_gcc_host_golden/gcc_path.json +++ b/compiler_wrapper/testdata/cros_gcc_host_golden/gcc_path.json @@ -81,7 +81,7 @@ "wd": "/tmp/stable", "wrapper": { "cmd": { - "path": "a/b/c/d/e/f/g/x86_64-cros-linux-gnu-gcc", + "path": "./a/b/c/d/e/f/g/x86_64-cros-linux-gnu-gcc", "args": [ "main.cc" ] @@ -90,7 +90,7 @@ "cmds": [ { "cmd": { - "path": "a/b/c/d/e/f/g/x86_64-cros-linux-gnu-gcc.real", + "path": "./a/b/c/d/e/f/g/x86_64-cros-linux-gnu-gcc.real", "args": [ "-Wno-maybe-uninitialized", "-Wno-unused-local-typedefs", @@ -105,7 +105,7 @@ "wd": "/tmp/stable", "wrapper": { "cmd": { - "path": "symlinked/x86_64-cros-linux-gnu-gcc", + "path": "./symlinked/x86_64-cros-linux-gnu-gcc", "args": [ "main.cc" ] @@ -114,7 +114,34 @@ "cmds": [ { "cmd": { - "path": "symlinked/x86_64-cros-linux-gnu-gcc.real", + "path": "./symlinked/x86_64-cros-linux-gnu-gcc.real", + "args": [ + "-Wno-maybe-uninitialized", + "-Wno-unused-local-typedefs", + "-Wno-deprecated-declarations", + "main.cc" + ] + } + } + ] + }, + { + "wd": "/tmp/stable", + "env": [ + "PATH=/tmp/stable/pathenv" + ], + "wrapper": { + "cmd": { + "path": "x86_64-cros-linux-gnu-gcc", + "args": [ + "main.cc" + ] + } + }, + "cmds": [ + { + "cmd": { + "path": "/tmp/stable/pathenv/x86_64-cros-linux-gnu-gcc.real", "args": [ "-Wno-maybe-uninitialized", "-Wno-unused-local-typedefs", |