/openbsd-src/gnu/llvm/lldb/third_party/Python/module/unittest2/unittest2/test/ |
H A D | test_suite.py | 50 suite = unittest2.TestSuite() 52 self.assertEqual(suite.countTestCases(), 0) 57 # or other test suites that will be used to build the suite initially" 60 # creation of an empty suite 62 suite = unittest2.TestSuite([]) 64 self.assertEqual(suite.countTestCases(), 0) 69 # or other test suites that will be used to build the suite initially" 89 # or other test suites that will be used to build the suite initially" 99 suite = unittest2.TestSuite(tests()) 100 self.assertEqual(suite.countTestCases(), 2) [all …]
|
H A D | test_loader.py | 12 # "Return a suite of all tests cases contained in the TestCase-derived 28 # "Return a suite of all tests cases contained in the TestCase-derived 42 # "Return a suite of all tests cases contained in the TestCase-derived 63 # "Return a suite of all tests cases contained in the TestCase-derived 79 suite = loader.loadTestsFromTestCase(Foo) 80 self.assertIsInstance(suite, loader.suiteClass) 81 self.assertEqual(list(suite), [Foo('runTest')]) 100 suite = loader.loadTestsFromModule(m) 101 self.assertIsInstance(suite, loader.suiteClass) 104 self.assertEqual(list(suite), expected) [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_setups.py | 16 suite = unittest2.TestSuite() 19 suite.addTests(tests) 23 # creating a nested suite exposes some potential bugs 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() [all …]
|
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 …]
|
/openbsd-src/gnu/llvm/llvm/docs/ |
H A D | TestSuiteGuide.md | 1 test-suite Guide 27 2. Check out the `test-suite` module with: 30 % git clone https://github.com/llvm/llvm-test-suite.git test-suite 33 3. Create a build directory and use CMake to configure the suite. Use the 38 % mkdir test-suite-build 39 % cd test-suite-build 41 -C../test-suite/cmake/caches/O3.cmake \ 42 ../test-suite 64 PASS: test-suite :: MultiSource/Applications/ALAC/decode/alacconvert-decode.test (1 of 474) 65 …********** TEST 'test-suite :: MultiSource/Applications/ALAC/decode/alacconvert-decode.test' RESUL… [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 33 object directory tree) in which you want to run the test suite, just 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 59 you have the suite checked out and configured, you don't need to do it [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: 111 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. [all …]
|
/openbsd-src/lib/libexpat/tests/ |
H A D | minicheck.c | 42 # undef NDEBUG /* because test suite relies on assert(...) at the moment */ 55 Suite * 57 Suite *suite = (Suite *)calloc(1, sizeof(Suite)); in suite_create() local 58 if (suite != NULL) { in suite_create() 59 suite->name = name; in suite_create() 61 return suite; in suite_create() 74 suite_add_tcase(Suite *suite, TCase *tc) { in suite_add_tcase() argument 75 assert(suite != NULL); in suite_add_tcase() 79 tc->next_tcase = suite->tests; in suite_add_tcase() 80 suite->tests = tc; in suite_add_tcase() [all …]
|
H A D | minicheck.h | 100 typedef struct Suite Suite; typedef 104 Suite *suite; member 109 struct Suite { struct 137 Suite *suite_create(const char *name); 139 void suite_add_tcase(Suite *suite, TCase *tc); 143 SRunner *srunner_create(Suite *suite);
|
/openbsd-src/gnu/llvm/llvm/utils/lit/tests/ |
H A D | discovery.py | 1 # Check the basic discovery process, including a sub-suite. 9 # CHECK-BASIC-ERR: loading suite config '{{.*(/|\\\\)discovery(/|\\\\)lit.cfg}}' 10 # CHECK-BASIC-ERR-DAG: loading suite config '{{.*(/|\\\\)discovery(/|\\\\)subsuite(/|\\\\)lit.cfg}}' 14 # CHECK-BASIC-OUT: sub-suite - 2 tests 17 # CHECK-BASIC-OUT: top-level-suite - 3 tests 25 # CHECK-BASIC-OUT: sub-suite :: test-one 26 # CHECK-BASIC-OUT: sub-suite :: test-two 27 # CHECK-BASIC-OUT: top-level-suite :: subdir/test-three 28 # CHECK-BASIC-OUT: top-level-suite :: test-one 29 # CHECK-BASIC-OUT: top-level-suite :: test-two [all …]
|
H A D | xfail-cl.py | 3 # RUN: %{lit} --xfail 'false.txt;false2.txt;top-level-suite :: b :: test.txt' \ 4 # RUN: --xfail-not 'true-xfail.txt;top-level-suite :: a :: test-xfail.txt' \ 8 # RUN: env LIT_XFAIL='false.txt;false2.txt;top-level-suite :: b :: test.txt' \ 9 # RUN: LIT_XFAIL_NOT='true-xfail.txt;top-level-suite :: a :: test-xfail.txt' \ 27 # CHECK-FILTER-DAG: {{^}}PASS: top-level-suite :: a :: test.txt 28 # CHECK-FILTER-DAG: {{^}}XFAIL: top-level-suite :: b :: test.txt 29 # CHECK-FILTER-DAG: {{^}}XFAIL: top-level-suite :: a :: false.txt 30 # CHECK-FILTER-DAG: {{^}}XFAIL: top-level-suite :: b :: false.txt 31 # CHECK-FILTER-DAG: {{^}}XFAIL: top-level-suite :: false.txt 32 # CHECK-FILTER-DAG: {{^}}XFAIL: top-level-suite :: false2.txt [all …]
|
/openbsd-src/gnu/llvm/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
|
/openbsd-src/gnu/llvm/llvm/utils/lit/lit/ |
H A D | discovery.py | 26 """getTestSuite(item, litConfig, cache) -> (suite, relative_path) 28 Find the test suite containing @arg item. 30 @retval (None, ...) - Indicates no test suite contains @arg item. 31 @retval (suite, relative_path) - The suite that @arg item is in, and its 32 relative path inside that suite. 60 # We found a test suite, create a new config for it and load it. 62 litConfig.note('loading suite config %r' % cfgpath) 71 # Check for an already instantiated test suite. 129 # Find the test suite for this input and its relative path. 132 litConfig.warning('unable to find test suite for %r' % path) [all …]
|
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)] = time
|
/openbsd-src/sys/net80211/ |
H A D | ieee80211_priv.h | 46 4 + /* Group Data Cipher Suite */ \ 47 2 + /* Pairwise Cipher Suite Count */ \ 48 4 * 2 + /* Pairwise Cipher Suite List (max 2) */ \ 49 2 + /* AKM Suite List Count */ \ 50 4 * 4 + /* AKM Suite List (max 4) */ \ 54 4) /* 11w: Group Integrity Cipher Suite */ 59 4 + /* Group Cipher Suite */ \ 60 2 + /* Pairwise Cipher Suite Count */ \ 61 4 * 2 + /* Pairwise Cipher Suite List (max 2) */ \ 62 2 + /* AKM Suite List Count */ \ [all …]
|
/openbsd-src/gnu/llvm/llvm/docs/Proposals/ |
H A D | TestSuite.rst | 2 Test-Suite Extensions 13 algorithms that could be added to the LLVM Test-Suite. 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 99 OpenBenchmarking.org CPU / Processor Suite 101 https://openbenchmarking.org/suite/pts/cpu 104 `Phoronix Test Suite <https://github.com/phoronix-test-suite/phoronix-test-suite/>`_ 186 RAJA Performance Suite 204 * Big Data Analytic Suite [all …]
|
/openbsd-src/gnu/llvm/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
|
/openbsd-src/gnu/llvm/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
|
/openbsd-src/gnu/llvm/libcxx/utils/libcxx/test/ |
H A D | params.py | 29 # functions, but we know better what we're doing/testing in the test suite. 47 # team using the test suite; They enable the warnings below and 48 # expect the test suite to be clean. 72 help="The target triple to compile the test suite for. This must be " 81 help="The version of the standard to compile the test suite with.", 90 help="Whether to build the test suite with Clang modules enabled.", 98 help="Whether to enable exceptions when compiling the test suite.", 105 help="Whether to enable RTTI when compiling the test suite.", 129 # the test suite. 134 help="Whether to enable warnings when compiling the test suite.", [all …]
|
/openbsd-src/gnu/llvm/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 The libc++ test suite uses a few optional tools to improve the code quality. 106 When writing tests for the libc++ test suite, you should follow a few guidelines. 110 few requirements to the test suite. Here's some stuff you should know: [all …]
|
/openbsd-src/gnu/llvm/llvm/docs/CommandGuide/ |
H A D | lit.rst | 75 string if not given). The meaning and use of these parameters is test suite 160 suite take the most time to execute. 259 suite. The environment variable ``LIT_XFAIL`` can be also used in place of 263 A test name can specified as a file name relative to the test suite directory. 331 In the :program:`lit` model, every test must exist inside some *test suite*. 336 how to find and run the tests inside the test suite. 343 allowing the test suite configuration to control exactly how tests are 345 suite they are in, and their relative path inside the test suite. For 369 suite. 417 suite*. Test suites serve to define the format of the tests they contain, the [all …]
|
/openbsd-src/gnu/llvm/llvm/utils/release/ |
H A D | export.sh | 39 … (optional) Use <git-ref> to determine the release and don't export the test-suite files 51 * test-suite-<RELEASE><RC>.src.tar.xz (only when not using --git-ref) 119 if [ ! -d test-suite-$release$rc.src ]; then 120 echo "Fetching LLVM test-suite source ..." 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 - 125 echo "Creating tarball for test-suite ..." 128 -cJf test-suite-$release$rc.src.tar.xz test-suite-$release$rc.src
|
/openbsd-src/usr.bin/lex/ |
H A D | NEWS | 41 ** improvements to the test suite so it behaves better when linking 218 ** the test suite can be run with "make check" from the top-level 238 ** more test suite cleanups; in particular, the test suite should run 258 ** one of the tests in the test suite broke the dist target 272 ** test-table-opts is now run last in the test suite because it's so fat 292 suite reports its results 321 ** a c++ test was added to the test suite 323 ** we're trying to clean up more files in the test suite's make clean 340 ** the test suite now respects the usual CFLAGS, etc. variables 401 ** new tests in test suite: test-mem-{nr,r}, test-posix, [all …]
|
/openbsd-src/gnu/llvm/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. 125 suite that use runCmd where they shouldn't, but don't copy them,
|