Lines Matching refs:stderr

71     def generate_bindgen_libclang(cls, stderr):  argument
72 return cls.generate_bindgen(cls.bindgen_default_bindgen_version_stdout, stderr)
120 self.assertEqual(result.stderr, b"")
127 self.assertNotEqual(result.stderr, b"")
132 … self.assertIn(b"Please see Documentation/rust/quick-start.rst for details", result.stderr)
137 … self.assertIn(b"Please see Documentation/rust/quick-start.rst for details", result.stderr)
141 result.stderr = result.stderr.decode()
147 self.assertIn("Environment variable 'RUSTC' is not set.", result.stderr)
148 self.assertIn("This script is intended to be called from Kbuild.", result.stderr)
152 self.assertIn("Environment variable 'BINDGEN' is not set.", result.stderr)
153 self.assertIn("This script is intended to be called from Kbuild.", result.stderr)
157 self.assertIn("Environment variable 'CC' is not set.", result.stderr)
158 self.assertIn("This script is intended to be called from Kbuild.", result.stderr)
162 self.assertIn(f"Rust compiler '{self.missing}' could not be found.", result.stderr)
166 … self.assertIn(f"Rust bindings generator '{self.missing}' could not be found.", result.stderr)
170 …In(f"Running '{self.nonexecutable}' to check the Rust compiler version failed with", result.stderr)
174 …nning '{self.unexpected_binary}' to check the Rust compiler version did not return", result.stderr)
179 …elf.assertIn(f"Running '{rustc}' to check the Rust compiler version did not return", result.stderr)
184 …elf.assertIn(f"Running '{rustc}' to check the Rust compiler version did not return", result.stderr)
189 …elf.assertIn(f"Running '{rustc}' to check the Rust compiler version did not return", result.stderr)
194 self.assertIn(f"Rust compiler '{rustc}' is too old.", result.stderr)
199 … self.assertIn(f"Rust compiler '{rustc}' is too new. This may or may not work.", result.stderr)
203 …ng '{self.nonexecutable}' to check the Rust bindings generator version failed with", result.stderr)
207 … '{self.unexpected_binary}' to check the bindings generator version did not return", result.stderr)
212 …ertIn(f"Running '{bindgen}' to check the bindings generator version did not return", result.stderr)
217 …ertIn(f"Running '{bindgen}' to check the bindings generator version did not return", result.stderr)
222 …ertIn(f"Running '{bindgen}' to check the bindings generator version did not return", result.stderr)
227 self.assertIn(f"Rust bindings generator '{bindgen}' is too old.", result.stderr)
232 …sertIn(f"Rust bindings generator '{bindgen}' is too new. This may or may not work.", result.stderr)
242 … self.assertIn("Running 'bindgen' to check the libclang version (used by the Rust", result.stderr)
243 self.assertIn("bindings generator) failed with code ", result.stderr)
248 …elf.assertIn(f"Running '{bindgen}' to check the libclang version (used by the Rust", result.stderr)
249 … self.assertIn("bindings generator) did not return an expected output. See output", result.stderr)
254 ….assertIn(f"libclang (used by the Rust bindings generator '{bindgen}') is too old.", result.stderr)
259 self.assertIn("version does not match Clang's. This may be a problem.", result.stderr)
264 self.assertIn("version does not match Clang's. This may be a problem.", result.stderr)
268 … self.assertIn("Source code for the 'core' standard library could not be found", result.stderr)
272 … self.assertIn("Source code for the 'core' standard library could not be found", result.stderr)
276 self.assertIn("unknown C compiler", result.stderr)
307 for stderr in (
320 with self.subTest(stderr=stderr):
321 bindgen = self.generate_bindgen_libclang(stderr)