Lines Matching +full:- +full:c
27 ./scripts/explode_asserts.py $$< -o $$@
31 -include tests/*.d
34 %.test: %.test.o $(foreach f,$(subst /,.,$(SRC:.c=.o)),%.$f)
35 $(CC) $(CFLAGS) $^ $(LFLAGS) -o $@
50 'LFS_BLOCK_CYCLES': -1,
217 print('truncate --size=0', disk)
223 # simulate power-loss after n cycles?
231 ncmd.extend(['-ex', 'r'])
233 ncmd.extend(['-ex', 'up 2'])
236 '-ex', 'b %s:%d' % (self.suite.path, self.code_lineno),
237 '-ex', 'r'])
238 ncmd.extend(['--args'] + cmd)
241 print(' '.join(shlex.quote(c) for c in ncmd))
248 print(' '.join(shlex.quote(c) for c in cmd))
274 line = (next(it.islice(f, lineno-1, None))
303 uninit = (self.defines.get('LFS_ERASE_VALUE', None) == -1)
306 '--leak-check=full',
307 ] + (['--undef-value-errors=no'] if uninit else []) + [
308 ] + (['--track-origins=yes'] if not uninit else []) + [
309 '--error-exitcode=4',
310 '--error-limit=no',
311 ] + (['--num-callers=1'] if not verbose else []) + [
312 '-q'] + exec
353 self.name = self.name[:-len('.toml')]
450 # also track non-unique defines
456 # track all perms and non-unique defines
470 tf = open(self.path + '.test.c.t', 'w')
524 mk.write('%s: override CFLAGS += -D%s=%r\n' % (
530 self.path+'.test.c',
532 self.path+'.test.c.t'))
538 mk.write('\t./scripts/explode_asserts.py $| -o $@\n')
627 cmd = (['make', '-f', 'Makefile'] +
628 list(it.chain.from_iterable(['-f', m] for m in makefiles)) +
632 print(' '.join(shlex.quote(c) for c in cmd))
656 line = next(it.islice(f, lineno-1, None)).strip('\n')
670 sys.exit(-3)
713 stdout = perm.result.stdout[:-1]
716 for line in stdout[-5:]:
752 parser.add_argument('-D', action='append', default=[],
754 parser.add_argument('-v', '--verbose', action='store_true',
756 parser.add_argument('-k', '--keep-going', action='store_true',
758 parser.add_argument('-p', '--persist', choices=['erase', 'noerase'],
761 parser.add_argument('-b', '--build', action='store_true',
763 parser.add_argument('-g', '--gdb', choices=['init', 'main', 'assert'],
766 parser.add_argument('--no-internal', action='store_true',
768 parser.add_argument('-n', '--normal', action='store_true',
770 parser.add_argument('-r', '--reentrant', action='store_true',
771 help="Run reentrant tests with simulated power-loss.")
772 parser.add_argument('-V', '--valgrind', action='store_true',
773 help="Run non-leaky tests under valgrind to check for memory leaks.")
774 parser.add_argument('-e', '--exec', default=[], type=lambda e: e.split(' '),
776 parser.add_argument('-d', '--disk',