| /third_party/boost/libs/test/test/framework-ts/ |
| D | test-macro-global-fixture.cpp | 25 #include "logger-for-tests.hpp" 59 BOOST_TEST_MESSAGE("GlobalFixtureWithSetup::setup-calling function"); in setup() 61 BOOST_TEST_MESSAGE("GlobalFixtureWithSetup::setup-calling function done"); in setup() 75 BOOST_TEST_MESSAGE("GlobalFixtureWithTeardown::teardown-calling function"); in teardown() 77 BOOST_TEST_MESSAGE("GlobalFixtureWithTeardown::teardown-calling function done"); in teardown() 96 …output << "* " << log_format << "-format ********************************************************… in check_global_fixture() 126 ts->p_default_status.value = test_unit::RS_ENABLED; in check_global_fixture() 128 …check_global_fixture<global_fixture_t>( output, OF_CLF, ts->p_id, bt_module_failed, has_setup_erro… in check_global_fixture() 129 …check_global_fixture<global_fixture_t>( output, OF_XML, ts->p_id, bt_module_failed, has_setup_erro… in check_global_fixture() 130 …check_global_fixture<global_fixture_t>( output, OF_JUNIT, ts->p_id, bt_module_failed, has_setup_er… in check_global_fixture() [all …]
|
| D | log-formatter-test.cpp | 28 #include "logger-for-tests.hpp" 110 …output << "* " << log_format << "-format ********************************************************… in check() 124 ts->p_default_status.value = test_unit::RS_ENABLED; in check() 126 check( output, OF_CLF, ts->p_id ); in check() 127 check( output, OF_XML, ts->p_id ); in check() 128 check( output, OF_JUNIT, ts->p_id, log_successful_tests ); in check() 129 …check( output, OF_JUNIT, ts->p_id, log_cpp_exception_errors ); // should branch to the log log_all… in check() 194 #define PATTERN_FILE_NAME "log-formatter-test.pattern" in BOOST_AUTO_TEST_CASE() 203 : "./baseline-outputs/" PATTERN_FILE_NAME ) in BOOST_AUTO_TEST_CASE() 206 output_test_stream_for_loggers test_output( pattern_file_name, in BOOST_AUTO_TEST_CASE() local [all …]
|
| D | result-report-test.cpp | 1 // (C) Copyright Gennadiy Rozental 2001-2015. 103 ts->p_default_status.value = test_unit::RS_ENABLED; in check() 106 framework::finalize_setup_phase( ts->p_id ); in check() 109 check( output, OF_CLF, ts->p_id ); in check() 110 check( output, OF_XML, ts->p_id ); in check() 136 … ? (runtime_config::save_pattern() ? PATTERN_FILE_NAME : "./baseline-outputs/" PATTERN_FILE_NAME ) in BOOST_AUTO_TEST_CASE() 139 output_test_stream test_output( pattern_file_name, !runtime_config::save_pattern() ); in BOOST_AUTO_TEST_CASE() local 140 results_reporter::set_stream( test_output ); in BOOST_AUTO_TEST_CASE() 145 ts_1->add( BOOST_TEST_CASE( good_foo ) ); in BOOST_AUTO_TEST_CASE() 148 ts_1b->add( BOOST_TEST_CASE( bad_foo ), 1 ); in BOOST_AUTO_TEST_CASE() [all …]
|
| D | log-count-skipped-test.cpp | 16 #include "logger-for-tests.hpp" 83 …output << "* " << log_format << "-format ********************************************************… in check() 98 check( output, OF_CLF, ts->p_id ); in check() 99 check( output, OF_XML, ts->p_id ); in check() 100 check( output, OF_JUNIT, ts->p_id, log_successful_tests ); in check() 101 check( output, OF_JUNIT, ts->p_id, log_cpp_exception_errors ); in check() 118 #define PATTERN_FILE_NAME "log-count-skipped-tests.pattern" in BOOST_AUTO_TEST_CASE() 122 … ? (runtime_config::save_pattern() ? PATTERN_FILE_NAME : "./baseline-outputs/" PATTERN_FILE_NAME ) in BOOST_AUTO_TEST_CASE() 125 output_test_stream_for_loggers test_output( pattern_file_name, in BOOST_AUTO_TEST_CASE() local 135 …collector_t* decorator_collector = &(*utf::precondition(skip_with_message("-some precondition-"))); in BOOST_AUTO_TEST_CASE() [all …]
|
| /third_party/googletest/googletest/test/ |
| D | googletest-output-test.py | 35 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']) 67 '--gtest_print_time', [all …]
|
| D | googletest-catch-exceptions-test.py | 33 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_') 51 # Path to the googletest-catch-exceptions-test_ binary, compiled with 54 'googletest-catch-exceptions-no-ex-test_') 59 # Tests in this file run a Google-Test-based test program and expect it 61 # the premature-exit-file protocol by design. Unset the 62 # premature-exit filepath to prevent Google Test from creating [all …]
|
| /third_party/boost/libs/signals2/test/ |
| D | deletion_test.cpp | 3 // Copyright Douglas Gregor 2001-2003. 19 static std::string test_output; variable 22 explicit remove_connection(int v = 0, int i = -1) : value(v), idx(i) {} in remove_connection() 31 test_output += static_cast<char>(value + '0'); in operator ()() 53 test_output = ""; in test_remove_self() 55 BOOST_CHECK(test_output == "0123"); in test_remove_self() 57 test_output = ""; in test_remove_self() 59 BOOST_CHECK(test_output == "013"); in test_remove_self() 71 test_output = ""; in test_remove_self() 73 BOOST_CHECK(test_output == "0123"); in test_remove_self() [all …]
|
| D | shared_connection_block_test.cpp | 3 // Copyright Douglas Gregor 2001-2003. 22 static std::ostringstream test_output; variable 29 test_output << value; in operator ()() 49 test_output.str(""); in BOOST_AUTO_TEST_CASE() 51 BOOST_CHECK(test_output.str() == "013"); in BOOST_AUTO_TEST_CASE() 55 test_output.str(""); in BOOST_AUTO_TEST_CASE() 57 BOOST_CHECK(test_output.str() == "0123"); in BOOST_AUTO_TEST_CASE() 63 test_output.str(""); in BOOST_AUTO_TEST_CASE() 65 std::cout << test_output.str() << std::endl; in BOOST_AUTO_TEST_CASE() 66 BOOST_CHECK(test_output.str() == "023"); in BOOST_AUTO_TEST_CASE() [all …]
|
| /third_party/grpc/third_party/upb/kokoro/ubuntu/ |
| D | build.sh | 3 set -ex 6 if [ -x "$(command -v use_bazel.sh)" ]; then 12 ls -l `which cmake` 13 cmake --version 22 gcc --version 23 CC=gcc bazel test -c opt --test_output=errors ... -- -benchmarks:benchmark 25 CC=gcc bazel test --test_output=errors ... 26 …CC=gcc bazel test --test_output=errors ... --//:fasttable_enabled=true -- -cmake:test_generated_fi… 29 # if gcc -fanalyzer -x c /dev/null -c -o /dev/null; then 30 # CC=gcc bazel test --copt=-fanalyzer --test_output=errors ... [all …]
|
| /third_party/mbedtls/tests/scripts/ |
| D | basic-build-test.sh | 3 # basic-build-tests.sh 6 # SPDX-License-Identifier: Apache-2.0 12 # http://www.apache.org/licenses/LICENSE-2.0 26 # * Unit tests - executed using tests/scripts/run-test-suite.pl 27 # * Self-tests - executed using the test suites above 28 # * System tests - executed using tests/ssl-opt.sh 29 # * Interoperability tests - executed using tests/compat.sh 33 # Note the tests self-adapt due to configurations in include/mbedtls/mbedtls_config.h 39 # Usage: basic-build-tests.sh 43 set -eu [all …]
|
| /third_party/boost/libs/test/doc/html/boost_test/ |
| D | test_output.html | 3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 10 <link rel="next" href="test_output/test_tools_support_for_logging.html" title="Tools supports for l… 22 <div class="spirit-nav"> 23 …./../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="test_output/test_tools_supp… 27 <a name="boost_test.test_output"></a><a class="link" href="test_output.html" title="Controlling out… 30 <dt><span class="section"><a href="test_output/test_tools_support_for_logging.html">Tools 33 <dt><span class="section"><a href="test_output/test_tools_support_for_logging/testing_tool_output_d… 35 <dt><span class="section"><a href="test_output/test_tools_support_for_logging/test_output_macro_mes… 37 <dt><span class="section"><a href="test_output/test_tools_support_for_logging/checkpoints.html">Che… 39 <dt><span class="section"><a href="test_output/test_tools_support_for_logging/contexts.html">Contex… [all …]
|
| /third_party/boost/libs/test/doc/test_output/ |
| D | testout_reference.qbk | 13 [/ ------------------------------------------------------------------------------------------------… 17 [tip See the [link boost_test.test_output.test_tools_support_for_logging.checkpoints checkpoint] se… 25 [tip See the [link boost_test.test_output.test_tools_support_for_logging.checkpoints checkpoint] se… 33 [tip See the [link boost_test.test_output.test_tools_support_for_logging.test_output_macro_message … 39 For more details see [link boost_test.test_output.test_tools_support_for_logging.contexts here]. 44 For more details see [link boost_test.test_output.test_tools_support_for_logging.contexts here]. 50 For more details see [link boost_test.test_output.test_tools_support_for_logging.contexts here]. 60 [tip See the [link boost_test.test_output.test_tools_support_for_logging.testing_tool_output_disabl…
|
| D | log_format.qbk | 12 * [link boost_test.test_output.log_formats.log_human_readable_format HRF]: human readable format 13 * [link boost_test.test_output.log_formats.log_xml_format XML]: an machine interpretable log format 14 * [link boost_test.test_output.log_formats.log_junit_format JUNIT]: a standardized log format 25 see a non-exhaustive log in his terminal using a human friendly format, while having a detailed 35 * [link boost_test.test_output.log_formats.test_log_output "non fatal error messages"] and the test… 36 …is generated in [link boost_test.test_output.log_formats.log_human_readable_format human readable … 37 * [link boost_test.test_output.log_formats.test_log_output "general information"] for 38 [link boost_test.test_output.log_formats.log_junit_format JUNIT] log format 42 [link boost_test.test_output.logging_api test log public interfaces]. The behavior is logger specif… 45 [/ ------------------------------------------------------------------------------------------------… [all …]
|
| /third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/ |
| D | cpuset_syscall_testset.sh | 19 # 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/glib/gio/tests/ |
| D | taptestrunner.py | 2 # coding=utf-8 4 # Copyright (c) 2015 Remko Tronçon (https://el-tramo.be) 47 self.test_output = None 65 self.test_output = self.error_stream 67 self.test_output = StringIO() 70 self.test_output = self.message 71 sys.stdout = sys.stderr = self.test_output 103 (self.test_output_log, self.test_output, "test_output"), 111 self.print_raw(" ---\n") 118 self.print_raw(" ---\n") [all …]
|
| /third_party/glib/gobject/tests/ |
| D | taptestrunner.py | 2 # coding=utf-8 4 # Copyright (c) 2015 Remko Tronçon (https://el-tramo.be) 47 self.test_output = None 65 self.test_output = self.error_stream 67 self.test_output = StringIO() 70 self.test_output = self.message 71 sys.stdout = sys.stderr = self.test_output 103 (self.test_output_log, self.test_output, "test_output"), 111 self.print_raw(" ---\n") 118 self.print_raw(" ---\n") [all …]
|
| /third_party/boost/libs/test/doc/html/boost_test/test_output/ |
| D | log_formats.html | 3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 8 <link rel="up" href="../test_output.html" title="Controlling outputs"> 22 <div class="spirit-nav"> 23 …./../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../test_output.html"><img src=… 27 <a name="boost_test.test_output.log_formats"></a><a class="link" href="log_formats.html" title="Log… 42 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 58 <a name="boost_test.test_output.log_formats.h0"></a> 59 …se"><a name="boost_test.test_output.log_formats.design"></a></span><a class="link" href="log_forma… 64 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 72 the user might want to see a non-exhaustive log in his terminal using [all …]
|
| D | test_tools_support_for_logging.html | 3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 8 <link rel="up" href="../test_output.html" title="Controlling outputs"> 9 <link rel="prev" href="../test_output.html" title="Controlling outputs"> 22 <div class="spirit-nav"> 23 …y="p" href="../test_output.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"><… 27 <a name="boost_test.test_output.test_tools_support_for_logging"></a><a class="link" href="test_tool… 44 <td align="right"><div class="copyright-footer">Copyright © 2001-2020 Boost.Test contributors<p> 51 <div class="spirit-nav"> 52 …y="p" href="../test_output.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"><…
|
| D | test_output_progress.html | 3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 8 <link rel="up" href="../test_output.html" title="Controlling outputs"> 22 <div class="spirit-nav"> 23 …./../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../test_output.html"><img src=… 27 <a name="boost_test.test_output.test_output_progress"></a><a class="link" href="test_output_progres… 39 …<a href="#ftn.boost_test.test_output.test_output_progress.f0" class="footnote" name="boost_test.te… 64 <a name="boost_test.test_output.test_output_progress.h0"></a> 65 …"boost_test.test_output.test_output_progress.example_descr"></a></span><a class="link" href="test_… 76 <pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting… 97 …-programlisting"><span class="special">></span> <span class="identifier">example</span> <span c… [all …]
|
| /third_party/mindspore/tests/st/ops/gpu/ |
| D | test_loss.py | 7 # 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/mbedtls/tests/suites/ |
| D | test_suite_cmac.function | 25 unsigned char test_output[MBEDTLS_CIPHER_BLKSIZE_MAX]; 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 ) == 151 (const unsigned char*)key->x, 158 (unsigned char*)block1->x, 163 (unsigned char*)block2->x, [all …]
|
| /third_party/ltp/pan/ |
| D | scan.l | 22 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 47 * start-up state, inbetween tests 52 * test_start to test_output or test_end, 56 * test_output to execution_status. 73 SYM ctag=NULL; /* temporary - for storing current tag's info */ 75 SYM k; /* temporary sym pointer -- for key removal */ 77 static int test_output( SYM, SYM); 91 %option nolex-compat 95 UI [0-9]+ 96 A [a-zA-Z]+ [all …]
|
| /third_party/boost/libs/test/test/execution_monitor-ts/ |
| D | errors-handling-test.cpp | 1 // (C) Copyright Gennadiy Rozental 2001-2015. 29 #include "../framework-ts/logger-for-tests.hpp" 89 "user non-fatal error", "cpp exception", " system error", 111 BOOST_ERROR( "non-fatal error" ); in error_on_demand() 152 #define PATTERN_FILE_NAME "errors-handling-test.pattern" in BOOST_AUTO_TEST_CASE() 155 … ? (runtime_config::save_pattern() ? PATTERN_FILE_NAME : "./baseline-outputs/" PATTERN_FILE_NAME) in BOOST_AUTO_TEST_CASE() 162 output_test_stream test_output( pattern_file_name, !runtime_config::save_pattern() ); in BOOST_AUTO_TEST_CASE() local 165 test->p_default_status.value = test_unit::RS_ENABLED; in BOOST_AUTO_TEST_CASE() 166 framework::finalize_setup_phase( test->p_id ); in BOOST_AUTO_TEST_CASE() 178 test_output << "\n===========================\n" in BOOST_AUTO_TEST_CASE() [all …]
|
| /third_party/boost/libs/test/doc/html/boost_test/test_output/test_tools_support_for_logging/ |
| D | checkpoints.html | 3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 22 <div class="spirit-nav"> 27 <a name="boost_test.test_output.test_tools_support_for_logging.checkpoints"></a><a class="link" hre… 35 - the location a test module passed through. 47 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 60 by [links boost_test.test_output.test_tools_support_for_logging.contexts 64 <a name="boost_test.test_output.test_tools_support_for_logging.checkpoints.h0"></a> 65 …st.test_output.test_tools_support_for_logging.checkpoints.named_checkpoints"></a></span><a class="… 81 <a name="boost_test.test_output.test_tools_support_for_logging.checkpoints.h1"></a> 82 …test.test_output.test_tools_support_for_logging.checkpoints.example_descr"></a></span><a class="li… [all …]
|
| /third_party/re2/kokoro/ |
| D | bazel.sh | 2 set -eux 7 */windows-*) 8 choco upgrade bazel -y -i 19 bazel build --compilation_mode=dbg -- //:all 20 bazel test --compilation_mode=dbg --test_output=errors -- //:all \ 21 -//:dfa_test \ 22 -//:exhaustive1_test \ 23 -//:exhaustive2_test \ 24 -//:exhaustive3_test \ 25 -//:exhaustive_test \ [all …]
|