Home
last modified time | relevance | path

Searched refs:fail (Results 1 – 25 of 336) sorted by relevance

12345678910>>...14

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_types.py12 if None: self.fail('None is true instead of false')
13 if 0: self.fail('0 is true instead of false')
14 if 0L: self.fail('0L is true instead of false')
15 if 0.0: self.fail('0.0 is true instead of false')
16 if '': self.fail('\'\' is true instead of false')
17 if not 1: self.fail('1 is false instead of true')
18 if not 1L: self.fail('1L is false instead of true')
19 if not 1.0: self.fail('1.0 is false instead of true')
20 if not 'x': self.fail('\'x\' is false instead of true')
21 if not {'x': 1}: self.fail('{\'x\': 1} is false instead of true')
[all …]
Dtest_future.py35 self.fail("expected exception didn't occur")
43 self.fail("expected exception didn't occur")
51 self.fail("expected exception didn't occur")
59 self.fail("expected exception didn't occur")
67 self.fail("expected exception didn't occur")
75 self.fail("expected exception didn't occur")
83 self.fail("expected exception didn't occur")
96 self.fail("syntax error didn't occur")
103 self.fail("syntax error didn't occur")
Dtest_queue.py52 self.fail("blocking function '%r' appeared not to block" %
56 self.fail("trigger function '%r' appeared to not return" %
71 self.fail("expected exception of kind %r" %
76 self.fail("trigger function '%r' appeared to not return" %
79 self.fail("trigger thread ended but event never set")
110 self.fail("Didn't appear to block with a full queue")
115 self.fail("Didn't appear to time-out with a full queue")
127 self.fail("Didn't appear to block with an empty queue")
132 self.fail("Didn't appear to time-out with an empty queue")
171 self.fail("Did not detect task count going negative")
[all …]
Dtest_file.py155 self.fail('%r is an invalid file mode' % mode)
176 self.fail("bad error message for invalid mode: %s" % s)
181 self.fail("no error for invalid mode: %s" % bad_mode)
197 self.fail('error setting buffer size %d: %s' % (s, str(msg)))
214 self.fail("Read on file opened for update failed %r" % data)
216 self.fail("File pos after read wrong %d" % f.tell())
220 self.fail("File pos after ftruncate wrong %d" % f.tell())
225 self.fail("File size after ftruncate wrong %d" % size)
259 self.fail, "Broken testfile"
278 self.fail("readline() after next() with supposedly empty "
[all …]
Dtest_frozen.py14 self.fail("import __hello__ failed:" + str(x))
19 self.fail("import __phello__ failed:" + str(x))
24 self.fail("import __phello__.spam failed:" + str(x))
31 self.fail("import __phello__.foo should have failed")
Dtest_opcodes.py22 self.fail('try inside for')
43 except CClass: self.fail()
52 else: self.fail("no exception")
58 self.fail("no exception")
63 else: self.fail("no exception")
69 self.fail("no exception")
Dtest_file2k.py193 self.fail("opening a directory didn't raise an IOError")
204 self.fail('%r is an invalid file mode' % mode)
242 self.fail("bad error message for invalid mode: %s" % s)
247 self.fail("no error for invalid mode: %s" % bad_mode)
263 self.fail('error setting buffer size %d: %s' % (s, str(msg)))
279 self.fail("Read on file opened for update failed %r" % data)
281 self.fail("File pos after read wrong %d" % f.tell())
285 self.fail("File pos after ftruncate wrong %d" % f.tell())
290 self.fail("File size after ftruncate wrong %d" % size)
332 self.fail, "Broken testfile"
[all …]
Dtest_pty.py63 self.fail("isatty hung")
176 self.fail("Child raised an unexpected exception in os.setsid()")
178 self.fail("pty.fork() failed to make child a session leader.")
180 self.fail("Child spawned by pty.fork() did not have a tty as stdout")
182 self.fail("pty.fork() failed for unknown reasons.")
Dtest_pep352.py53 self.fail("base class %s not a built-in" % superclass_name)
75 self.fail("%s not a built-in exception" % exc_name)
155 self.fail("TypeError expected for raising %s" % type(object_))
167 self.fail("TypeError expected when catching %s" % type(object_))
177 self.fail("TypeError expected when catching %s as specified in a "
190 self.fail("unable to raise classic class")
196 self.fail("unable to raise classic class instance")
Dtest_compile.py37 self.fail("duplicate arguments")
42 self.fail("duplicate keyword arguments")
47 self.fail("variable is global and local")
60 self.fail("variable is global and local")
86 self.fail('Did not detect a KeyError')
98 self.fail('Did not validate globals as a real dict')
109 self.fail('Did not validate locals as a mapping')
171 self.fail("non-default args after default")
254 self.fail("How many bits *does* this machine have???")
323 fail = [
[all …]
Dtest_funcattrs.py23 self.fail("shouldn't be able to set %s to %r" % (name, value))
29 self.fail("shouldn't be able to del %s" % name)
84 self.fail("shouldn't be able to read an empty cell")
129 self.fail("func_code with different numbers of free vars should "
136 self.fail("func_code with different numbers of free vars should "
163 self.fail("func_defaults does not update; deleting it does not "
199 self.fail("using unknown attributes should raise AttributeError")
221 self.fail("setting attributes on methods should raise error")
229 self.fail("deleting unknown attribute should raise TypeError")
237 self.fail("setting arbitrary attribute in unbound function "
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/
D_iomodule.c633 goto fail; in init_io()
637 goto fail; \ in init_io()
641 goto fail; \ in init_io()
646 goto fail; in init_io()
653 goto fail; in init_io()
657 goto fail; in init_io()
709 goto fail; in init_io()
711 goto fail; in init_io()
713 goto fail; in init_io()
715 goto fail; in init_io()
[all …]
Dtextio.c1401 goto fail; in textiowrapper_read_chunk()
1406 goto fail; in textiowrapper_read_chunk()
1422 goto fail; in textiowrapper_read_chunk()
1433 goto fail; in textiowrapper_read_chunk()
1443 fail: in textiowrapper_read_chunk()
1476 goto fail; in textiowrapper_read()
1481 goto fail; in textiowrapper_read()
1494 goto fail; in textiowrapper_read()
1505 goto fail; in textiowrapper_read()
1512 goto fail; in textiowrapper_read()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/
D_iomodule.c642 goto fail; in init_io()
646 goto fail; \ in init_io()
650 goto fail; \ in init_io()
655 goto fail; in init_io()
662 goto fail; in init_io()
666 goto fail; in init_io()
718 goto fail; in init_io()
720 goto fail; in init_io()
722 goto fail; in init_io()
724 goto fail; in init_io()
[all …]
Dtextio.c1424 goto fail; in textiowrapper_read_chunk()
1429 goto fail; in textiowrapper_read_chunk()
1434 goto fail; in textiowrapper_read_chunk()
1449 goto fail; in textiowrapper_read_chunk()
1460 goto fail; in textiowrapper_read_chunk()
1467 goto fail; in textiowrapper_read_chunk()
1477 fail: in textiowrapper_read_chunk()
1510 goto fail; in textiowrapper_read()
1515 goto fail; in textiowrapper_read()
1528 goto fail; in textiowrapper_read()
[all …]
/device/google/cuttlefish_vmm/
Drebuild.sh63 fail=1
67 fail=1
71 fail=1
75 fail=1
86 fail=1
90 fail=1
94 fail=1
97 if [[ "${fail}" -ne 0 ]]; then
98 exit "${fail}"
108 fail=1
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dndiff.py53 def fail(msg): function
65 return fail("couldn't open " + fname + ": " + str(detail))
89 return fail(str(detail))
100 return fail("can't specify both -q and -r")
103 return fail("no args allowed with -r option")
107 return fail("-r value must be 1 or 2")
109 return fail("need 2 filename args")
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_heapqmodule.c307 goto fail; in nlargest()
313 goto fail; in nlargest()
319 goto fail; in nlargest()
328 goto fail; in nlargest()
335 goto fail; in nlargest()
342 goto fail; in nlargest()
352 goto fail; in nlargest()
357 goto fail; in nlargest()
359 goto fail; in nlargest()
363 fail: in nlargest()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
D_heapqmodule.c306 goto fail; in nlargest()
312 goto fail; in nlargest()
318 goto fail; in nlargest()
327 goto fail; in nlargest()
334 goto fail; in nlargest()
341 goto fail; in nlargest()
351 goto fail; in nlargest()
356 goto fail; in nlargest()
358 goto fail; in nlargest()
362 fail: in nlargest()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/
Dantlr.c387 fail: in grammar()
425 else {zzFAIL(1,zzerr1,&zzMissSet,&zzMissText,&zzBadTok,&zzBadText,&zzErrk); goto fail;} in class_def()
478 fail: in class_def()
541 else {zzFAIL(1,zzerr4,&zzMissSet,&zzMissText,&zzBadTok,&zzBadText,&zzErrk); goto fail;} in rule()
562 else {zzFAIL(1,zzerr5,&zzMissSet,&zzMissText,&zzBadTok,&zzBadText,&zzErrk); goto fail;} in rule()
578 else {zzFAIL(1,zzerr6,&zzMissSet,&zzMissText,&zzBadTok,&zzBadText,&zzErrk); goto fail;} in rule()
600 else {zzFAIL(1,zzerr7,&zzMissSet,&zzMissText,&zzBadTok,&zzBadText,&zzErrk); goto fail;} in rule()
618 else {zzFAIL(1,zzerr8,&zzMissSet,&zzMissText,&zzBadTok,&zzBadText,&zzErrk); goto fail;} in rule()
699 else {zzFAIL(1,zzerr9,&zzMissSet,&zzMissText,&zzBadTok,&zzBadText,&zzErrk); goto fail;} in rule()
727 fail: in rule()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/
Dregexec.c976 if (*s1++ != *s2++) goto fail;\
982 goto fail; \
1036 #define DATA_ENSURE(n) if (s + (n) > right_range) goto fail
1040 #define DATA_ENSURE(n) if (s + (n) > end) goto fail
1425 goto fail; /* for retry */ in match_at()
1428 goto fail; /* for retry */ in match_at()
1439 if (*p != *s) goto fail; in match_at()
1442 if (*p != *s++) goto fail; in match_at()
1462 goto fail; in match_at()
1472 if (*p != *s) goto fail; in match_at()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/dlg/
Ddlg_p.c95 … else {zzFAIL(1,zzerr1,&zzMissSet,&zzMissText,&zzBadTok,&zzBadText,&zzErrk); goto fail;} in grammar()
129 fail: in grammar()
172 else {zzFAIL(1,zzerr2,&zzMissSet,&zzMissText,&zzBadTok,&zzBadText,&zzErrk); goto fail;} in start_states()
180 fail: in start_states()
215 fail: in do_conversion()
260 else {zzFAIL(1,zzerr3,&zzMissSet,&zzMissText,&zzBadTok,&zzBadText,&zzErrk); goto fail;} in rule_list()
264 fail: in rule_list()
299 else {zzFAIL(1,zzerr4,&zzMissSet,&zzMissText,&zzBadTok,&zzBadText,&zzErrk); goto fail;} in rule()
303 fail: in rule()
347 fail: in reg_expr()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/tests/
Dtest_recursion.py17 self.fail("didn't raise ValueError on list recursion")
26 self.fail("didn't raise ValueError on alternating list recursion")
40 self.fail("didn't raise ValueError on dict recursion")
65 self.fail("didn't raise ValueError on default recursion")
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/
Dtest_recursion.py17 self.fail("didn't raise ValueError on list recursion")
26 self.fail("didn't raise ValueError on alternating list recursion")
40 self.fail("didn't raise ValueError on dict recursion")
65 self.fail("didn't raise ValueError on default recursion")
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/
Dtest_break.py37 self.fail("KeyboardInterrupt not handled")
49 self.fail("odd object in result set")
51 self.fail("result not found")
72 self.fail("KeyboardInterrupt not handled")
87 self.fail("Second KeyboardInterrupt not raised")
94 self.fail("Second KeyboardInterrupt not raised")
118 self.fail("KeyboardInterrupt not handled")
142 self.fail("replaced but delegated handler doesn't raise interrupt")

12345678910>>...14