Home
last modified time | relevance | path

Searched refs:sut (Results 1 – 8 of 8) sorted by relevance

/openbsd/src/gnu/llvm/clang/tools/scan-build-py/tests/unit/
Dtest_compilation.py6 import libscanbuild.compilation as sut namespace
13 self.assertIsNotNone(sut.compiler_language(['clang']))
14 self.assertIsNotNone(sut.compiler_language(['clang-3.6']))
15 self.assertIsNotNone(sut.compiler_language(['clang++']))
16 self.assertIsNotNone(sut.compiler_language(['clang++-3.5.1']))
17 self.assertIsNotNone(sut.compiler_language(['cc']))
18 self.assertIsNotNone(sut.compiler_language(['c++']))
19 self.assertIsNotNone(sut.compiler_language(['gcc']))
20 self.assertIsNotNone(sut.compiler_language(['g++']))
21 self.assertIsNotNone(sut.compiler_language(['/usr/local/bin/gcc']))
[all …]
Dtest_shell.py6 import libscanbuild.shell as sut namespace
14 self.assertEqual(sut.encode(sut.decode(value)), value)
22 self.assertEqual(sut.decode(sut.encode(value)), value)
32 self.assertEqual(sut.encode(['clang', "it's me", 'again']),
34 self.assertEqual(sut.encode(['clang', "it(s me", 'again)']),
36 self.assertEqual(sut.encode(['clang', 'redirect > it']),
38 self.assertEqual(sut.encode(['clang', '-DKEY="VALUE"']),
40 self.assertEqual(sut.encode(['clang', '-DKEY="value with spaces"']),
Dtest_clang.py7 import libscanbuild.clang as sut namespace
15 self.assertTrue(sut.get_version('clang'))
19 sut.get_version('notexists')
29 result = sut.get_arguments(
38 sut.get_arguments(['clang', '-x', 'c', 'notexist.c'], '.')
42 sut.get_arguments(['notexist'], '.')
48 result = sut.get_checkers('clang', [])
59 result = sut.get_active_checkers('clang', [])
66 test = sut.is_active(['a', 'b.b', 'c.c.c'])
89 result = dict(sut.parse_checkers(lines))
[all …]
Dtest_analyze.py11 import libscanbuild.analyze as sut namespace
21 sut.report_directory(tmpdir, False, 'html') as report_dir1, \
22 sut.report_directory(tmpdir, False, 'html') as report_dir2, \
23 sut.report_directory(tmpdir, False, 'html') as report_dir3:
33 opts = sut.classify_parameters(cmd)
43 opts = sut.classify_parameters(cmd)
53 opts = sut.classify_parameters(cmd)
148 result = sut.run_analyzer(opts, spy.call)
210 sut.report_failure(opts)
242 sut.filter_debug_flags(opts, spy.call))
[all …]
Dtest_report.py8 import libscanbuild.report as sut namespace
19 for bug in sut.parse_bug_html(file_name):
28 return sut.parse_crash(file_name)
106 result = sut.parse_crash(pp_file + '.info.txt')
117 self.assertEqual('file', sut.chop('/prefix', '/prefix/file'))
118 self.assertEqual('file', sut.chop('/prefix/', '/prefix/file'))
119 self.assertEqual('lib/file', sut.chop('/prefix/', '/prefix/lib/file'))
120 self.assertEqual('/prefix/file', sut.chop('', '/prefix/file'))
123 self.assertEqual('../src/file', sut.chop('/cwd', '/src/file'))
124 self.assertEqual('../src/file', sut.chop('/prefix/cwd',
[all …]
Dtest_intercept.py7 import libscanbuild.intercept as sut namespace
17 return list(sut.format_entry(trace))
30 return list(sut.format_entry(trace))[0]['file']
74 self.assertTrue(sut.is_preload_disabled(OSX))
77 self.assertFalse(sut.is_preload_disabled(OSX))
85 self.assertFalse(sut.is_preload_disabled(OSX))
87 self.assertFalse(sut.is_preload_disabled('unix'))
Dtest_libear.py6 import libear as sut namespace
14 with sut.TemporaryDirectory() as tmpdir:
23 with sut.TemporaryDirectory() as tmpdir:
/openbsd/src/games/cribbage/
Dio.c210 int rnk, sut; in incard() local
215 rnk = sut = EMPTY; in incard()
237 sut = i; in incard()
241 if (sut != EMPTY) in incard()
267 sut = i; in incard()
271 if (sut != EMPTY) in incard()
275 (*crd).suit = sut; in incard()