• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[
2  {
3    "cmds": [
4      {
5        "cmd": {
6          "args": [
7            "python3",
8            "-c",
9            "\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",
10            "someBisectStage",
11            "/tmp/sysroot_bisect",
12            "/usr/bin/ccache",
13            "../../usr/bin/clang",
14            "--sysroot=/usr/x86_64-cros-linux-gnu",
15            "-Qunused-arguments",
16            "-Werror=poison-system-directories",
17            "-Wno-deprecated-declarations",
18            "-Wno-enum-constexpr-conversion",
19            "-Wno-error=implicit-function-declaration",
20            "-Wno-error=implicit-int",
21            "-Wno-final-dtor-non-final-class",
22            "-Wno-single-bit-bitfield-constant-conversion",
23            "-Wno-tautological-constant-compare",
24            "-Wno-tautological-unsigned-enum-zero-compare",
25            "-Wno-unknown-warning-option",
26            "-fdebug-default-version=5",
27            "-Wno-int-conversion",
28            "-Wno-incompatible-function-pointer-types",
29            "-Wno-error=vla-cxx-extension",
30            "-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
31            "-fclang-abi-compat=17",
32            "-Wno-section",
33            "-static-libgcc",
34            "--prefix=../../bin/x86_64-cros-linux-gnu-",
35            "main.cc",
36            "-L/usr/x86_64-cros-linux-gnu/usr/lib64",
37            "-mno-movbe",
38            "-B../../bin",
39            "-target",
40            "x86_64-cros-linux-gnu"
41          ],
42          "env_updates": [
43            "CCACHE_DIR=/var/cache/distfiles/ccache",
44            "CCACHE_UMASK=002",
45            "CCACHE_CPP2=yes",
46            "PYTHONPATH=/somepath/test_binary"
47          ],
48          "path": "/usr/bin/env"
49        }
50      }
51    ],
52    "env": [
53      "BISECT_STAGE=someBisectStage",
54      "HOME=/user/home"
55    ],
56    "wd": "/tmp/stable",
57    "wrapper": {
58      "cmd": {
59        "args": [
60          "main.cc"
61        ],
62        "path": "./x86_64-cros-linux-gnu-clang"
63      }
64    }
65  },
66  {
67    "cmds": [
68      {
69        "cmd": {
70          "args": [
71            "python3",
72            "-c",
73            "\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",
74            "someBisectStage",
75            "someBisectDir",
76            "/usr/bin/ccache",
77            "../../usr/bin/clang",
78            "--sysroot=/usr/x86_64-cros-linux-gnu",
79            "-Qunused-arguments",
80            "-Werror=poison-system-directories",
81            "-Wno-deprecated-declarations",
82            "-Wno-enum-constexpr-conversion",
83            "-Wno-error=implicit-function-declaration",
84            "-Wno-error=implicit-int",
85            "-Wno-final-dtor-non-final-class",
86            "-Wno-single-bit-bitfield-constant-conversion",
87            "-Wno-tautological-constant-compare",
88            "-Wno-tautological-unsigned-enum-zero-compare",
89            "-Wno-unknown-warning-option",
90            "-fdebug-default-version=5",
91            "-Wno-int-conversion",
92            "-Wno-incompatible-function-pointer-types",
93            "-Wno-error=vla-cxx-extension",
94            "-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
95            "-fclang-abi-compat=17",
96            "-Wno-section",
97            "-static-libgcc",
98            "--prefix=../../bin/x86_64-cros-linux-gnu-",
99            "main.cc",
100            "-L/usr/x86_64-cros-linux-gnu/usr/lib64",
101            "-mno-movbe",
102            "-B../../bin",
103            "-target",
104            "x86_64-cros-linux-gnu"
105          ],
106          "env_updates": [
107            "CCACHE_DIR=/var/cache/distfiles/ccache",
108            "CCACHE_UMASK=002",
109            "CCACHE_CPP2=yes",
110            "PYTHONPATH=/somepath/test_binary"
111          ],
112          "path": "/usr/bin/env"
113        }
114      }
115    ],
116    "env": [
117      "BISECT_STAGE=someBisectStage",
118      "BISECT_DIR=someBisectDir",
119      "HOME=/user/home"
120    ],
121    "wd": "/tmp/stable",
122    "wrapper": {
123      "cmd": {
124        "args": [
125          "main.cc"
126        ],
127        "path": "./x86_64-cros-linux-gnu-clang"
128      }
129    }
130  },
131  {
132    "cmds": [
133      {
134        "cmd": {
135          "args": [
136            "python3",
137            "-c",
138            "\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",
139            "someBisectStage",
140            "someBisectDir",
141            "/usr/bin/ccache",
142            "../../usr/bin/clang",
143            "--sysroot=/usr/x86_64-cros-linux-gnu",
144            "-Qunused-arguments",
145            "-Werror=poison-system-directories",
146            "-Wno-deprecated-declarations",
147            "-Wno-enum-constexpr-conversion",
148            "-Wno-error=implicit-function-declaration",
149            "-Wno-error=implicit-int",
150            "-Wno-final-dtor-non-final-class",
151            "-Wno-single-bit-bitfield-constant-conversion",
152            "-Wno-tautological-constant-compare",
153            "-Wno-tautological-unsigned-enum-zero-compare",
154            "-Wno-unknown-warning-option",
155            "-fdebug-default-version=5",
156            "-Wno-int-conversion",
157            "-Wno-incompatible-function-pointer-types",
158            "-Wno-error=vla-cxx-extension",
159            "-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES",
160            "-fclang-abi-compat=17",
161            "-Wno-section",
162            "-static-libgcc",
163            "--prefix=../../bin/x86_64-cros-linux-gnu-",
164            "main.cc",
165            "-L/usr/x86_64-cros-linux-gnu/usr/lib64",
166            "-mno-movbe",
167            "-B../../bin",
168            "-target",
169            "x86_64-cros-linux-gnu"
170          ],
171          "env_updates": [
172            "CCACHE_DIR=/var/cache/distfiles/ccache",
173            "CCACHE_UMASK=002",
174            "CCACHE_CPP2=yes",
175            "PYTHONPATH=/somepath/test_binary"
176          ],
177          "path": "/usr/bin/env"
178        },
179        "exitcode": 1,
180        "stderr": "someerror",
181        "stdout": "somemessage"
182      }
183    ],
184    "env": [
185      "BISECT_STAGE=someBisectStage",
186      "BISECT_DIR=someBisectDir",
187      "HOME=/user/home"
188    ],
189    "wd": "/tmp/stable",
190    "wrapper": {
191      "cmd": {
192        "args": [
193          "main.cc"
194        ],
195        "path": "./x86_64-cros-linux-gnu-clang"
196      },
197      "exitcode": 1,
198      "stderr": "someerror",
199      "stdout": "somemessage"
200    }
201  }
202]
203