Lines Matching full:if
119 self.if_ = config.get('if', None)
123 if hasattr(self, 'permno'):
124 if any(k not in self.case.defines for k in self.defines):
128 if k not in self.case.defines))
149 if k not in self.suite.defines:
155 if k not in self.defines)))
170 if k not in self.suite.defines:
174 if (self.filter is not None and
189 if k in if_:
209 if persist:
210 if not disk:
212 if persist != 'noerase':
216 if args.get('verbose', False):
224 if cycles:
228 if gdb and failure:
230 if gdb == 'assert':
232 if failure.assert_:
240 if args.get('verbose', False):
247 if args.get('verbose', False):
259 if e.errno == errno.EIO:
263 if args.get('verbose', False):
270 if m and assert_ is None:
288 if proc.returncode != 0:
307 ] + (['--undef-value-errors=no'] if uninit else []) + [
308 ] + (['--track-origins=yes'] if not uninit else []) + [
311 ] + (['--num-callers=1'] if not verbose else []) + [
326 if cycles == 1 and persist != 'noerase':
332 if gdb and failure and failure.cycleno == cycles:
337 # been hit n cycles. We exit with a special return code if the
342 if nfailure.returncode == 33:
352 if self.name.endswith('.toml'):
368 if re.match(r'\[\[\s*case\s*\]\]', line):
370 if re.match(r'code\s*=\s*(\'\'\'|""")', line):
377 if k not in self.defines:
380 if self.code is not None:
387 if 'code' in case:
389 # merge conditions if necessary
390 if 'if' in config and 'if' in case:
391 case['if'] = '(%s) && (%s)' % (config['if'], case['if'])
392 elif 'if' in config:
393 case['if'] = config['if']
412 if not isinstance(inits, list):
419 if k not in ninit:
434 if not isinstance(v, str) and isinstance(v, abc.Iterable):
453 if all(perm.defines[k] == v for perm in case.perms):
463 if all(perm.defines.get(k, None) == v for perm in self.perms):
472 if self.code is not None:
478 if case.in_ not in tfs:
504 if k not in perm.case.defines)))
507 'if (argc < 3 || (case_ == %d && perm == %d)) {'
511 if k not in perm.case.defines)))
528 if path is None:
546 if not args.get('verbose', True):
550 if not perm.shouldtest(**args):
557 if not args.get('verbose', True):
560 if not args.get('keep_going', False):
561 if not args.get('verbose', True):
566 if not args.get('verbose', True):
570 if not args.get('verbose', True):
582 if args.get('normal', False):
584 if args.get('reentrant', False):
586 if args.get('valgrind', False):
588 if not classes:
598 if os.path.isdir(testpath):
631 if args.get('verbose', False):
641 if e.errno == errno.EIO:
645 if args.get('verbose', False):
652 if m and not args.get('verbose', False):
666 if proc.returncode != 0:
667 if not args.get('verbose', False):
681 if filtered != sum(len(suite.perms) for suite in suites):
685 if args.get('build', False):
700 if not hasattr(perm, 'result'):
703 if perm.result == PASS:
711 if perm.result.stdout:
712 if perm.result.assert_:
718 if perm.result.assert_:
726 if args.get('gdb', False):
730 if getattr(perm, 'result', PASS) != PASS:
732 if failure is not None:
740 return 1 if failed > 0 else 0
742 if __name__ == "__main__":