Lines Matching full:s
125 return '%s#%d#%d (%s)' % (
127 '%s=%s' % (k, v) for k, v in self.defines.items()
130 return '%s#%d#%d' % (
133 return '%s#%d' % (
150 f.write('#define %s %s\n' % (k, v))
152 f.write('void test_case%d(%s) {' % (self.caseno, ','.join(
153 '\n'+8*' '+'__attribute__((unused)) intmax_t %s' % k
160 f.write(4*' '+'#line %d "%s"\n' % (self.code_lineno, self.suite.path))
171 f.write('#undef %s\n' % k)
190 if_ = if_.replace(k, '(%s)' % v)
205 cmd = exec + ['./%s.test' % self.suite.path,
236 '-ex', 'b %s:%d' % (self.suite.path, self.code_lineno),
368 if re.match(r'\[\[\s*case\s*\]\]', line):
370 if re.match(r'code\s*=\s*(\'\'\'|""")', line):
391 case['if'] = '(%s) && (%s)' % (config['if'], case['if'])
473 tf.write('#line %d "%s"\n' % (self.code_lineno, self.path))
481 tfs[case.in_].write('#line 1 "%s"\n' % case.in_)
501 tf.write(4*' '+'extern void test_case%d(%s);\n' % (
503 'intmax_t %s' % k for k in sorted(perm.defines)
508 ' test_case%d(%s); '
524 mk.write('%s: override CFLAGS += -D%s=%r\n' % (
529 mk.write('%s: %s | %s\n' % (
534 mk.write('%s: %s %s | %s\n' % (
597 # figure out the suite's toml file
747 help="Description of test(s) to run. By default, this is all tests \