diff options
Diffstat (limited to 'compiler_wrapper/testdata/cros_clang_host_golden/clang_path.json')
-rw-r--r-- | compiler_wrapper/testdata/cros_clang_host_golden/clang_path.json | 37 |
1 files changed, 35 insertions, 2 deletions
diff --git a/compiler_wrapper/testdata/cros_clang_host_golden/clang_path.json b/compiler_wrapper/testdata/cros_clang_host_golden/clang_path.json index f78549a8..e72d54c6 100644 --- a/compiler_wrapper/testdata/cros_clang_host_golden/clang_path.json +++ b/compiler_wrapper/testdata/cros_clang_host_golden/clang_path.json @@ -289,7 +289,7 @@ "wd": "/tmp/stable", "wrapper": { "cmd": { - "path": "a/b/c/d/e/f/g/x86_64-cros-linux-gnu-clang", + "path": "./a/b/c/d/e/f/g/x86_64-cros-linux-gnu-clang", "args": [ "main.cc" ] @@ -318,7 +318,7 @@ "wd": "/tmp/stable", "wrapper": { "cmd": { - "path": "symlinked/x86_64-cros-linux-gnu-clang", + "path": "./symlinked/x86_64-cros-linux-gnu-clang", "args": [ "main.cc" ] @@ -342,5 +342,38 @@ } } ] + }, + { + "wd": "/tmp/stable", + "env": [ + "PATH=/tmp/stable/pathenv" + ], + "wrapper": { + "cmd": { + "path": "x86_64-cros-linux-gnu-clang", + "args": [ + "main.cc" + ] + } + }, + "cmds": [ + { + "cmd": { + "path": "/tmp/stable/pathenv/clang", + "args": [ + "-Qunused-arguments", + "-grecord-gcc-switches", + "-fno-addrsig", + "-Wno-unused-local-typedefs", + "-Wno-deprecated-declarations", + "-Wno-implicit-int-float-conversion", + "-Wno-tautological-constant-compare", + "-Wno-tautological-unsigned-enum-zero-compare", + "-Wno-unknown-warning-option", + "main.cc" + ] + } + } + ] } ] |