| /llvm-project-15.0.7/lldb/third_party/Python/module/unittest2/unittest2/test/ |
| H A D | test_suite.py | 50 suite = unittest2.TestSuite() 62 suite = unittest2.TestSuite([]) 119 suite = unittest2.TestSuite() 176 suite = unittest2.TestSuite() 178 suite.run(result) 188 suite.run() 224 suite.addTest(test) 238 suite.addTest(suite_2) 285 suite.addTests(5) 308 suite.addTest(f) [all …]
|
| H A D | test_loader.py | 79 suite = loader.loadTestsFromTestCase(Foo) 100 suite = loader.loadTestsFromModule(m) 104 self.assertEqual(list(suite), expected) 113 suite = loader.loadTestsFromModule(m) 115 self.assertEqual(list(suite), []) 128 suite = loader.loadTestsFromModule(m) 178 suite = loader.loadTestsFromModule(m) 194 suite = loader.loadTestsFromModule(m) 197 test = list(suite)[0] 589 self.assertEqual(list(suite), []) [all …]
|
| H A D | test_skipping.py | 51 suite = unittest2.TestSuite([test_do_skip, test_dont_skip]) 54 suite.run(result) 74 suite = unittest2.TestSuite([test]) 75 suite.run(result) 127 suite = unittest2.TestSuite([test]) 128 suite.run(result) 148 suite = unittest2.TestSuite([test]) 149 suite.run(result)
|
| H A D | test_new_tests.py | 32 suite = unittest2.TestSuite((Test('testOne'),)) 33 result = runner.run(suite) 45 suite = unittest.TestSuite((Test('testOne'),)) 46 result = runner.run(suite)
|
| H A D | test_discovery.py | 64 suite = list(loader._find_tests(top_level, 'test*.py')) 70 self.assertEqual(suite, expected) 130 suite = list(loader._find_tests('/foo', 'test*')) 134 self.assertEqual(suite, 185 suite = loader.discover('/foo/bar/baz', 'pattern', '/foo/bar') 189 self.assertEqual(suite, "['tests']") 209 suite = loader.discover('.') 211 self.assertEqual(suite.countTestCases(), 1) 212 test = list(list(suite)[0])[0] # extract test from suite 386 suite = loader.discover('unittest2.test') [all …]
|
| H A D | test_setups.py | 16 suite = unittest2.TestSuite() 19 suite.addTests(tests) 25 realSuite.addTest(suite) 27 suite.addTest(unittest2.TestSuite()) 291 suite = unittest2.TestSuite( 295 result = runner.run(suite) 542 suite = unittest2.defaultTestLoader.loadTestsFromTestCase(Test) 543 suite.debug() 585 suite = unittest2.TestSuite() 588 suite.addTest(_suite) [all …]
|
| /llvm-project-15.0.7/clang/tools/scan-build-py/tests/unit/ |
| H A D | __init__.py | 15 def load_tests(loader, suite, _): argument 16 suite.addTests(loader.loadTestsFromModule(test_libear)) 17 suite.addTests(loader.loadTestsFromModule(test_compilation)) 18 suite.addTests(loader.loadTestsFromModule(test_clang)) 19 suite.addTests(loader.loadTestsFromModule(test_report)) 20 suite.addTests(loader.loadTestsFromModule(test_analyze)) 21 suite.addTests(loader.loadTestsFromModule(test_intercept)) 22 suite.addTests(loader.loadTestsFromModule(test_shell)) 23 return suite
|
| /llvm-project-15.0.7/llvm/docs/ |
| H A D | TestSuiteGuide.md | 1 test-suite Guide 30 % git clone https://github.com/llvm/llvm-test-suite.git test-suite 38 % mkdir test-suite-build 39 % cd test-suite-build 42 ../test-suite 143 % cd test-suite-build 305 …acing (or linking) them into the `test-suite/test-suite-externals/xxx` directory (example: `test-s… 319 You can build custom suites using the test-suite infrastructure. A custom suite 325 % cmake -DTEST_SUITE_SUBDIRS=path/to/my/benchmark-suite ../test-suite 342 ../test-suite [all …]
|
| H A D | TestSuiteMakefileGuide.rst | 2 test-suite Makefile Guide (deprecated) 13 the test suite creates temporary files during execution. 15 To run the test suite, you need to use the following steps: 17 #. Check out the ``test-suite`` module with: 21 % git clone https://github.com/llvm/llvm-test-suite.git test-suite 41 You must also tell the configure machinery that the test suite is 51 #. You can now run the test suite from your build tree as follows: 55 % cd $LLVM_OBJ_ROOT/projects/test-suite 65 In order to run the External tests in the ``test-suite`` module, you 138 Writing Custom Tests for the test-suite [all …]
|
| H A D | ReleaseProcess.rst | 61 directory, and that's the one you should use for the test-suite and other 109 .. _test-suite: 119 test-suite 123 Link that directory to an easier location and run the test-suite. 132 --test-suite ~/devel/llvm/test/test-suite \ 137 candidate. You don't need to fix all the bugs in the test-suite, since they're 171 run the test-suite. 196 test-suite the same way. 227 wait until the test-suite run is finished. 229 * Bugs in the test suite or unimportant check-all tests can be fixed in between
|
| /llvm-project-15.0.7/llvm/utils/lit/lit/ |
| H A D | TestTimes.py | 4 def read_test_times(suite): argument 6 test_times_file = os.path.join(suite.exec_root, '.lit_test_times.txt') 9 suite.source_root, '.lit_test_times.txt') 21 assert t.suite.test_times is None 24 if not t.suite.exec_root in times_by_suite: 25 times_by_suite[t.suite.exec_root] = read_test_times(t.suite) 31 times_by_suite[t.suite.exec_root]['/'.join(t.path_in_suite)] = t.result.elapsed
|
| H A D | Test.py | 222 def __init__(self, suite, path_in_suite, config, file_path = None, gtest_json_file = None): argument 223 self.suite = suite 262 if suite.test_times and '/'.join(path_in_suite) in suite.test_times: 263 time = suite.test_times['/'.join(path_in_suite)] 292 return self.suite.config.name + ' :: ' + '/'.join(self.path_in_suite) 300 return self.suite.getSourcePath(self.path_in_suite) 303 return self.suite.getExecPath(self.path_in_suite) 320 triple = getattr(self.suite.config, 'target_triple', "") 393 triple = getattr(self.suite.config, 'target_triple', "")
|
| H A D | reports.py | 14 return (test.suite.name, id(test.suite), test.path_in_suite) 95 tests_by_suite = itertools.groupby(tests, lambda t: t.suite) 100 for suite, test_iter in tests_by_suite: 101 self._write_testsuite(file, suite, list(test_iter)) 104 def _write_testsuite(self, file, suite, tests): argument 108 name = suite.config.name.replace('.', '-')
|
| H A D | main.py | 151 tests_by_suite = itertools.groupby(tests, lambda t: t.suite) 153 for suite, test_iter in tests_by_suite: 155 print(' %s - %d tests' % (suite.name, test_count)) 156 print(' Source Root: %s' % suite.source_root) 157 print(' Exec Root : %s' % suite.exec_root) 158 features = ' '.join(sorted(suite.config.available_features)) 160 substitutions = sorted(suite.config.substitutions)
|
| /llvm-project-15.0.7/clang/tools/scan-build-py/tests/ |
| H A D | __init__.py | 18 def suite(): function 20 suite = unittest.TestSuite() 21 suite.addTests(loader.loadTestsFromModule(tests.unit)) 22 suite.addTests(loader.loadTestsFromModule(tests.functional.cases)) 23 return suite
|
| /llvm-project-15.0.7/clang/tools/scan-build-py/tests/functional/cases/ |
| H A D | __init__.py | 11 def load_tests(loader, suite, pattern): argument 13 suite.addTests(loader.loadTestsFromModule(test_from_cdb)) 15 suite.addTests(loader.loadTestsFromModule(test_from_cmd)) 17 suite.addTests(loader.loadTestsFromModule(test_create_cdb)) 19 suite.addTests(loader.loadTestsFromModule(test_exec_anatomy)) 20 return suite
|
| /llvm-project-15.0.7/llvm/utils/release/ |
| H A D | export.sh | 51 * test-suite-<RELEASE><RC>.src.tar.xz (only when not using --git-ref) 119 if [ ! -d test-suite-$release$rc.src ]; then 121 mkdir -p test-suite-$release$rc.src 122 curl -L https://github.com/llvm/test-suite/archive/$tag.tar.gz | \ 123 tar -C test-suite-$release$rc.src --strip-components=1 -xzf - 128 -cJf test-suite-$release$rc.src.tar.xz test-suite-$release$rc.src
|
| /llvm-project-15.0.7/lldb/test/ |
| H A D | CMakeLists.txt | 116 …message(WARNING "LLDB test suite requires libc++ in llvm/projects/libcxx or an existing build syml… 119 # We require libcxx for the test suite, so if we aren't building it, 123 "LLDB test suite requires libc++, but it is currently disabled. " 189 # Configure the top level test suite. 196 add_lit_testsuite(check-lldb "Running lldb lit test suite" 204 # Add a lit test suite that runs the API & shell test while capturing a 207 "Running lldb test suite with reproducer capture" 214 # Add a lit test suite that runs the API & shell test by replaying a 217 "Running lldb test suite with reproducer replay"
|
| /llvm-project-15.0.7/lldb/packages/Python/lldbsuite/test/ |
| H A D | README-TestSuite | 2 to the Python test suite under the current 'test' directory. 6 Provides the test driver for the test suite. To invoke it, cd to the 'test' 17 This runs the test suite and directs the run log to a file. 20 This runs the test suite, with logging turned on for the lldb as well as 39 test case on its own. To run the whole test suite, 'dotest.py' is all you 44 Most of them predate the introduction of the python test suite and contain 49 part of the Python-based test suite to test lldb functionality. 114 It does not take advantage of the test runner and test suite functionality 116 different way of running the whole test suite. As lldb and the Python test 117 suite become more reliable, we don't expect to be using 'dotest.pl' anymore. [all …]
|
| /llvm-project-15.0.7/libcxx/docs/ |
| H A D | TestingLibcxx.rst | 27 After building libc++, you can run parts of the libc++ test suite by simply 55 test suite will select the newest C++ dialect supported by the compiler and use 63 Other parameters are supported by the test suite. Those are defined in ``libcxx/utils/libcxx/test/p… 64 If you want to customize how to run the libc++ test suite beyond what is available 67 The libc++ test suite works by loading a site configuration that defines various 71 extended for custom needs, in particular when porting the libc++ test suite to 77 By default, the libc++ test suite will use a site configuration that matches 98 When writing tests for the libc++ test suite, you should follow a few guidelines. 102 few requirements to the test suite. Here's some stuff you should know: 121 Libc++ contains benchmark tests separately from the test of the test suite.
|
| /llvm-project-15.0.7/llvm/docs/Proposals/ |
| H A D | TestSuite.rst | 14 The test-suite could be much larger than it is now, which would help us 18 the test-suite yet is that nobody has found time to do it. But there 27 * Parallelism (currently, all programs in test-suite use 101 https://openbenchmarking.org/suite/pts/cpu 104 `Phoronix Test Suite <https://github.com/phoronix-test-suite/phoronix-test-suite/>`_ 260 into the test-suite repository.
|
| /llvm-project-15.0.7/lldb/test/API/ |
| H A D | CMakeLists.txt | 67 …CACHE BOOL "(Windows only) Enables debugging of tests in the test suite by showing the crash dialo… 71 …Windows only) Hides the console window for an inferior when it is launched through the test suite") 171 # Targets for running the test suite on the different Apple simulators. 173 "Running lldb test suite on the iOS simulator" 180 "Running lldb test suite on the watchOS simulator" 187 "Running lldb test suite on the tvOS simulator" 193 add_lit_testsuite(check-lldb-api "Running lldb api test suite"
|
| /llvm-project-15.0.7/clang/cmake/caches/ |
| H A D | 3-stage.cmake | 6 test-suite 12 stage3-test-suite CACHE STRING "")
|
| /llvm-project-15.0.7/llvm/utils/lit/tests/ |
| H A D | unparsed-requirements.py | 9 suite = TestSuite("suite", sys.argv[1], sys.argv[1], config) variable 11 test = Test(suite, ["test.py"], config)
|
| /llvm-project-15.0.7/flang/docs/ |
| H A D | FortranLLVMTestSuite.md | 8 The [LLVM Test Suite](https://github.com/llvm/llvm-test-suite) is a 12 organizational structure of the test suite and how to run it. 20 ## Running the LLVM test-suite with Fortran 32 This will configure the test-suite to run only the Fortran tests which
|