Home
last modified time | relevance | path

Searched refs:should_fail (Results 1 – 25 of 37) sorted by relevance

12

/external/googletest/googletest/test/
Dgoogletest-throw-on-failure-test.py80 def RunAndVerify(self, env_var_value, flag_value, should_fail): argument
110 if should_fail:
123 self.assert_(failed == should_fail, msg)
128 self.RunAndVerify(env_var_value=None, flag_value=None, should_fail=False)
135 should_fail=False)
138 should_fail=True)
145 should_fail=False)
148 should_fail=True)
155 should_fail=False)
158 should_fail=True)
[all …]
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/
Dtc_flower_scale.sh71 local should_fail=$1; shift
86 check_err_fail $should_fail $? "Rule insertion"
92 local should_fail=$1; shift
95 tc_flower_rules_create $count $should_fail
118 local should_fail=$1; shift
133 __tc_flower_test $count $should_fail
Dmirror_gre_scale.sh52 local should_fail=$1; shift
88 check_err_fail $should_fail $? "Mirror rule insertion"
113 local should_fail=$1; shift
115 mirror_gre_tunnels_create $count $should_fail
116 if ((should_fail)); then
136 local should_fail=$1; shift
144 __mirror_gre_test $count $should_fail
Dmirror_gre.sh153 local should_fail=$1; shift
160 if ((should_fail)); then
167 log_test "$what: should_fail=$should_fail ($tcflags)"
172 local should_fail=$1; shift
174 test_span_failable $should_fail gt6-key "mirror to keyful gretap"
175 test_span_failable $should_fail gt6-soft "mirror to gretap w/ soft underlay"
Drouter_scale.sh113 local should_fail=$2
121 check_err_fail $should_fail $? "Offload of $route_count routes"
122 if [[ $RET -ne 0 ]] || [[ $should_fail -eq 1 ]]; then
/external/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_rewrite_test.c26 static int should_fail = 0; variable
31 should_fail ? "must fail" : "must success"); in show_prompt()
37 if (should_fail) { in show_result()
74 should_fail = 0; in stage_rewrite_test()
86 should_fail = 1; in stage_rewrite_test()
119 should_fail = 0; in stage_rewrite_test()
Dtomoyo_file_test.c26 static int should_fail = 0; variable
31 should_fail ? "must fail" : "should success"); in show_prompt()
37 if (should_fail) { in show_result()
288 should_fail = 1; in main()
296 should_fail = 0; in main()
Dtomoyo_new_test.c620 int should_fail; in main() local
621 for (should_fail = 0; should_fail < 2; should_fail++) { in main()
624 if (!should_fail) in main()
628 show_result(tests[i].policy, !should_fail); in main()
632 if (!should_fail) in main()
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dresource_scale.sh37 for should_fail in 0 1; do
39 target=$(${current_test}_get_target "$should_fail")
42 ${current_test}_test "$target" "$should_fail"
45 if [[ "$should_fail" -eq 0 ]]; then
Dtc_flower_scale.sh6 local should_fail=$1; shift
15 if ((! should_fail)); then
Dmirror_gre_scale.sh6 local should_fail=$1; shift
11 if ((! should_fail)); then
Drouter_scale.sh6 local should_fail=$1
11 if [[ $should_fail -eq 0 ]]; then
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/spectrum/
Dresource_scale.sh40 for should_fail in 0 1; do
42 target=$(${current_test}_get_target "$should_fail")
45 ${current_test}_test "$target" "$should_fail"
47 if [[ "$should_fail" -eq 0 ]]; then
Dtc_flower_scale.sh6 local should_fail=$1; shift
14 if ((! should_fail)); then
Dmirror_gre_scale.sh6 local should_fail=$1; shift
11 if ((! should_fail)); then
Drouter_scale.sh6 local should_fail=$1
11 if [[ $should_fail -eq 0 ]]; then
/external/llvm-project/compiler-rt/test/asan/TestCases/Posix/asan_symbolize_script/
Dplugin_wrong_frame_number_bug.py19 self.should_fail = True
24 if self.should_fail:
26 self.should_fail = False
/external/libxkbcommon/test/
Drules-file-includes.c49 bool should_fail; member
64 if (data->should_fail) in test_rules()
72 return data->should_fail; in test_rules()
126 .should_fail = true, in main()
Drules-file.c47 bool should_fail; member
62 if (data->should_fail) in test_rules()
70 return data->should_fail; in test_rules()
145 .should_fail = true in main()
/external/boringssl/src/crypto/test/
Dmalloc.cc103 bool should_fail = (current_malloc_count == malloc_number_to_fail); in should_fail_allocation() local
106 if (should_fail && break_on_fail) { in should_fail_allocation()
109 return should_fail; in should_fail_allocation()
/external/rust/crates/quiche/deps/boringssl/src/crypto/test/
Dmalloc.cc103 bool should_fail = (current_malloc_count == malloc_number_to_fail); in should_fail_allocation() local
106 if (should_fail && break_on_fail) { in should_fail_allocation()
109 return should_fail; in should_fail_allocation()
/external/python/cpython3/Lib/ctypes/test/
Dtest_loading.py145 def should_fail(command): function
155 should_fail("WinDLL('_sqlite3.dll')")
165 should_fail("WinDLL(nt._getfullpathname('_sqlite3.dll'), " +
/external/webrtc/pc/test/
Dfake_rtc_certificate_generator.h129 void set_should_fail(bool should_fail) { should_fail_ = should_fail; } in set_should_fail() argument
/external/mesa3d/src/util/tests/format/
Dmeson.build10 should_fail : meson.get_cross_property('xfail', '').contains(t),
/external/igt-gpu-tools/lib/tests/
Dmeson.build42 test('lib: ' + lib_test, exec, should_fail : true)

12