Lines Matching refs:stderr
94 def generate_bindgen_libclang(cls, stderr): argument
95 return cls.generate_bindgen(cls.bindgen_default_bindgen_version_stdout, stderr)
144 self.assertEqual(result.stderr, b"")
151 self.assertNotEqual(result.stderr, b"")
156 … self.assertIn(b"Please see Documentation/rust/quick-start.rst for details", result.stderr)
161 … self.assertIn(b"Please see Documentation/rust/quick-start.rst for details", result.stderr)
165 result.stderr = result.stderr.decode()
171 self.assertIn("Environment variable 'RUSTC' is not set.", result.stderr)
172 self.assertIn("This script is intended to be called from Kbuild.", result.stderr)
176 self.assertIn("Environment variable 'BINDGEN' is not set.", result.stderr)
177 self.assertIn("This script is intended to be called from Kbuild.", result.stderr)
181 self.assertIn("Environment variable 'CC' is not set.", result.stderr)
182 self.assertIn("This script is intended to be called from Kbuild.", result.stderr)
186 self.assertIn(f"Rust compiler '{self.missing}' could not be found.", result.stderr)
190 … self.assertIn(f"Rust bindings generator '{self.missing}' could not be found.", result.stderr)
194 …In(f"Running '{self.nonexecutable}' to check the Rust compiler version failed with", result.stderr)
198 …nning '{self.unexpected_binary}' to check the Rust compiler version did not return", result.stderr)
203 …elf.assertIn(f"Running '{rustc}' to check the Rust compiler version did not return", result.stderr)
208 …elf.assertIn(f"Running '{rustc}' to check the Rust compiler version did not return", result.stderr)
213 …elf.assertIn(f"Running '{rustc}' to check the Rust compiler version did not return", result.stderr)
218 self.assertIn(f"Rust compiler '{rustc}' is too old.", result.stderr)
222 …ng '{self.nonexecutable}' to check the Rust bindings generator version failed with", result.stderr)
226 … '{self.unexpected_binary}' to check the bindings generator version did not return", result.stderr)
231 …ertIn(f"Running '{bindgen}' to check the bindings generator version did not return", result.stderr)
236 …ertIn(f"Running '{bindgen}' to check the bindings generator version did not return", result.stderr)
241 …ertIn(f"Running '{bindgen}' to check the bindings generator version did not return", result.stderr)
246 self.assertIn(f"Rust bindings generator '{bindgen}' is too old.", result.stderr)
253 ….assertIn(f"Rust bindings generator '{bindgen}' versions 0.66.0 and 0.66.1 may not", result.stderr)
264 …elf.assertIn(f"Running '{bindgen}' to check the libclang version (used by the Rust", result.stderr)
265 …e {self.bindgen_default_bindgen_libclang_failure_exit_code}. This may be caused by", result.stderr)
270 …elf.assertIn(f"Running '{bindgen}' to check the libclang version (used by the Rust", result.stderr)
271 … self.assertIn("bindings generator) did not return an expected output. See output", result.stderr)
276 ….assertIn(f"libclang (used by the Rust bindings generator '{bindgen}') is too old.", result.stderr)
298 …rtIn(f"Rust bindings generator '{bindgen}' < 0.69.5 together with libclang >= 19.1", result.stderr)
306 self.assertIn("version does not match Clang's. This may be a problem.", result.stderr)
311 self.assertIn("version does not match Clang's. This may be a problem.", result.stderr)
315 … self.assertIn("Source code for the 'core' standard library could not be found", result.stderr)
319 … self.assertIn("Source code for the 'core' standard library could not be found", result.stderr)
323 self.assertIn("unknown C compiler", result.stderr)
354 for stderr in (
367 with self.subTest(stderr=stderr):
368 bindgen = self.generate_bindgen_libclang(stderr)