Home
last modified time | relevance | path

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

123

/third_party/googletest/googletest/test/
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 …]
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 …]
/third_party/mbedtls/tests/scripts/
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 …]
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/
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 …]
/third_party/mindspore/mindspore-src/source/tests/st/ops/gpu/
Dtest_loss.py7 # http://www.apache.org/licenses/LICENSE-2.0
32 x = self.abs(base - target)
44 error_range = np.ones(shape=output_data.shape) * 10e-6
46 test_output = loss(input_data, target_data)
47 diff = test_output - output_data * 2.0
51 test_output = loss(input_data, target_data)
52 diff = test_output - output_data * 3
60 diff = test_data - output.asnumpy()
81 x = self.abs(base - target)
92 error_range = np.ones(shape=output_data.shape) * 10e-6
[all …]
/third_party/rust/rust/library/test/src/formatters/
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 …]
/third_party/mbedtls/tests/suites/
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 …]
/third_party/ltp/lib/newlib_tests/shell/
Dtest_timeout.sh2 # SPDX-License-Identifier: GPL-2.0-or-later
4 # Copyright (c) 2021 Joerg Vehlow <joerg.vehlow@aox-tech.de>
27 timeout02.sh| -10|0| |2
28 timeout02.sh| -0.1|0| |0
29 timeout02.sh| -1.1|0| |2
30 timeout02.sh|-10.1|0| |2
38 # - test: The test to execute
39 # - timeout: The timeout multiplicator (optional)
40 # - use_cat: Pipe the output of the command through cat (optional)
44 # - test_exit: The exit code of the test
[all …]
/third_party/googletest/ci/
Dlinux-presubmit.sh32 set -euox pipefail
34 readonly LINUX_LATEST_CONTAINER="gcr.io/google.com/absl-177019/linux_hybrid-latest:20230217"
35 readonly LINUX_GCC_FLOOR_CONTAINER="gcr.io/google.com/absl-177019/linux_gcc-floor:20230120"
37 if [[ -z ${GTEST_ROOT:-} ]]; then
41 if [[ -z ${STD:-} ]]; then
49 --volume="${GTEST_ROOT}:/src:ro" \
50 --tmpfs="/build:exec" \
51 --workdir="/build" \
52 --rm \
53 --env="CC=${cc}" \
[all …]
/third_party/grpc/tools/internal_ci/macos/
Dgrpc_run_bazel_isolated_tests.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -ex
28 # Re-enable the test (change "bazel build" to "bazel test") once it's passing reliably.
31 tools/bazel build $RUN_TESTS_FLAGS --genrule_strategy=local --test_output=all --copt="-DGRPC_CFSTRE…
33 # Missing the /var/db/ntp-kod file may breaks the ntp synchronization.
35 # TODO(yulin-liang): investigate how to run time_jump_test without needing to mess with the system …
37 sudo touch /var/db/ntp-kod
38 sudo chown root:wheel /var/db/ntp-kod
41 sudo sntp -sS pool.ntp.org
45 # Re-enable the test (change "bazel build" to "bazel test") once it's passing reliably.
[all …]
/third_party/mesa3d/src/compiler/glsl/glcpp/tests/
Dglcpp_test.py1 # encoding=utf-8
44 parser.add_argument('--unix', action='store_true', help='Run tests for Unix style newlines')
45 …parser.add_argument('--windows', action='store_true', help='Run tests for Windows/Dos style newlin…
46 …parser.add_argument('--oldmac', action='store_true', help='Run tests for Old Mac (pre-OSX) style n…
47 …parser.add_argument('--bizarro', action='store_true', help='Run tests for Bizarro world style newl…
56 for l in contents.decode('utf-8').split(nl_format):
57 if 'glcpp-args:' in l:
58 return l.split('glcpp-args:')[1].strip().split()
62 def test_output(glcpp, contents, expfile, nl_format='\n'): function
72 actual = actual.decode('utf-8')
[all …]
/third_party/python/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 …]
/third_party/rust/rust/library/test/src/
Dlib.rs1 //! Support code for rustc's built in unit-test and micro-benchmarking
9 //! See the [Testing Chapter](../book/ch11-00-testing.html) of the book for more
118 … // If we encounter a non-unwinding panic, flush any captured output from the current test, in test_main()
119 // and stop capturing output to ensure that the non-unwinding panic message is visible. in test_main()
154 /// This is the entry point for the main function generated by `rustc --test`
168 /// This is the entry point for the main function generated by `rustc --test`
212 fn make_owned_test(test: &&TestDescAndFn) -> TestDescAndFn { in make_owned_test()
216 _ => panic!("non-static tests passed to test::test_main_static"), in make_owned_test()
223 pub fn assert_test_result<T: Termination>(result: T) -> Result<(), String> { in assert_test_result()
229 "the test returned a termination value with a non-zero status code \ in assert_test_result()
[all …]
/third_party/grpc/test/cpp/interop/
DREADME.md7 GRPC_VERBOSITY=DEBUG ibazel run --compilation_mode=dbg //test/cpp/interop:interop_server -- --port=…
11 …RPC_VERBOSITY=DEBUG ibazel run --test_output=streamed //test/cpp/interop:interop_client -- --serve…
/third_party/benchmark/.github/workflows/
Dbazel.yml8 build-and-test:
9 runs-on: ubuntu-latest
12 - uses: actions/checkout@v1
14 - name: mount bazel cache
17 cache-name: bazel-cache
20 key: ${{ env.cache-name }}-${{ runner.os }}-${{ github.ref }}
21 restore-keys: |
22 ${{ env.cache-name }}-${{ runner.os }}-main
24 - name: build
28 - name: test
[all …]
/third_party/grpc/tools/remote_build/include/
Dtest_config_common.bazelrc8 # http://www.apache.org/licenses/LICENSE-2.0
18 build --verbose_failures=true
21 test --test_env=GRPC_VERBOSITY=debug
24 build --test_output=errors
/third_party/grpc/tools/internal_ci/linux/
Dgrpc_flaky_network_in_docker.sh8 # http://www.apache.org/licenses/LICENSE-2.0
18 set -ex
21 apt-get install -y iptables iproute2
23 python3 tools/run_tests/python_utils/bazel_report_helper.py --report_path bazel_flaky_network_test
24 …test/bazel_wrapper test --test_output=all --test_timeout=1200 //test/cpp/end2end:flaky_network_tes…
Dgrpc_python_bazel_test_fork_in_docker.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -ex
18 RESULTSTORE_RESULTS_FLAG="--bazelrc=tools/remote_build/include/test_locally_with_resultstore_result…
19 BAZEL_FLAGS="--test_output=errors"
21 python3 tools/run_tests/python_utils/bazel_report_helper.py --report_path python_bazel_tests_fork_s…
26 …sts_fork_support/bazel_wrapper ${RESULTSTORE_RESULTS_FLAG} test --config=fork_support --runs_per_t…
Dgrpc_python_bazel_test_in_docker.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -ex
18 RESULTSTORE_RESULTS_FLAG="--bazelrc=tools/remote_build/include/test_locally_with_resultstore_result…
20 BAZEL_FLAGS="--test_output=errors"
22 python3 tools/run_tests/python_utils/bazel_report_helper.py --report_path python_bazel_tests
25 python3 tools/run_tests/python_utils/bazel_report_helper.py --report_path python_bazel_tests_single…
26 python_bazel_tests_single_threaded_unary_streams/bazel_wrapper ${RESULTSTORE_RESULTS_FLAG} test --c…
28 python3 tools/run_tests/python_utils/bazel_report_helper.py --report_path python_bazel_tests_poller…
29 python_bazel_tests_poller_engine/bazel_wrapper ${RESULTSTORE_RESULTS_FLAG} test --config=python_pol…
31 python3 tools/run_tests/python_utils/bazel_report_helper.py --report_path python_bazel_tests_fork_s…
[all …]
/third_party/skia/m133/infra/bots/task_drivers/bazel_test_benchmark/
Dbazel_test_benchmark_test.go3 // Use of this source code is governed by a BSD-style license that can be
37 …outputsZIP := filepath.Join(tdArgs.checkoutDir, "bazel-testlogs", "some", "test", "target", "test.…
42 "some-image.png": "fake PNG",
43 "some-plaintext.txt": "fake TXT",
53 gcsClient.On("Bucket").Return("skia-perf")
57 …"nano-json-v1/2022/01/31/01/ff99ff99ff99ff99ff99ff99ff99ff99ff99ff99/BazelTest-Foo-Bar/results_123…
91 "Extracting file: some-image.png",
92 "Not extracting non-PNG / non-JSON file: some-plaintext.txt",
95 …"Upload gs://skia-perf/nano-json-v1/2022/01/31/01/ff99ff99ff99ff99ff99ff99ff99ff99ff99ff99/BazelTe…
111 "post-submit task",
[all …]
/third_party/grpc/tools/fuzzing/
Dsample_fuzzers.sh1 #! /bin/bash -ex
8 # http://www.apache.org/licenses/LICENSE-2.0
21 tools/bazel test `tools/bazel query "attr(tags, '\\bgrpc-fuzzer\\b', //test/...)"` \
22 -c dbg --config fuzzer_asan --test_output=errors || true
/third_party/grpc/tools/internal_ci/linux/aws/
Dgrpc_bazel_test_c_cpp_aarch64.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -ex
18 # install pre-requisites for gRPC C core build
20 sudo apt install -y build-essential autoconf libtool pkg-config cmake python3 python3-pip clang
22 python3 --version
30 …l test --config=opt --test_output=errors --test_tag_filters=-no_linux,-no_arm64 --build_tag_filter…
/third_party/protobuf/rust/test/upb/
DBUILD1 # Protocol Buffers - Google's data interchange format
3 # Use of this source code is governed by a BSD-style
5 # https://developers.google.com/open-source/licenses/bsd
10 # for example tests exercising ABI compatibility with other UPB-based Protobuf implementations).
40 # blaze test //rust/test/upb:debug_string_test --test_arg=--nocapture -c dbg
41 # --test_output=all to see debug string in test output logs.
/third_party/skia/m133/infra/bots/task_drivers/bazel_test_gm/
Dbazel_test_gm_test.go3 // Use of this source code is governed by a BSD-style license that can be
31 …outputsZIP := filepath.Join(tdArgs.checkoutDir, "bazel-testlogs", "some", "test", "target", "test.…
81 …"bazelisk test //some/test:target --config=linux_rbe --config=GCE_Debian10_AVX512 --test_output=er…
93 "/path/to/goldctl auth --work-dir "+goldctlWorkDir+" --luci",
95--work-dir "+goldctlWorkDir+" --test-name alfa --png-file "+outputsZIPExtractionDir+"/alfa.png --p…
96--work-dir "+goldctlWorkDir+" --test-name beta --png-file "+outputsZIPExtractionDir+"/beta.png --p…
97 "/path/to/goldctl imgtest finalize --work-dir "+goldctlWorkDir,
111 "--config=linux_rbe",
112 "--config=GCE_Debian10_AVX512",
113 "--test_output=errors",
[all …]
/third_party/skia/third_party/externals/abseil-cpp/ci/
Dmacos_xcode_bazel.sh9 # https://www.apache.org/licenses/LICENSE-2.0
20 set -euox pipefail
22 if [[ -z ${ABSEIL_ROOT:-} ]]; then
27 KOKORO_GFILE_BAZEL_BIN="bazel-3.7.0-darwin-x86_64"
28 if [[ ${KOKORO_GFILE_DIR:-} ]] && [[ -f ${KOKORO_GFILE_DIR}/${KOKORO_GFILE_BAZEL_BIN} ]]; then
36 echo "---------------"
37 gcc -v
38 echo "---------------"
40 echo "---------------"
44 if [[ -n "${ALTERNATE_OPTIONS:-}" ]]; then
[all …]

123