Lines Matching refs:exit_1
123 def exit_1(msg, child=None):
214 exit_1("Error: did not find '{}' in `bindgen`'s output".format(args.bindgen_grep), child)
217 exit_1("Error: expected running `bindgen` to fail, but it didn't", child)
220 exit_1("Error: running `bindgen` failed", child)
246 exit_1("Error: did not find '{}' in `rustc`'s output".format(args.rustc_grep), child)
249 exit_1("Error: expected running `rustc` on the emitted bindings to fail, but it didn't", child)
252 exit_1("Error: running `rustc` on the emitted bindings failed", child)
264 exit_1("Error: did not find '{}' in the compiled bindings' layout tests' output".format(args.layout_tests_grep), child)
267 exit_1("Error: expected running the compiled bindings' layout tests to fail, but it didn't", child)
270 exit_1("Error: running the compiled bindings' layout tests failed", child)