• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[
2  {
3    "wd": "/tmp/stable",
4    "env": [
5      "BISECT_STAGE=someBisectStage",
6      "HOME=/user/home"
7    ],
8    "wrapper": {
9      "cmd": {
10        "path": "./x86_64-cros-linux-gnu-clang",
11        "args": [
12          "main.cc"
13        ]
14      }
15    },
16    "cmds": [
17      {
18        "cmd": {
19          "path": "/usr/bin/env",
20          "args": [
21            "python3",
22            "-c",
23            "\nimport bisect_driver\nimport shlex\nimport sys\n\ndef ExpandArgs(args, target):\n\tfor arg in args:\n\t\tif arg[0] == '@':\n\t\t\twith open(arg[1:], 'r', encoding='utf-8') as f:\n\t\t\t\tExpandArgs(shlex.split(f.read()), target)\n\t\telse:\n\t\t\ttarget.append(arg)\n\treturn target\n\nstage = sys.argv[1]\ndir = sys.argv[2]\nexecargs = ExpandArgs(sys.argv[3:], [])\n\nsys.exit(bisect_driver.bisect_driver(stage, dir, execargs))\n",
24            "someBisectStage",
25            "/tmp/sysroot_bisect",
26            "/usr/bin/ccache",
27            "../../usr/bin/clang",
28            "--sysroot=/usr/x86_64-cros-linux-gnu",
29            "-Qunused-arguments",
30            "-Werror=poison-system-directories",
31            "-Wno-compound-token-split-by-macro",
32            "-Wno-deprecated-declarations",
33            "-Wno-error=implicit-function-declaration",
34            "-Wno-error=implicit-int",
35            "-Wno-final-dtor-non-final-class",
36            "-Wno-tautological-constant-compare",
37            "-Wno-tautological-unsigned-enum-zero-compare",
38            "-Wno-unknown-warning-option",
39            "-fdebug-default-version=5",
40            "-fexperimental-new-pass-manager",
41            "--unwindlib=libunwind",
42            "-Wno-section",
43            "-fno-addrsig",
44            "-fuse-ld=lld",
45            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
46            "-fcommon",
47            "-fstack-protector-strong",
48            "-D_FORTIFY_SOURCE=2",
49            "-fno-omit-frame-pointer",
50            "-static-libgcc",
51            "--prefix=../../bin/x86_64-cros-linux-gnu-",
52            "main.cc",
53            "-L/usr/x86_64-cros-linux-gnu/usr/lib64",
54            "-Wno-compound-token-split-by-space",
55            "-Wno-deprecated-copy",
56            "-Wno-unused-but-set-variable",
57            "-Wno-implicit-int-float-conversion",
58            "-Wno-string-concatenation",
59            "-mno-movbe",
60            "-B../../bin",
61            "-target",
62            "x86_64-cros-linux-gnu"
63          ],
64          "env_updates": [
65            "CCACHE_DIR=/var/cache/distfiles/ccache",
66            "CCACHE_UMASK=002",
67            "CCACHE_CPP2=yes",
68            "PYTHONPATH=/somepath/test_binary"
69          ]
70        }
71      }
72    ]
73  },
74  {
75    "wd": "/tmp/stable",
76    "env": [
77      "BISECT_STAGE=someBisectStage",
78      "BISECT_DIR=someBisectDir",
79      "HOME=/user/home"
80    ],
81    "wrapper": {
82      "cmd": {
83        "path": "./x86_64-cros-linux-gnu-clang",
84        "args": [
85          "main.cc"
86        ]
87      }
88    },
89    "cmds": [
90      {
91        "cmd": {
92          "path": "/usr/bin/env",
93          "args": [
94            "python3",
95            "-c",
96            "\nimport bisect_driver\nimport shlex\nimport sys\n\ndef ExpandArgs(args, target):\n\tfor arg in args:\n\t\tif arg[0] == '@':\n\t\t\twith open(arg[1:], 'r', encoding='utf-8') as f:\n\t\t\t\tExpandArgs(shlex.split(f.read()), target)\n\t\telse:\n\t\t\ttarget.append(arg)\n\treturn target\n\nstage = sys.argv[1]\ndir = sys.argv[2]\nexecargs = ExpandArgs(sys.argv[3:], [])\n\nsys.exit(bisect_driver.bisect_driver(stage, dir, execargs))\n",
97            "someBisectStage",
98            "someBisectDir",
99            "/usr/bin/ccache",
100            "../../usr/bin/clang",
101            "--sysroot=/usr/x86_64-cros-linux-gnu",
102            "-Qunused-arguments",
103            "-Werror=poison-system-directories",
104            "-Wno-compound-token-split-by-macro",
105            "-Wno-deprecated-declarations",
106            "-Wno-error=implicit-function-declaration",
107            "-Wno-error=implicit-int",
108            "-Wno-final-dtor-non-final-class",
109            "-Wno-tautological-constant-compare",
110            "-Wno-tautological-unsigned-enum-zero-compare",
111            "-Wno-unknown-warning-option",
112            "-fdebug-default-version=5",
113            "-fexperimental-new-pass-manager",
114            "--unwindlib=libunwind",
115            "-Wno-section",
116            "-fno-addrsig",
117            "-fuse-ld=lld",
118            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
119            "-fcommon",
120            "-fstack-protector-strong",
121            "-D_FORTIFY_SOURCE=2",
122            "-fno-omit-frame-pointer",
123            "-static-libgcc",
124            "--prefix=../../bin/x86_64-cros-linux-gnu-",
125            "main.cc",
126            "-L/usr/x86_64-cros-linux-gnu/usr/lib64",
127            "-Wno-compound-token-split-by-space",
128            "-Wno-deprecated-copy",
129            "-Wno-unused-but-set-variable",
130            "-Wno-implicit-int-float-conversion",
131            "-Wno-string-concatenation",
132            "-mno-movbe",
133            "-B../../bin",
134            "-target",
135            "x86_64-cros-linux-gnu"
136          ],
137          "env_updates": [
138            "CCACHE_DIR=/var/cache/distfiles/ccache",
139            "CCACHE_UMASK=002",
140            "CCACHE_CPP2=yes",
141            "PYTHONPATH=/somepath/test_binary"
142          ]
143        }
144      }
145    ]
146  },
147  {
148    "wd": "/tmp/stable",
149    "env": [
150      "BISECT_STAGE=someBisectStage",
151      "BISECT_DIR=someBisectDir",
152      "HOME=/user/home"
153    ],
154    "wrapper": {
155      "cmd": {
156        "path": "./x86_64-cros-linux-gnu-clang",
157        "args": [
158          "main.cc"
159        ]
160      },
161      "stdout": "somemessage",
162      "stderr": "someerror",
163      "exitcode": 1
164    },
165    "cmds": [
166      {
167        "cmd": {
168          "path": "/usr/bin/env",
169          "args": [
170            "python3",
171            "-c",
172            "\nimport bisect_driver\nimport shlex\nimport sys\n\ndef ExpandArgs(args, target):\n\tfor arg in args:\n\t\tif arg[0] == '@':\n\t\t\twith open(arg[1:], 'r', encoding='utf-8') as f:\n\t\t\t\tExpandArgs(shlex.split(f.read()), target)\n\t\telse:\n\t\t\ttarget.append(arg)\n\treturn target\n\nstage = sys.argv[1]\ndir = sys.argv[2]\nexecargs = ExpandArgs(sys.argv[3:], [])\n\nsys.exit(bisect_driver.bisect_driver(stage, dir, execargs))\n",
173            "someBisectStage",
174            "someBisectDir",
175            "/usr/bin/ccache",
176            "../../usr/bin/clang",
177            "--sysroot=/usr/x86_64-cros-linux-gnu",
178            "-Qunused-arguments",
179            "-Werror=poison-system-directories",
180            "-Wno-compound-token-split-by-macro",
181            "-Wno-deprecated-declarations",
182            "-Wno-error=implicit-function-declaration",
183            "-Wno-error=implicit-int",
184            "-Wno-final-dtor-non-final-class",
185            "-Wno-tautological-constant-compare",
186            "-Wno-tautological-unsigned-enum-zero-compare",
187            "-Wno-unknown-warning-option",
188            "-fdebug-default-version=5",
189            "-fexperimental-new-pass-manager",
190            "--unwindlib=libunwind",
191            "-Wno-section",
192            "-fno-addrsig",
193            "-fuse-ld=lld",
194            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
195            "-fcommon",
196            "-fstack-protector-strong",
197            "-D_FORTIFY_SOURCE=2",
198            "-fno-omit-frame-pointer",
199            "-static-libgcc",
200            "--prefix=../../bin/x86_64-cros-linux-gnu-",
201            "main.cc",
202            "-L/usr/x86_64-cros-linux-gnu/usr/lib64",
203            "-Wno-compound-token-split-by-space",
204            "-Wno-deprecated-copy",
205            "-Wno-unused-but-set-variable",
206            "-Wno-implicit-int-float-conversion",
207            "-Wno-string-concatenation",
208            "-mno-movbe",
209            "-B../../bin",
210            "-target",
211            "x86_64-cros-linux-gnu"
212          ],
213          "env_updates": [
214            "CCACHE_DIR=/var/cache/distfiles/ccache",
215            "CCACHE_UMASK=002",
216            "CCACHE_CPP2=yes",
217            "PYTHONPATH=/somepath/test_binary"
218          ]
219        },
220        "stdout": "somemessage",
221        "stderr": "someerror",
222        "exitcode": 1
223      }
224    ]
225  }
226]
227