Lines Matching refs:Expected
20 class Expected(enum.Enum): class in TestRustIsAvailable
116 if expected == self.Expected.SUCCESS:
121 elif expected == self.Expected.SUCCESS_WITH_EXTRA_OUTPUT:
128 elif expected == self.Expected.SUCCESS_WITH_WARNINGS:
146 result = self.run_script(self.Expected.FAILURE, { "RUSTC": None })
151 result = self.run_script(self.Expected.FAILURE, { "BINDGEN": None })
156 result = self.run_script(self.Expected.FAILURE, { "CC": None })
161 result = self.run_script(self.Expected.FAILURE, { "RUSTC": self.missing })
165 result = self.run_script(self.Expected.FAILURE, { "BINDGEN": self.missing })
169 result = self.run_script(self.Expected.FAILURE, { "RUSTC": self.nonexecutable })
173 result = self.run_script(self.Expected.FAILURE, { "RUSTC": self.unexpected_binary })
178 result = self.run_script(self.Expected.FAILURE, { "RUSTC": rustc })
183 result = self.run_script(self.Expected.FAILURE, { "RUSTC": rustc })
188 result = self.run_script(self.Expected.FAILURE, { "RUSTC": rustc })
193 result = self.run_script(self.Expected.FAILURE, { "RUSTC": rustc })
198 result = self.run_script(self.Expected.SUCCESS_WITH_WARNINGS, { "RUSTC": rustc })
202 result = self.run_script(self.Expected.FAILURE, { "BINDGEN": self.nonexecutable })
206 result = self.run_script(self.Expected.FAILURE, { "BINDGEN": self.unexpected_binary })
211 result = self.run_script(self.Expected.FAILURE, { "BINDGEN": bindgen })
216 result = self.run_script(self.Expected.FAILURE, { "BINDGEN": bindgen })
221 result = self.run_script(self.Expected.FAILURE, { "BINDGEN": bindgen })
226 result = self.run_script(self.Expected.FAILURE, { "BINDGEN": bindgen })
231 result = self.run_script(self.Expected.SUCCESS_WITH_WARNINGS, { "BINDGEN": bindgen })
241 …result = self.run_script(self.Expected.FAILURE, env | { "PATH": os.environ["PATH"], "BINDGEN": "bi…
247 result = self.run_script(self.Expected.FAILURE, { "BINDGEN": bindgen })
253 result = self.run_script(self.Expected.FAILURE, { "BINDGEN": bindgen })
258 result = self.run_script(self.Expected.SUCCESS_WITH_WARNINGS, { "BINDGEN": bindgen })
263 result = self.run_script(self.Expected.SUCCESS_WITH_WARNINGS, { "CC": cc })
267 …result = self.run_script(self.Expected.FAILURE, { "PATH": os.environ["PATH"], "RUSTC": "rustc", "K…
271 result = self.run_script(self.Expected.FAILURE, { "RUST_LIB_SRC": self.missing })
275 result = self.run_script(self.Expected.SUCCESS_WITH_EXTRA_OUTPUT, { "CC": self.missing })
284 result = self.run_script(self.Expected.SUCCESS, { "CC": f"{clang} clang" })
294 result = self.run_script(self.Expected.SUCCESS, { "RUSTC": rustc })
304 result = self.run_script(self.Expected.SUCCESS, { "BINDGEN": bindgen })
322 result = self.run_script(self.Expected.SUCCESS, { "BINDGEN": bindgen })
333 result = self.run_script(self.Expected.SUCCESS, { "CC": clang })
338 result = self.run_script(self.Expected.SUCCESS, {