Home
last modified time | relevance | path

Searched +full:- +full:- +full:test_output (Results 1 – 25 of 329) sorted by relevance

12345678910>>...14

/aosp_15_r20/external/cronet/third_party/boringssl/src/third_party/googletest/googletest/test/
H A Dgoogletest-output-test.py35 googletest_output_test.py --build_dir=BUILD/DIR --gengolden
36 where BUILD/DIR contains the built googletest-output-test_ file.
37 googletest_output_test.py --gengolden
49 GENGOLDEN_FLAG = '--gengolden'
53 NO_STACKTRACE_SUPPORT_FLAG = '--no_stacktrace_support'
58 GOLDEN_NAME = 'googletest-output-test-golden-lin.txt'
60 PROGRAM_PATH = gtest_test_utils.GetTestExecutablePath('googletest-output-test_')
64 COMMAND_LIST_TESTS = ({}, [PROGRAM_PATH, '--gtest_list_tests'])
65 COMMAND_WITH_COLOR = ({}, [PROGRAM_PATH, '--gtest_color=yes'])
70 '--gtest_print_time',
[all …]
H A Dgoogletest-catch-exceptions-test.py33 This script invokes googletest-catch-exceptions-test_ and
34 googletest-catch-exceptions-ex-test_ (programs written with
41 FLAG_PREFIX = '--gtest_'
46 # Path to the googletest-catch-exceptions-ex-test_ binary, compiled with
49 'googletest-catch-exceptions-ex-test_'
52 # Path to the googletest-catch-exceptions-test_ binary, compiled with
55 'googletest-catch-exceptions-no-ex-test_'
61 # Tests in this file run a Google-Test-based test program and expect it
63 # the premature-exit-file protocol by design. Unset the
64 # premature-exit filepath to prevent Google Test from creating
[all …]
/aosp_15_r20/external/googletest/googletest/test/
H A Dgoogletest-output-test.py35 googletest_output_test.py --build_dir=BUILD/DIR --gengolden
36 where BUILD/DIR contains the built googletest-output-test_ file.
37 googletest_output_test.py --gengolden
49 GENGOLDEN_FLAG = '--gengolden'
53 NO_STACKTRACE_SUPPORT_FLAG = '--no_stacktrace_support'
58 GOLDEN_NAME = 'googletest-output-test-golden-lin.txt'
60 PROGRAM_PATH = gtest_test_utils.GetTestExecutablePath('googletest-output-test_')
64 COMMAND_LIST_TESTS = ({}, [PROGRAM_PATH, '--gtest_list_tests'])
65 COMMAND_WITH_COLOR = ({}, [PROGRAM_PATH, '--gtest_color=yes'])
70 '--gtest_print_time',
[all …]
H A Dgoogletest-catch-exceptions-test.py33 This script invokes googletest-catch-exceptions-test_ and
34 googletest-catch-exceptions-ex-test_ (programs written with
41 FLAG_PREFIX = '--gtest_'
46 # Path to the googletest-catch-exceptions-ex-test_ binary, compiled with
49 'googletest-catch-exceptions-ex-test_'
52 # Path to the googletest-catch-exceptions-test_ binary, compiled with
55 'googletest-catch-exceptions-no-ex-test_'
61 # Tests in this file run a Google-Test-based test program and expect it
63 # the premature-exit-file protocol by design. Unset the
64 # premature-exit filepath to prevent Google Test from creating
[all …]
/aosp_15_r20/external/cronet/third_party/googletest/src/googletest/test/
H A Dgoogletest-output-test.py35 googletest_output_test.py --build_dir=BUILD/DIR --gengolden
36 where BUILD/DIR contains the built googletest-output-test_ file.
37 googletest_output_test.py --gengolden
49 GENGOLDEN_FLAG = '--gengolden'
53 NO_STACKTRACE_SUPPORT_FLAG = '--no_stacktrace_support'
58 GOLDEN_NAME = 'googletest-output-test-golden-lin.txt'
60 PROGRAM_PATH = gtest_test_utils.GetTestExecutablePath('googletest-output-test_')
64 COMMAND_LIST_TESTS = ({}, [PROGRAM_PATH, '--gtest_list_tests'])
65 COMMAND_WITH_COLOR = ({}, [PROGRAM_PATH, '--gtest_color=yes'])
70 '--gtest_print_time',
[all …]
H A Dgoogletest-catch-exceptions-test.py33 This script invokes googletest-catch-exceptions-test_ and
34 googletest-catch-exceptions-ex-test_ (programs written with
41 FLAG_PREFIX = '--gtest_'
46 # Path to the googletest-catch-exceptions-ex-test_ binary, compiled with
49 'googletest-catch-exceptions-ex-test_'
52 # Path to the googletest-catch-exceptions-test_ binary, compiled with
55 'googletest-catch-exceptions-no-ex-test_'
61 # Tests in this file run a Google-Test-based test program and expect it
63 # the premature-exit-file protocol by design. Unset the
64 # premature-exit filepath to prevent Google Test from creating
[all …]
/aosp_15_r20/external/mbedtls/tests/scripts/
H A Dbasic-build-test.sh3 # basic-build-test.sh
6 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
14 # * Unit tests - executed using tests/scripts/run-test-suite.pl
15 # * Self-tests - executed using the test suites above
16 # * System tests - executed using tests/ssl-opt.sh
17 # * Interoperability tests - executed using tests/compat.sh
21 # Note the tests self-adapt due to configurations in include/mbedtls/mbedtls_config.h
27 # Usage: basic-build-test.sh
31 set -eu
33 if [ -d library -a -d include -a -d tests ]; then :; else
[all …]
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/scripts/
H A Dbasic-build-test.sh3 # basic-build-test.sh
6 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
14 # * Unit tests - executed using tests/scripts/run-test-suite.pl
15 # * Self-tests - executed using the test suites above
16 # * System tests - executed using tests/ssl-opt.sh
17 # * Interoperability tests - executed using tests/compat.sh
21 # Note the tests self-adapt due to configurations in include/mbedtls/mbedtls_config.h
27 # Usage: basic-build-test.sh
31 set -eu
33 if [ -d library -a -d include -a -d tests ]; then :; else
[all …]
/aosp_15_r20/external/angle/build/android/gyp/
H A Dnocompile_test.py3 # Use of this source code is governed by a BSD-style license that can be
29 args: shell command-line (as passed to subprocess.Popen())
36 'Output:-----------------------------------------\n{}\n' \
37 '------------------------------------------------\n'.format(
67 pout = pout.decode('utf-8')
85 def _find_regex_in_test_failure_output(test_output, regex): argument
89 test_output: test output.
95 if test_output is None:
98 failed_index = test_output.find('FAILED')
102 failure_message = test_output[failed_index:]
[all …]
/aosp_15_r20/external/cronet/build/android/gyp/
H A Dnocompile_test.py3 # Use of this source code is governed by a BSD-style license that can be
29 args: shell command-line (as passed to subprocess.Popen())
36 'Output:-----------------------------------------\n{}\n' \
37 '------------------------------------------------\n'.format(
67 pout = pout.decode('utf-8')
85 def _find_regex_in_test_failure_output(test_output, regex): argument
89 test_output: test output.
95 if test_output is None:
98 failed_index = test_output.find('FAILED')
102 failure_message = test_output[failed_index:]
[all …]
/aosp_15_r20/external/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/
H A Dcpuset_syscall_testset.sh19 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA #
40 TEST_OUTPUT="$CPUSET_TMP/result"
44 # do_syscall_test - call syscall_test
45 # $1 - cpus
46 # $2 - mems
47 # $3 - syscall_test's args
48 # $4 - expect return value of test task
55 mkdir -p "$TEST_CPUSET"
56 if [ $? -ne 0 ]; then
57 tst_resm TFAIL "mkdir -p $TEST_CPUSET fail."
[all …]
/aosp_15_r20/external/igt-gpu-tools/tests/
H A Dkms_flip.c146 return tv->tv_sec + tv->tv_usec / 1000000.0f; in timeval_float()
160 es->name, in dump_event_state()
161 timeval_float(&es->last_ts), in dump_event_state()
162 timeval_float(&es->last_received_ts), in dump_event_state()
163 es->last_seq, in dump_event_state()
164 timeval_float(&es->current_ts), in dump_event_state()
165 timeval_float(&es->current_received_ts), in dump_event_state()
166 es->current_seq, in dump_event_state()
167 es->count, in dump_event_state()
168 es->seq_step); in dump_event_state()
[all …]
H A Dkms_ccs.c91 f->width = fb->width; in addfb_init()
92 f->height = fb->height; in addfb_init()
93 f->pixel_format = fb->drm_format; in addfb_init()
94 f->flags = LOCAL_DRM_MODE_FB_MODIFIERS; in addfb_init()
96 for (i = 0; i < fb->num_planes; i++) { in addfb_init()
97 f->handles[i] = fb->gem_handle; in addfb_init()
98 f->modifier[i] = fb->modifier; in addfb_init()
99 f->pitches[i] = fb->strides[i]; in addfb_init()
100 f->offsets[i] = fb->offsets[i]; in addfb_init()
114 /* Use either compressed or Y-tiled to test. However, given the lack of in generate_fb()
[all …]
/aosp_15_r20/external/pigweed/pw_unit_test/py/pw_unit_test/
H A Dserial_test_runner.py8 # https://www.apache.org/licenses/LICENSE-2.0
17 This library assumes that the on-device test runner emits the test results
18 as plain-text over a serial port, and that tests are triggered by a pre-defined
40 DEFAULT_TEST_START_CHARACTER = ' '.encode('utf-8')
59 def load_binary(self, binary: Path) -> bool:
71 def serial_port(self) -> str:
79 def baud_rate(self) -> int:
88 """Logs subprocess output line-by-line."""
90 lines = output.decode('utf-8', errors='replace').splitlines()
100 ) -> bytes:
[all …]
/aosp_15_r20/external/bazel-skylib/tests/diff_test/
H A Ddiff_test_tests.sh9 # http://www.apache.org/licenses/LICENSE-2.0
17 # --- begin runfiles.bash initialization ---
18 # Copy-pasted from Bazel's Bash runfiles library (tools/bash/runfiles/runfiles.bash).
19 set -euo pipefail
20 if [[ ! -d "${RUNFILES_DIR:-/dev/null}" && ! -f "${RUNFILES_MANIFEST_FILE:-/dev/null}" ]]; then
21 if [[ -f "$0.runfiles_manifest" ]]; then
23 elif [[ -f "$0.runfiles/MANIFEST" ]]; then
25 elif [[ -f "$0.runfiles/bazel_tools/tools/bash/runfiles/runfiles.bash" ]]; then
29 if [[ -f "${RUNFILES_DIR:-/dev/null}/bazel_tools/tools/bash/runfiles/runfiles.bash" ]]; then
31 elif [[ -f "${RUNFILES_MANIFEST_FILE:-/dev/null}" ]]; then
[all …]
/aosp_15_r20/tools/repohooks/rh/
H A Dshell_unittest.py8 # http://www.apache.org/licenses/LICENSE-2.0
31 # pylint: disable=wrong-import-position
41 def _assertEqual(self, func, test_input, test_output, result): argument
43 diff = '\n'.join(list(self.differ.compare([test_output], [result])))
45 f'{test_output!r}, but got {result!r}\n{diff}')
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/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) ==
157 (const unsigned char *) key->x,
164 (unsigned char *) block1->x,
170 (unsigned char *) block2->x,
[all …]
/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) ==
157 (const unsigned char *) key->x,
164 (unsigned char *) block1->x,
170 (unsigned char *) block2->x,
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/lite/kernels/internal/
H A Dlog_quantized_test.cc7 http://www.apache.org/licenses/LICENSE-2.0
40 double scale = static_cast<double>(max_val + 1 - min_val) / engine_.max(); in RandomIntVector()
59 static_cast<double>(input_val) * 0.5 / (1 << (30 - input_integer_bits))); in LogPositiveValuesViaFloat()
65 (1 << (31 - output_integer_bits))); in LogPositiveValuesViaFloat()
70 void CheckOutputData(const std::vector<int32>& test_output, in CheckOutputData() argument
80 const int n = test_output.size(); in CheckOutputData()
83 // Adjust tolerance when input <= 5*2^-(31-input_integer_bits). in CheckOutputData()
89 (1 << (31 - output_integer_bits))))); in CheckOutputData()
90 ASSERT_LE(std::abs(test_output[i] - reference_output[i]), in CheckOutputData()
94 << static_cast<double>(test_input[i]) / (1 << (31 - input_integer_bits)) in CheckOutputData()
[all …]
/aosp_15_r20/external/pigweed/targets/stm32f429i_disc1/py/stm32f429i_disc1_utils/
H A Dunit_test_runner.py8 # https://www.apache.org/licenses/LICENSE-2.0
15 """This script flashes and runs unit tests on stm32f429i-disc1 boards."""
28 # Path used to access non-python resources in this python module.
49 # than the user-configurable timeout as there's a delay while the device is
63 """Parses command-line arguments."""
68 '--openocd-config',
73 '--stlink-serial',
79 '--port',
84 '--baud',
91 '--test-timeout',
[all …]
/aosp_15_r20/external/pigweed/pw_arduino_build/py/pw_arduino_build/
H A Dunit_test_runner.py8 # https://www.apache.org/licenses/LICENSE-2.0
43 # than the user-configurable timeout as there's a delay while the device is
68 """Parses command-line arguments."""
75 '--port',
79 '--baud',
86 '--test-timeout',
93 '--verbose',
94 '-v',
101 '--flash-only',
109 "-c", "--config-file", required=True, help="Path to a config file."
[all …]
/aosp_15_r20/external/bazel-skylib/tests/
H A Dunittest_test.sh9 # http://www.apache.org/licenses/LICENSE-2.0
20 # analysis-phase tests written with unittest.bzl appropriately
23 # --- begin runfiles.bash initialization ---
24 set -euo pipefail
25 if [[ ! -d "${RUNFILES_DIR:-/dev/null}" && ! -f "${RUNFILES_MANIFEST_FILE:-/dev/null}" ]]; then
26 if [[ -f "$0.runfiles_manifest" ]]; then
28 elif [[ -f "$0.runfiles/MANIFEST" ]]; then
30 elif [[ -f "$0.runfiles/bazel_tools/tools/bash/runfiles/runfiles.bash" ]]; then
34 if [[ -f "${RUNFILES_DIR:-/dev/null}/bazel_tools/tools/bash/runfiles/runfiles.bash" ]]; then
36 elif [[ -f "${RUNFILES_MANIFEST_FILE:-/dev/null}" ]]; then
[all …]
/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_smtplib.py59 n -= 1
211 n -= 1
223 MSG_BEGIN = '---------- MESSAGE FOLLOWS ----------\n'
224 MSG_END = '------------ END MESSAGE ------------\n'
226 # NOTE: Some SMTP objects in the tests below are created with a non-default
251 self.serv = smtpd.DebuggingServer((HOST, 0), ('nowhere', -1),
280 test_output = self.output.getvalue()
281 return re.sub(r'(.*?)^X-Peer:\s*\S+\n(.*)', r'\1\2',
282 test_output, flags=re.MULTILINE|re.DOTALL)
347 smtp.putcmd('helo\nX-INJECTED')
[all …]
/aosp_15_r20/external/pigweed/targets/lm3s6965evb_qemu/py/lm3s6965evb_qemu_utils/
H A Dunit_test_runner.py8 # https://www.apache.org/licenses/LICENSE-2.0
15 """The script that runs unit tests on lm3s6965evb-qemu targets."""
21 _TARGET_QEMU_COMMAND = 'qemu-system-arm'
27 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:
39 """Parses command-line arguments."""
45 def launch_tests(binary: str) -> int:
49 '-cpu',
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/test/src/formatters/
H A Dmod.rs21 fn write_discovery_start(&mut self) -> io::Result<()>; in write_discovery_start()
22 fn write_test_discovered(&mut self, desc: &TestDesc, test_type: &str) -> io::Result<()>; in write_test_discovered()
23 fn write_discovery_finish(&mut self, state: &ConsoleTestDiscoveryState) -> io::Result<()>; in write_discovery_finish()
25 fn write_run_start(&mut self, test_count: usize, shuffle_seed: Option<u64>) -> io::Result<()>; in write_run_start()
26 fn write_test_start(&mut self, desc: &TestDesc) -> io::Result<()>; in write_test_start()
27 fn write_timeout(&mut self, desc: &TestDesc) -> io::Result<()>; in write_timeout()
35 ) -> io::Result<()>; in write_result()
36 fn write_run_finish(&mut self, state: &ConsoleTestState) -> io::Result<bool>; in write_run_finish()
39 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()
[all …]

12345678910>>...14