diff options
Diffstat (limited to 'compiler_wrapper/testdata/android_golden/clang_path.json')
-rw-r--r-- | compiler_wrapper/testdata/android_golden/clang_path.json | 192 |
1 files changed, 96 insertions, 96 deletions
diff --git a/compiler_wrapper/testdata/android_golden/clang_path.json b/compiler_wrapper/testdata/android_golden/clang_path.json index 5686b381..42d487b8 100644 --- a/compiler_wrapper/testdata/android_golden/clang_path.json +++ b/compiler_wrapper/testdata/android_golden/clang_path.json @@ -1,230 +1,230 @@ [ { + "cmds": [ + { + "cmd": { + "args": [ + "main.cc" + ], + "path": "/tmp/stable/clang.real" + } + } + ], "wd": "/tmp/stable", "wrapper": { "cmd": { - "path": "/tmp/stable/clang", "args": [ "main.cc" - ] + ], + "path": "/tmp/stable/clang" } - }, + } + }, + { "cmds": [ { "cmd": { - "path": "/tmp/stable/clang.real", "args": [ "main.cc" - ] - } + ], + "path": "/tmp/stable/clang.real" + }, + "exitcode": 1, + "stderr": "someerror", + "stdout": "somemessage" } - ] - }, - { + ], "wd": "/tmp/stable", "wrapper": { "cmd": { - "path": "/tmp/stable/clang", "args": [ "main.cc" - ] + ], + "path": "/tmp/stable/clang" }, - "stdout": "somemessage", + "exitcode": 1, "stderr": "someerror", - "exitcode": 1 - }, + "stdout": "somemessage" + } + }, + { "cmds": [ { "cmd": { - "path": "/tmp/stable/clang.real", "args": [ "main.cc" - ] - }, - "stdout": "somemessage", - "stderr": "someerror", - "exitcode": 1 + ], + "path": "/tmp/stable/clang.real" + } } - ] - }, - { - "wd": "/tmp/stable", + ], "env": [ "WITH_TIDY=1" ], + "wd": "/tmp/stable", "wrapper": { "cmd": { - "path": "/tmp/stable/clang", "args": [ "main.cc" - ] + ], + "path": "/tmp/stable/clang" } - }, + } + }, + { "cmds": [ { "cmd": { - "path": "/tmp/stable/clang.real", "args": [ "main.cc" - ] + ], + "path": "/tmp/stable/clang++.real" } } - ] - }, - { + ], "wd": "/tmp/stable", "wrapper": { "cmd": { - "path": "/tmp/stable/clang++", "args": [ "main.cc" - ] + ], + "path": "/tmp/stable/clang++" } - }, + } + }, + { "cmds": [ { "cmd": { - "path": "/tmp/stable/clang++.real", "args": [ "main.cc" - ] + ], + "path": "/tmp/stable/clang-tidy.real" } } - ] - }, - { + ], "wd": "/tmp/stable", "wrapper": { "cmd": { - "path": "/tmp/stable/clang-tidy", "args": [ "main.cc" - ] + ], + "path": "/tmp/stable/clang-tidy" } - }, + } + }, + { "cmds": [ { "cmd": { - "path": "/tmp/stable/clang-tidy.real", "args": [ "main.cc" - ] + ], + "path": "/tmp/stable/clang-tidy.real" } } - ] - }, - { - "wd": "/tmp/stable", + ], "env": [ "WITH_TIDY=1" ], + "wd": "/tmp/stable", "wrapper": { "cmd": { - "path": "/tmp/stable/clang-tidy", "args": [ "main.cc" - ] + ], + "path": "/tmp/stable/clang-tidy" } - }, + } + }, + { "cmds": [ { "cmd": { - "path": "/tmp/stable/clang-tidy.real", "args": [ "main.cc" - ] + ], + "path": "a/b/c/d/e/f/g/clang.real" } } - ] - }, - { + ], "wd": "/tmp/stable", "wrapper": { "cmd": { - "path": "a/b/c/d/e/f/g/clang", "args": [ "main.cc" - ] + ], + "path": "a/b/c/d/e/f/g/clang" } - }, + } + }, + { "cmds": [ { "cmd": { - "path": "a/b/c/d/e/f/g/clang.real", "args": [ "main.cc" - ] + ], + "path": "symlinked/clang.real" } } - ] - }, - { + ], "wd": "/tmp/stable", "wrapper": { "cmd": { - "path": "symlinked/clang_other", "args": [ "main.cc" - ] + ], + "path": "symlinked/clang_other" } - }, + } + }, + { "cmds": [ { "cmd": { - "path": "symlinked/clang.real", "args": [ "main.cc" - ] + ], + "path": "/tmp/stable/pathenv/clang.real" } } - ] - }, - { - "wd": "/tmp/stable", + ], "env": [ "PATH=/tmp/stable/pathenv" ], + "wd": "/tmp/stable", "wrapper": { "cmd": { - "path": "clang", "args": [ "main.cc" - ] + ], + "path": "clang" } - }, + } + }, + { "cmds": [ { "cmd": { - "path": "/tmp/stable/pathenv/clang.real", "args": [ + "/tmp/stable/clang.real", "main.cc" - ] + ], + "path": "/tmp/stable/gomacc" } } - ] - }, - { + ], "wd": "/tmp/stable", "wrapper": { "cmd": { - "path": "/tmp/stable/clang", "args": [ "main.cc", "--gomacc-path", "/tmp/stable/gomacc" - ] - } - }, - "cmds": [ - { - "cmd": { - "path": "/tmp/stable/gomacc", - "args": [ - "/tmp/stable/clang.real", - "main.cc" - ] - } + ], + "path": "/tmp/stable/clang" } - ] + } } ] |