Home
last modified time | relevance | path

Searched refs:should_fail (Results 1 – 25 of 33) 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/google-breakpad/src/testing/gtest/test/
Dgtest_throw_on_failure_test.py83 def RunAndVerify(self, env_var_value, flag_value, should_fail): argument
113 if should_fail:
126 self.assert_(failed == should_fail, msg)
131 self.RunAndVerify(env_var_value=None, flag_value=None, should_fail=False)
138 should_fail=False)
141 should_fail=True)
148 should_fail=False)
151 should_fail=True)
158 should_fail=False)
161 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()
Dtomoyo_filesystem_test.c27 static void show_prompt(const char *str, const int should_fail) in show_prompt() argument
30 should_fail ? "must fail" : "should success"); in show_prompt()
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/spectrum/
Dresource_scale.sh38 for should_fail in 0 1; do
40 target=$(${current_test}_get_target "$should_fail")
43 ${current_test}_test "$target" "$should_fail"
45 if [[ "$should_fail" -eq 0 ]]; then
Dmirror_gre_scale.sh6 local should_fail=$1; shift
8 if ((! should_fail)); then
Dtc_flower_scale.sh6 local should_fail=$1; shift
14 if ((! should_fail)); then
Drouter_scale.sh6 local should_fail=$1
11 if [[ $should_fail -eq 0 ]]; then
/external/libxkbcommon/xkbcommon/test/
Drules-file.c45 bool should_fail; member
60 if (data->should_fail) in test_rules()
68 return data->should_fail; in test_rules()
143 .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/webrtc/talk/app/webrtc/test/
Dfakedtlsidentitystore.h108 void set_should_fail(bool should_fail) { in set_should_fail() argument
109 should_fail_ = should_fail; in set_should_fail()
/external/v8/tools/clang/plugins/tests/
Dweak_ptr_factory.cpp51 namespace should_fail { namespace
/external/autotest/client/site_tests/logging_CrashSender/
Dlogging_CrashSender.py135 result = self._call_sender_one_crash(should_fail=True)
190 result = self._call_sender_one_crash(should_fail=True)
/external/syzkaller/pkg/report/testdata/linux/report/
D22914 [ 212.584909] should_fail+0x914/0xae0
152 [ 213.263264] should_fail+0x914/0xae0
D2351 TITLE: INFO: task hung in should_fail
15 [ 246.766861] should_fail+0x914/0xae0
114 [ 247.190496] should_fail+0x914/0xae0
172 [ 247.332001] should_fail+0x914/0xae0
318 [ 247.810772] should_fail+0x914/0xae0
D20826 [ 63.825946] should_fail+0x8c0/0xa40
204 [ 64.632701] should_fail+0x8c0/0xa40
/external/mockito/src/test/java/org/mockitousage/junitrule/
DVerificationCollectorImplTest.java111 public void should_fail() { in should_fail() method in VerificationCollectorImplTest.VerificationCollectorRuleInner
/external/autotest/client/cros/crash/
Dcrash_test.py553 should_fail=False): argument
575 ignore_status=should_fail)
/external/syzkaller/docs/linux/
Dkernel_configs.md75 fault-inject: fix wrong should_fail() decision in task context

12