Home
last modified time | relevance | path

Searched refs:test_output (Results 1 – 25 of 236) sorted by relevance

12345678910

/aosp_15_r20/external/cronet/third_party/boringssl/src/third_party/googletest/googletest/test/
H A Dgoogletest-output-test.py102 def RemoveLocations(test_output): argument
118 test_output,
144 def RemoveTypeInfoDetails(test_output): argument
155 return re.sub(r'unsigned int', 'unsigned', test_output)
158 def NormalizeToCurrentPlatform(test_output): argument
163 test_output = re.sub('\x1b\\[(0;3\d)?m', '', test_output)
165 test_output = re.sub(r': Failure\n', r': error: ', test_output)
167 test_output = re.sub(r'((\w|\.)+)\((\d+)\):', r'\1:\3:', test_output)
169 return test_output
184 def RemoveMatchingTests(test_output, pattern): argument
[all …]
H A Dgoogletest-catch-exceptions-test.py88 def TestSehExceptions(self, test_output): argument
94 test_output,
101 test_output,
104 'SEH exception with code 0x2a thrown in SetUpTestSuite()', test_output
108 test_output,
111 'SEH exception with code 0x2a thrown in SetUp()', test_output
114 'SEH exception with code 0x2a thrown in TearDown()', test_output
117 'SEH exception with code 0x2a thrown in the test body', test_output
/aosp_15_r20/external/googletest/googletest/test/
H A Dgoogletest-output-test.py102 def RemoveLocations(test_output): argument
118 test_output,
144 def RemoveTypeInfoDetails(test_output): argument
155 return re.sub(r'unsigned int', 'unsigned', test_output)
158 def NormalizeToCurrentPlatform(test_output): argument
163 test_output = re.sub('\x1b\\[(0;3\d)?m', '', test_output)
165 test_output = re.sub(r': Failure\n', r': error: ', test_output)
167 test_output = re.sub(r'((\w|\.)+)\((\d+)\):', r'\1:\3:', test_output)
169 return test_output
184 def RemoveMatchingTests(test_output, pattern): argument
[all …]
H A Dgoogletest-catch-exceptions-test.py88 def TestSehExceptions(self, test_output): argument
94 test_output,
101 test_output,
104 'SEH exception with code 0x2a thrown in SetUpTestSuite()', test_output
108 test_output,
111 'SEH exception with code 0x2a thrown in SetUp()', test_output
114 'SEH exception with code 0x2a thrown in TearDown()', test_output
117 'SEH exception with code 0x2a thrown in the test body', test_output
/aosp_15_r20/external/cronet/third_party/googletest/src/googletest/test/
H A Dgoogletest-output-test.py102 def RemoveLocations(test_output): argument
118 test_output,
144 def RemoveTypeInfoDetails(test_output): argument
155 return re.sub(r'unsigned int', 'unsigned', test_output)
158 def NormalizeToCurrentPlatform(test_output): argument
163 test_output = re.sub('\x1b\\[(0;3\d)?m', '', test_output)
165 test_output = re.sub(r': Failure\n', r': error: ', test_output)
167 test_output = re.sub(r'((\w|\.)+)\((\d+)\):', r'\1:\3:', test_output)
169 return test_output
184 def RemoveMatchingTests(test_output, pattern): argument
[all …]
H A Dgoogletest-catch-exceptions-test.py88 def TestSehExceptions(self, test_output): argument
94 test_output,
101 test_output,
104 'SEH exception with code 0x2a thrown in SetUpTestSuite()', test_output
108 test_output,
111 'SEH exception with code 0x2a thrown in SetUp()', test_output
114 'SEH exception with code 0x2a thrown in TearDown()', test_output
117 'SEH exception with code 0x2a thrown in the test body', test_output
/aosp_15_r20/external/angle/build/android/gyp/
H A Dnocompile_test.py85 def _find_regex_in_test_failure_output(test_output, regex): argument
95 if test_output is None:
98 failed_index = test_output.find('FAILED')
102 failure_message = test_output[failed_index:]
172 test_output = _do_build_get_failure_output(gn_path, None, options)
175 if (test_output
176 and _search_regex_in_list(test_output.split('\n'), _GN_GEN_REGEX)):
179 test_output = _do_build_get_failure_output(gn_path, 'gen', options)
181 if (not _find_regex_in_test_failure_output(test_output, expect_regex)
185 test_output = _do_build_get_failure_output(gn_path, 'clean', options)
[all …]
/aosp_15_r20/external/cronet/build/android/gyp/
H A Dnocompile_test.py85 def _find_regex_in_test_failure_output(test_output, regex): argument
95 if test_output is None:
98 failed_index = test_output.find('FAILED')
102 failure_message = test_output[failed_index:]
172 test_output = _do_build_get_failure_output(gn_path, None, options)
175 if (test_output
176 and _search_regex_in_list(test_output.split('\n'), _GN_GEN_REGEX)):
179 test_output = _do_build_get_failure_output(gn_path, 'gen', options)
181 if (not _find_regex_in_test_failure_output(test_output, expect_regex)
185 test_output = _do_build_get_failure_output(gn_path, 'clean', options)
[all …]
/aosp_15_r20/external/pigweed/pw_unit_test/py/pw_unit_test/
H A Dserial_test_runner.py142 test_output: bytes, logger: logging.Logger = _LOG
150 if test_output.find(_TESTS_STARTING_STRING) == -1:
153 if test_output.rfind(_TESTS_DONE_STRING) == -1:
154 _log_subprocess_output(logging.INFO, test_output, logger)
157 if test_output.rfind(_TEST_FAILURE_STRING) != -1:
158 _log_subprocess_output(logging.INFO, test_output, logger)
161 _log_subprocess_output(logging.DEBUG, test_output, logger)
190 test_output = trigger_test_run(
193 if test_output:
194 handle_test_results(test_output, logger)
/aosp_15_r20/external/igt-gpu-tools/tests/
H A Dkms_flip.c171 struct test_output { struct
209 static void emit_fence_stress(struct test_output *o) in emit_fence_stress() argument
253 static void dpms_off_other_outputs(struct test_output *o) in dpms_off_other_outputs()
278 static void set_dpms(struct test_output *o, int mode) in set_dpms()
296 static int do_page_flip(struct test_output *o, uint32_t fb_id, bool event) in do_page_flip()
353 static int do_wait_for_vblank(struct test_output *o, int pipe_id, in do_wait_for_vblank()
372 analog_tv_connector(const struct test_output *o) in analog_tv_connector()
407 struct test_output *o = (void *)((unsigned long)data & ~ 1); in page_flip_handler()
415 static double mode_frame_time(const struct test_output *o) in mode_frame_time()
420 static double actual_frame_time(const struct test_output *o) in actual_frame_time()
[all …]
H A Dkms_ccs.c321 static void test_output(data_t *data) in test_output() function
350 test_output(&data); in for_each_pipe_static()
354 test_output(&data); in for_each_pipe_static()
358 test_output(&data); in for_each_pipe_static()
362 test_output(&data); in for_each_pipe_static()
384 test_output(&data); in for_each_pipe_static()
388 test_output(&data); in for_each_pipe_static()
392 test_output(&data); in for_each_pipe_static()
/aosp_15_r20/external/bazel-skylib/tests/diff_test/
H A Ddiff_test_tests.sh83 bazel test ${flags} "//${subdir%/}:same" --test_output=errors 1>"$TEST_log" 2>&1 \
87 bazel test ${flags} "//${subdir%/}:different" --test_output=errors 1>"$TEST_log" 2>&1 \
178 bazel test ${flags} //:same --test_output=errors 1>"$TEST_log" 2>&1 \
182 bazel test ${flags} //:different1 --test_output=errors 1>"$TEST_log" 2>&1 \
187 bazel test ${flags} //:different2 --test_output=errors 1>"$TEST_log" 2>&1 \
192 bazel test ${flags} //:different3 --test_output=errors 1>"$TEST_log" 2>&1 \
260 bazel test //:different_with_message --test_output=errors 1>"$TEST_log" 2>&1 \
266 bazel test //:different_without_message --test_output=errors 1>"$TEST_log" 2>&1 \
/aosp_15_r20/tools/repohooks/rh/
H A Dshell_unittest.py41 def _assertEqual(self, func, test_input, test_output, result): argument
43 diff = '\n'.join(list(self.differ.compare([test_output], [result])))
46 self.assertEqual(test_output, result, msg)
50 for test_output, test_input in tests.items():
52 self._assertEqual(functor.__name__, test_input, test_output, result)
58 self.assertEqual(type(test_output), str)
/aosp_15_r20/external/pigweed/targets/stm32f429i_disc1/py/stm32f429i_disc1_utils/
H A Dunit_test_runner.py240 def handle_test_results(test_output): argument
243 if test_output.find(_TESTS_STARTING_STRING) == -1:
246 if test_output.rfind(_TESTS_DONE_STRING) == -1:
247 log_subprocess_output(logging.INFO, test_output)
250 if test_output.rfind(_TEST_FAILURE_STRING) != -1:
251 log_subprocess_output(logging.INFO, test_output)
254 log_subprocess_output(logging.DEBUG, test_output)
/aosp_15_r20/external/pigweed/pw_arduino_build/py/pw_arduino_build/
H A Dunit_test_runner.py230 def handle_test_results(test_output): argument
233 if test_output.find(_TESTS_STARTING_STRING) == -1:
236 if test_output.rfind(_TESTS_DONE_STRING) == -1:
237 log_subprocess_output(logging.INFO, test_output)
240 if test_output.rfind(_TEST_FAILURE_STRING) != -1:
241 log_subprocess_output(logging.INFO, test_output)
244 log_subprocess_output(logging.DEBUG, test_output)
/aosp_15_r20/external/tensorflow/tensorflow/lite/kernels/internal/
H A Dlog_quantized_test.cc70 void CheckOutputData(const std::vector<int32>& test_output, in CheckOutputData() argument
80 const int n = test_output.size(); in CheckOutputData()
90 ASSERT_LE(std::abs(test_output[i] - reference_output[i]), in CheckOutputData()
95 << ", test_output[i]=" << test_output[i] << "=" in CheckOutputData()
96 << static_cast<double>(test_output[i]) / in CheckOutputData()
101 << ", difference[i]=" << std::abs(reference_output[i] - test_output[i]) in CheckOutputData()
103 << static_cast<double>(std::abs(reference_output[i] - test_output[i])) / in CheckOutputData()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/
H A Dtest_suite_cmac.function25 unsigned char test_output[MBEDTLS_CMAC_MAX_BLOCK_SIZE];
48 TEST_ASSERT(mbedtls_cipher_cmac_finish(NULL, test_output) ==
60 test_output) ==
66 test_output) ==
72 test_output) ==
83 test_output) ==
88 test_output) ==
/aosp_15_r20/external/mbedtls/tests/suites/
H A Dtest_suite_cmac.function25 unsigned char test_output[MBEDTLS_CMAC_MAX_BLOCK_SIZE];
48 TEST_ASSERT(mbedtls_cipher_cmac_finish(NULL, test_output) ==
60 test_output) ==
66 test_output) ==
72 test_output) ==
83 test_output) ==
88 test_output) ==
/aosp_15_r20/external/bazel-skylib/tests/
H A Dunittest_test.sh140 bazel test testdir:basic_failing_test --test_output=all --verbose_failures \
150 bazel test testdir:shell_escape_failure_message_test --test_output=all --verbose_failures \
160 bazel test testdir:cmd_escape_failure_message_test --test_output=all --verbose_failures \
170 bazel test testdir:eof_failure_message_test --test_output=all --verbose_failures \
180 bazel test testdir:fail_unexpected_passing_test --test_output=all --verbose_failures \
/aosp_15_r20/external/pigweed/targets/lm3s6965evb_qemu/py/lm3s6965evb_qemu_utils/
H A Dunit_test_runner.py27 def handle_test_results(test_output): argument
29 if test_output.find(_TESTS_STARTING_STRING) == -1:
31 if test_output.rfind(_TESTS_DONE_STRING) == -1:
33 if test_output.rfind(_TEST_FAILURE_STRING) != -1:
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/test/src/formatters/
H A Dmod.rs39 pub(crate) fn write_stderr_delimiter(test_output: &mut Vec<u8>, test_name: &TestName) { in write_stderr_delimiter()
40 match test_output.last() { in write_stderr_delimiter()
42 Some(_) => test_output.push(b'\n'), in write_stderr_delimiter()
45 writeln!(test_output, "---- {test_name} stderr ----").unwrap(); in write_stderr_delimiter()
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/test/src/formatters/
H A Dmod.rs39 pub(crate) fn write_stderr_delimiter(test_output: &mut Vec<u8>, test_name: &TestName) { in write_stderr_delimiter()
40 match test_output.last() { in write_stderr_delimiter()
42 Some(_) => test_output.push(b'\n'), in write_stderr_delimiter()
45 writeln!(test_output, "---- {test_name} stderr ----").unwrap(); in write_stderr_delimiter()
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/test/src/formatters/
H A Dmod.rs39 pub(crate) fn write_stderr_delimiter(test_output: &mut Vec<u8>, test_name: &TestName) { in write_stderr_delimiter()
40 match test_output.last() { in write_stderr_delimiter()
42 Some(_) => test_output.push(b'\n'), in write_stderr_delimiter()
45 writeln!(test_output, "---- {test_name} stderr ----").unwrap(); in write_stderr_delimiter()
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/test/src/formatters/
H A Dmod.rs39 pub(crate) fn write_stderr_delimiter(test_output: &mut Vec<u8>, test_name: &TestName) { in write_stderr_delimiter()
40 match test_output.last() { in write_stderr_delimiter()
42 Some(_) => test_output.push(b'\n'), in write_stderr_delimiter()
45 writeln!(test_output, "---- {test_name} stderr ----").unwrap(); in write_stderr_delimiter()
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/test/src/formatters/
H A Dmod.rs39 pub(crate) fn write_stderr_delimiter(test_output: &mut Vec<u8>, test_name: &TestName) { in write_stderr_delimiter()
40 match test_output.last() { in write_stderr_delimiter()
42 Some(_) => test_output.push(b'\n'), in write_stderr_delimiter()
45 writeln!(test_output, "---- {test_name} stderr ----").unwrap(); in write_stderr_delimiter()

12345678910