Home
last modified time | relevance | path

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

1234

/external/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'])
67 '--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_')
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 …]
/external/google-breakpad/src/testing/gtest/test/
Dgtest_output_test.py35 gtest_output_test.py --build_dir=BUILD/DIR --gengolden
37 gtest_output_test.py --gengolden
50 GENGOLDEN_FLAG = '--gengolden'
61 # --gtest_internal_skip_environment_and_ad_hoc_tests flag.
62 COMMAND_LIST_TESTS = ({}, [PROGRAM_PATH, '--gtest_list_tests'])
63 COMMAND_WITH_COLOR = ({}, [PROGRAM_PATH, '--gtest_color=yes'])
65 '--gtest_print_time',
66 '--gtest_internal_skip_environment_and_ad_hoc_tests',
67 '--gtest_filter=FatalFailureTest.*:LoggingTest.*'])
70 '--gtest_also_run_disabled_tests',
[all …]
Dgtest_catch_exceptions_test.py45 FLAG_PREFIX = '--gtest_'
71 # pylint:disable-msg=C6302
73 """Tests exception-catching behavior."""
76 def TestSehExceptions(self, test_output): argument
79 in test_output)
82 in test_output)
84 in test_output)
86 in test_output)
88 in test_output)
90 in test_output)
[all …]
/external/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 …]
/external/mesa3d/src/compiler/glsl/tests/
Dwarnings-test.sh3 if [ -z "$srcdir" -o -z "$abs_builddir" ]; then
22 if [ ! -x "$compiler" ]; then
31 test_output="$abs_builddir/$tests_relative_dir/`basename $test`"
32 mkdir -p $abs_builddir/$tests_relative_dir/
33 echo -n "Testing `basename $test`..."
34 $compiler --just-log --version 150 "$test" > "$test_output.out" 2>&1
36 if diff "$test.expected" "$test_output.out" >/dev/null 2>&1; then
41 diff "$test.expected" "$test_output.out"
45 if [ $total -eq 0 ]; then
/external/tensorflow/tensorflow/lite/kernels/internal/
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 …]
/external/ltp/pan/
Dscan.l22 * 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 …]
Dreporter.h21 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
58 #define TEST_OUTPUT 103 macro
73 #define SCAN_OUTPUT 30 /* test_output */
/external/autotest/client/deps/fakegudev/src/
Dtest-gudev.sh4 # Use of this source code is governed by a BSD-style license that can be
13 function test_output() { function
14 diff -u --ignore-all-space --ignore-blank-lines ${expected_output} \
16 if [ $? -ne 0 ]
24 if [ $# -eq 1 ]
30 LD_PRELOAD=./libfakegudev.so ./gudev-exercise $1 > ${actual_output}
31 test_output
37 if [ $# -eq 2 ]
44 ./gudev-exercise /dev/null > ${null_output}
128 LD_PRELOAD=./libfakegudev.so ./gudev-exercise /dev/fake /dev/fake /dev/fake > \
[all …]
/external/compiler-rt/cmake/Modules/
DBuiltinTests.cmake7 string(REGEX MATCHALL "<[A-Za-z0-9_]*>" substitutions
37 OUTPUT_VARIABLE TEST_OUTPUT
46 "${TEST_OUTPUT}\n${TEST_ERROR}\n${result}\n")
57 message(STATUS "Performing Test ${output} - Success")
59 message(STATUS "Performing Test ${output} - Failed")
/external/python/cpython3/Lib/test/
Dtest_smtplib.py49 n -= 1
170 n -= 1
182 MSG_BEGIN = '---------- MESSAGE FOLLOWS ----------\n'
183 MSG_END = '------------ END MESSAGE ------------\n'
185 # NOTE: Some SMTP objects in the tests below are created with a non-default
209 self.serv = smtpd.DebuggingServer((HOST, 0), ('nowhere', -1),
235 test_output = self.output.getvalue()
236 return re.sub(r'(.*?)^X-Peer:\s*\S+\n(.*)', r'\1\2',
237 test_output, flags=re.MULTILINE|re.DOTALL)
382 # Remove the X-Peer header that DebuggingServer adds as figuring out
[all …]
/external/tensorflow/tensorflow/tools/ci_build/windows/cpu/bazel/
Drun_cc_test_windows.sh8 # http://www.apache.org/licenses/LICENSE-2.0
22 # - JDK8, and JAVA_HOME set.
23 # - Microsoft Visual Studio 2015 Community Edition
24 # - Msys2
25 # - Anaconda3
29 set -x
30 set -e
47 # Compiling the following test is extremely slow with -c opt
51 …y "kind(cc_test, //tensorflow/cc/... + //tensorflow/core/...) - (${exclude_cpu_cc_tests}) - ($slow…
55 bazel test -k $slow_compiling_test --test_output=errors
[all …]
/external/perfetto/tools/
Drun_android_test8 # http://www.apache.org/licenses/LICENSE-2.0
35 ADB_PATH = os.path.join(ROOT_DIR, 'buildtools/android_sdk/platform-tools/adb')
115 parser.add_argument('--no-cleanup', '-n', action='store_true')
116 parser.add_argument('--no-data-deps', '-x', action='store_true')
117 parser.add_argument('--env', '-e', action='append')
127 AdbCall('wait-for-device')
130 AdbCall('wait-for-device')
133 AdbCall('shell', 'rm -rf "%s"; mkdir -p "%s"' % (2 * (target_dir,)))
137 trace_dir = '/data/misc/perfetto-traces'
138 AdbCall('shell', 'test -d "%s" || mkdir -p "%s"' % (2 * (trace_dir,)))
[all …]
/external/tensorflow/tensorflow/tools/ci_build/windows/gpu/bazel/
Drun_cc_test_windows.sh8 # http://www.apache.org/licenses/LICENSE-2.0
22 # - JDK8, and JAVA_HOME set.
23 # - Microsoft Visual Studio 2015 Community Edition
24 # - Msys2
25 # - Anaconda3
29 set -x
30 set -e
49 # Compiling the following test is extremely slow with -c opt
53 …y "kind(cc_test, //tensorflow/cc/... + //tensorflow/core/...) - (${exclude_gpu_cc_tests}) - ($slow…
57 # TODO(pcloudy): There is a bug in Bazel preventing build with GPU support without -c opt
[all …]
/external/toolchain-utils/dejagnu/
Dgdb_dejagnu.py4 # Use of this source code is governed by a BSD-style license that can be
33 parser.add_option('-c',
34 '--chromeos_root',
37 parser.add_option('-m',
38 '--mount',
41 'Under "auto" mode, which is the default - gdb is '
44 '- the gdb_source is set to "$chromeos_'
47 parser.add_option('-b',
48 '--board',
51 parser.add_option('-r',
[all …]
/external/ltp/doc/
Dltp-howto.txt138 program with a non-zero exit status, i.e. exit(1). Conversely,
157 harness. We have provided a simple solution with ltp-pan to
164 5.1 Ltp-pan
166 Ltp-pan is a simple test driver with the ability to keep track
169 them. By default ltp-pan will select a command randomly from
173 test output. Ltp-pan can be nested to create very complex test
176 Ltp-pan uses an active file, also called a zoo file to keep track
179 ltp-pan it becomes a test tag in itself, thus it requires a
180 name for itself. Ltp-pan updates the active file to show which
182 ltp-pan will overwrite the first character with a '#'. The active
[all …]
Dltp-howto.lyx219 the test program with a non-zero exit status, i.e.
256 ltp-pan
266 Ltp-pan
271 ltp-pan
276 By default ltp-pan will select a command randomly from the list of test tags,
280 Ltp-pan can be nested to create very complex test environments.
283 Ltp-pan uses an
293 When you start ltp-pan it becomes a test tag in itself, thus it requires a
295 Ltp-pan updates the active file to show which test tags are currently running.
296 When a test tag exits, ltp-pan will overwrite the first character with a '#'.
[all …]
/external/python/setuptools/setuptools/tests/
Dtest_windows_wrappers.py7 for command-line programs, cli.exe, and one for graphical programs,
38 Create a simple script, foo-script.py
40 Note that the script starts with a Unix-style '#!' line saying which
57 script_name = 'foo-script.py'
58 wrapper_source = 'cli-32.exe'
64 print(sys.argv[0][-14:])
68 print('non-optimized')
75 by removing the '.exe' suffix and adding the '-script.py' suffix. (For
76 GUI programs, the suffix '-script.pyw' is added.) This is why we
83 - Strings containing spaces are surrounded by double quotes.
[all …]
/external/tensorflow/tensorflow/tools/ci_build/install/
D.bazelrc3 # The easiest solution is to set up a bazelrc file forcing --batch.
4 startup --batch
8 build --verbose_failures --spawn_strategy=standalone --strategy=Genrule=standalone
9 test --spawn_strategy=standalone
12 common --color=yes
14 # Configure tests - increase timeout, print errors and timeout warnings
15 test --verbose_failures --test_output=errors --test_verbose_timeout_warnings
/external/tensorflow/tensorflow/tools/ci_build/linux/ppc64le/cpu/
Drun_py2.sh8 # http://www.apache.org/licenses/LICENSE-2.0
18 set -e
19 set -x
21 N_JOBS=$(grep -c ^processor /proc/cpuinfo)
29 export CC_OPT_FLAGS='-mcpu=power8 -mtune=power8'
34 bazel test --test_tag_filters=-no_oss,-oss_serial,-gpu,-benchmark-test -k \
35 --jobs=${N_JOBS} --test_timeout 300,450,1200,3600 --build_tests_only --config=opt \
36 --test_output=errors --test_size_filters=small,medium -- \
37 //tensorflow/... -//tensorflow/compiler/...
Drun_py3.sh8 # http://www.apache.org/licenses/LICENSE-2.0
18 set -e
19 set -x
21 N_JOBS=$(grep -c ^processor /proc/cpuinfo)
29 export CC_OPT_FLAGS='-mcpu=power8 -mtune=power8'
34 bazel test --test_tag_filters=-no_oss,-oss_serial,-gpu,-benchmark-test -k \
35 --jobs=${N_JOBS} --test_timeout 300,450,1200,3600 --build_tests_only --config=opt \
36 --test_output=errors --test_size_filters=small,medium -- \
37 //tensorflow/... -//tensorflow/compiler/...
/external/tensorflow/tensorflow/tools/ci_build/xla/linux/rocm/
Drun_py3.sh8 # http://www.apache.org/licenses/LICENSE-2.0
18 set -e
19 set -x
21 N_JOBS=$(grep -c ^processor /proc/cpuinfo)
33 echo "build --distinct_host_configuration=false" >> .tf_configure.bazelrc
37 bazel test --config=rocm --test_tag_filters=-no_gpu,-benchmark-test,-no_oss -k \
38 --jobs=${N_JOBS} --test_timeout 300,450,1200,3600 \
39 --build_tests_only --test_output=errors --local_test_jobs=1 \
40 --config=xla -- \
/external/tensorflow/tensorflow/tools/ci_build/osx/cpu/
Drun_py3_cc_core.sh8 # http://www.apache.org/licenses/LICENSE-2.0
18 set -e
19 set -x
21 N_JOBS=$(sysctl -n hw.ncpu)
33 bazel test --test_tag_filters=-no_oss,-gpu,-benchmark-test,-nomac,-no_mac \
34 --announce_rc \
35 --test_timeout 300,450,1200,3600 \
36 --test_size_filters=small,medium \
37 --jobs=${N_JOBS} --build_tests_only --test_output=errors -k -- \
38 //tensorflow/... -//tensorflow/compiler/... -//tensorflow/contrib/...
/external/tensorflow/tensorflow/tools/ci_build/linux/cpu/
Drun_py3_contrib.sh8 # http://www.apache.org/licenses/LICENSE-2.0
18 set -e
19 set -x
21 N_JOBS=$(grep -c ^processor /proc/cpuinfo)
30 export CC_OPT_FLAGS='-mavx'
35 bazel test --test_tag_filters=-no_oss,-oss_serial,-gpu,-benchmark-test -k \
36 --jobs=${N_JOBS} --test_timeout 300,450,1200,3600 --config=opt \
37 --test_size_filters=small,medium --test_output=errors -- \

1234