Searched refs:is_test (Results 1 - 11 of 11) sorted by relevance
/third_party/rust/crates/env_logger/src/fmt/writer/ |
H A D | mod.rs | 131 is_test: bool, 141 is_test: false, 168 pub(crate) fn is_test(&mut self, is_test: bool) -> &mut Self { 169 self.is_test = is_test; 194 WritableTarget::Stderr => BufferWriter::stderr(self.is_test, color_choice), 195 WritableTarget::Stdout => BufferWriter::stdout(self.is_test, color_choice),
|
/kernel/linux/linux-6.6/lib/kunit/ |
H A D | attributes.c | 38 void *(*get_attr)(void *test_or_suite, bool is_test); 172 static void *attr_speed_get(void *test_or_suite, bool is_test) in attr_speed_get() argument 174 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in attr_speed_get() 175 struct kunit_case *test = is_test ? test_or_suite : NULL; in attr_speed_get() 183 static void *attr_module_get(void *test_or_suite, bool is_test) in attr_module_get() argument 185 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in attr_module_get() 186 struct kunit_case *test = is_test ? test_or_suite : NULL; in attr_module_get() 225 void kunit_print_attr(void *test_or_suite, bool is_test, unsigned int test_level) in kunit_print_attr() argument 231 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in kunit_print_attr() 232 struct kunit_case *test = is_test in kunit_print_attr() [all...] |
/third_party/openssl/test/ |
H A D | run_tests.pl | 190 my $is_test = $self->is_test; 191 my $is_ok = $is_test && $self->is_ok; 200 ($is_test, $is_ok) = (1, !$1) 207 } elsif ($is_test) { # result of a test
|
/third_party/rust/crates/env_logger/src/ |
H A D | lib.rs | 184 //! The [`Builder::is_test`] method can be used in unit tests to ensure logs will be captured: 191 //! let _ = env_logger::builder().is_test(true).try_init(); 273 //! [`Builder::is_test`]: struct.Builder.html#method.is_test 776 /// If `is_test` is `true` then the logger will allow the testing framework to 778 pub fn is_test(&mut self, is_test: bool) -> &mut Self { in is_test() functions 779 self.writer.is_test(is_test); in is_test()
|
/kernel/linux/linux-6.6/include/kunit/ |
H A D | attributes.h | 31 void kunit_print_attr(void *test_or_suite, bool is_test, unsigned int test_level);
|
/third_party/rust/crates/env_logger/examples/ |
H A D | in_tests.rs | 26 .is_test(true) in init_logger()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | expr.h | 12 bool is_test; member
|
/kernel/linux/linux-5.10/lib/kunit/ |
H A D | test.c | 65 bool is_test, in kunit_print_ok_not_ok() 70 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in kunit_print_ok_not_ok() 71 struct kunit *test = is_test ? test_or_suite : NULL; in kunit_print_ok_not_ok() 64 kunit_print_ok_not_ok(void *test_or_suite, bool is_test, bool is_ok, size_t test_number, const char *description) kunit_print_ok_not_ok() argument
|
/third_party/backends/backend/ |
H A D | mustek_usb_low.h | 255 usb_low_set_test_sram_mode (ma1017 * chip, SANE_Bool is_test);
|
H A D | mustek_usb_low.c | 351 usb_low_set_test_sram_mode (ma1017 * chip, SANE_Bool is_test) in usb_low_set_test_sram_mode() argument 372 if (is_test) in usb_low_set_test_sram_mode()
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | pmu-events.c | 938 ctx->sctx.is_test = true; in metric_parse_fake()
|
Completed in 9 milliseconds