Home
last modified time | relevance | path

Searched +full:test +full:- +full:suite (Results 1 – 25 of 1192) sorted by relevance

12345678910>>...48

/external/llvm/docs/
DTestSuiteMakefileGuide.rst2 LLVM test-suite Guide
11 This document describes the features of the Makefile-based LLVM
12 test-suite as well as the cmake based replacement. This way of interacting
13 with the test-suite is deprecated in favor of running the test-suite using LNT,
15 Guide's :ref:`test-suite Quickstart <test-suite-quickstart>` section for more
18 Test suite Structure
21 The ``test-suite`` module contains a number of programs that can be
29 subset of the available tests or programs. This makes test run times
31 test failures. To run some test only on a subset of programs, simply
33 there. Alternatively, you can run a different test using the ``TEST``
[all …]
DTestingGuide.rst28 If you intend to run the :ref:`test-suite <test-suite-overview>`, you will also
29 need a development version of zlib (zlib1g-dev is known to work on several Linux
37 inside the LLVM repository itself under ``llvm/test`` and are expected
38 to always pass -- they should be run before every commit.
40 The whole programs tests are referred to as the "LLVM test suite" (or
41 "test-suite") and are in the ``test-suite`` module in subversion. For
43 tests" in places, which is less ambiguous than "test-suite" and remains
47 ----------------
49 The regression tests are small pieces of code that test a specific
53 are located in the ``llvm/test`` directory.
[all …]
/external/llvm/utils/lit/tests/
Ddiscovery.py1 # Check the basic discovery process, including a sub-suite.
4 # RUN: -j 1 --debug --show-tests --show-suites \
5 # RUN: -v > %t.out 2> %t.err
6 # RUN: FileCheck --check-prefix=CHECK-BASIC-OUT < %t.out %s
7 # RUN: FileCheck --check-prefix=CHECK-BASIC-ERR < %t.err %s
9 # CHECK-BASIC-ERR: loading suite config '{{.*}}/discovery/lit.cfg'
10 # CHECK-BASIC-ERR-DAG: loading suite config '{{.*}}/discovery/subsuite/lit.cfg'
11 # CHECK-BASIC-ERR-DAG: loading local config '{{.*}}/discovery/subdir/lit.local.cfg'
13 # CHECK-BASIC-OUT: -- Test Suites --
14 # CHECK-BASIC-OUT: sub-suite - 2 tests
[all …]
/external/python/cpython3/Lib/unittest/test/
Dtest_loader.py9 # test isolation and reproducibility.
39 # "Return a suite of all test cases contained in the TestCase-derived
52 # "Return a suite of all test cases contained in the TestCase-derived
65 # "Return a suite of all test cases contained in the TestCase-derived
73 # test for it.
86 # "Return a suite of all test cases contained in the TestCase-derived
89 # Make sure loadTestsFromTestCase() picks up the default test method
98 # This has to be false for the test to succeed
101 suite = loader.loadTestsFromTestCase(Foo)
102 self.assertIsInstance(suite, loader.suiteClass)
[all …]
Dtest_suite.py6 from unittest.test.support import LoggingResult, TestEquality
12 class Test(object): class
20 return unittest.TestSuite(Test.Foo(n) for n in names)
51 suite = unittest.TestSuite()
53 self.assertEqual(suite.countTestCases(), 0)
55 suite.run(unittest.TestResult())
56 self.assertEqual(suite.countTestCases(), 0)
60 # "If tests is given, it must be an iterable of individual test cases
61 # or other test suites that will be used to build the suite initially"
64 # creation of an empty suite
[all …]
/external/autotest/client/site_tests/graphics_parallel_dEQP/
Dgenerate_controlfiles.py6 3) Decomposing a test into shards. Ideally shard_count is chosen such that
17 Test = namedtuple( variable
18 'Test',
19 'filter, suite, shards, time, tag, api, caselist, perf_failure_description'
22 ATTRIBUTES_PVS = ('suite:deqp, suite:graphics_per-day, suite:graphics_system, '
23 'suite:pvs-graphics')
24 ATTRIBUTES_DAILY = 'suite:deqp, suite:graphics_per-day, suite:graphics_system'
27 class Suite(Enum): class
41 Test('dEQP-GLES2',
42 Suite.pvs,
[all …]
/external/autotest/server/cros/dynamic_suite/
Dsuite_unittest.py4 # Use of this source code is governed by a BSD-style license that can be
38 from autotest_lib.server.cros.dynamic_suite import suite as SuiteBase
44 from autotest_lib.server.cros.dynamic_suite.suite import RetryHandler
45 from autotest_lib.server.cros.dynamic_suite.suite import Suite
61 """Unit tests for dynamic_suite Suite class.
64 @var _TAG: fake suite tag
135 @param suite_name: The suite name to parse control files for.
173 @param suite_name: The suite name to parse control files for.
200 """Test switch on enable_getting_controls_in_batch for function
210 predicate = lambda d: d.suite == self._TAG
[all …]
Dsuite.py3 # Use of this source code is governed by a BSD-style license that can be
48 print(' - Be run in the chroot.')
49 print(' - (not yet supported) be run after running ')
53 'au', 'bvt', 'bvt-cq', 'bvt-inline', 'calibration', 'paygen_au_beta',
67 - state:
77 For example, assume we have a test with JOB_RETRIES=5 and
85 - retry_max:
91 @var _max_retries: Maximum retry limit at suite level.
92 Regardless how many times each individual test
94 the suite can't exceed _max_retries.
[all …]
Ddynamic_suite.py3 # Use of this source code is governed by a BSD-style license that can be
27 from autotest_lib.server.cros.dynamic_suite.suite import ProvisionSuite
28 from autotest_lib.server.cros.dynamic_suite.suite import Suite
32 """CrOS dynamic test suite generation and execution module.
34 This module implements runtime-generated test suites for CrOS.
41 dynamic suite across all reimaged devices.
43 The public API for defining a suite includes one method: reimage_and_run().
44 A suite control file can be written by importing this module and making
46 file will be run in a 'hostless' server-side autotest job, scheduling
47 sub-jobs to do the needed reimaging and test running.
[all …]
/external/libdrm/tests/amdgpu/
Damdgpu_test.h41 /************************* Basic test suite ********************************/
44 * Define basic test suite to serve as the starting point for future testing
48 * Initialize basic test suite
53 * Deinitialize basic test suite
58 * Decide if the suite is enabled by default or not.
63 * Tests in basic test suite
68 * Initialize bo test suite
73 * Deinitialize bo test suite
78 * Tests in bo test suite
83 * Initialize cs test suite
[all …]
/external/python/cpython2/Lib/unittest/test/
Dtest_loader.py13 # "Return a suite of all test cases contained in the TestCase-derived
26 # "Return a suite of all test cases contained in the TestCase-derived
39 # "Return a suite of all test cases contained in the TestCase-derived
47 # test for it.
60 # "Return a suite of all test cases contained in the TestCase-derived
63 # Make sure loadTestsFromTestCase() picks up the default test method
72 # This has to be false for the test to succeed
75 suite = loader.loadTestsFromTestCase(Foo)
76 self.assertIsInstance(suite, loader.suiteClass)
77 self.assertEqual(list(suite), [Foo('runTest')])
[all …]
/external/autotest/server/site_tests/hardware_StorageQualV2/
Dgenerate_control_files.py3 # Use of this source code is governed by a BSD-style license that can be
8 Generates all the control files required to run the Tast-based storage qual full test.
9 In particular, following test blocks are generated:
10 - 00_setup_benchmarks: initial test benchmarks
11 - 01-40_stress: 40 universal test blocks
12 - 99_teardown_benchmarks: final test benchmarks
14 Generated tests are executed by one of the four test suites, according to the required
15 test length: storage_qual_v2_xs, storage_qual_v2_s, storage_qual_v2_m, storage_qual_v2_l
16 and storage_qual_v2_xl for extra small, small, medium, large and extra-large test length.
17 The difference is number of universal test blocks: 2, 10, 20, 30 or 40 respectively.
[all …]
/external/python/cpython2/Grammar/
DGrammar6 # that module yourself, please co-ordinate the required changes
7 # with someone who can; ask around on python-dev for help. Fred
25 funcdef: 'def' NAME parameters ':' suite
27 varargslist: ((fpdef ['=' test] ',')*
29 fpdef ['=' test] (',' fpdef ['=' test])* [','])
39 augassign: ('+=' | '-=' | '*=' | '/=' | '%=' | '&=' | '|=' | '^=' |
42 print_stmt: 'print' ( [ test (',' test)* [','] ] |
43 '>>' test [ (',' test)+ [','] ] )
51 raise_stmt: 'raise' [test [',' test [',' test]]]
62 exec_stmt: 'exec' expr ['in' test [',' test]]
[all …]
/external/autotest/site_utils/
Dsuite_enumerator.py4 # Use of this source code is governed by a BSD-style license that can be
7 """Tool for enumerating the tests in a given suite.
9 Given an autotest root directory and a suite name (e.g., bvt, regression), this
10 tool will print out the name of each test in that suite, one per line.
13 $ ./site_utils/suite_enumerator.py -a /usr/local/autotest bvt 2>/dev/null
17 This is intended for use only with ChromeOS test suits that leverage the
18 dynamic suite infrastructure in server/cros/dynamic_suite.py.
34 import autotest_lib.server.cros.dynamic_suite.suite as suite_lib
38 """Parse command line for arguments including autotest directory, suite
43 parser.add_option('-a', '--autotest_dir', dest='autotest_dir',
[all …]
Dtest_runner_utils.py3 # Use of this source code is governed by a BSD-style license that can be
30 from autotest_lib.server.cros.dynamic_suite import suite, constants
46 _SUITE_REGEX = r'suite:(.*)'
65 """Raise when there is an issue the specified test's control file."""
74 parser.add_argument('tests', nargs='+', metavar='TEST',
75 help='Run given test(s). Use suite:SUITE to specify '
76 'test suite. Use e:[NAME_PATTERN] to specify a '
77 'NAME-matching regular expression. Use '
82 parser.add_argument('--fast', action='store_true', dest='fast_mode',
87 parser.add_argument('--args', metavar='ARGS',
[all …]
/external/llvm/utils/lit/
DTODO11 recursive search to find the test suite for each item, but then we only do a
13 that matches a file on disk we explicitly construct a test instance (bypassing
18 * The test format doesn't have control over the test instances that result
24 * The test format doesn't have full control over the discovery of tests in
28 are resolved to test suites, and then the resolution of the input specifier is
29 delegated to each test suite. This could take a couple forms:
31 * We could resolve to test suites, then fully load each test suite, then have
32 a fixed process to map input specifiers to tests in the test suite
33 (presumably based on path-in-suite derivations). This has the benefit of
34 being consistent across all test formats, but the downside of requiring
[all …]
/external/python/cpython2/Lib/lib2to3/
DGrammar.txt6 # that module yourself, please co-ordinate the required changes
7 # with someone who can; ask around on python-dev for help. Fred
37 funcdef: 'def' NAME parameters ['->' test] ':' suite
39 typedargslist: ((tfpdef ['=' test] ',')*
40 ('*' [tname] (',' tname ['=' test])* [',' '**' tname] | '**' tname)
41 | tfpdef ['=' test] (',' tfpdef ['=' test])* [','])
42 tname: NAME [':' test]
45 varargslist: ((vfpdef ['=' test] ',')*
46 ('*' [vname] (',' vname ['=' test])* [',' '**' vname] | '**' vname)
47 | vfpdef ['=' test] (',' vfpdef ['=' test])* [','])
[all …]
/external/testng/src/test/java/test/issue107/
DIssue107Test.java1 package test.issue107;
6 import org.testng.annotations.Test;
9 import test.SimpleBaseTest;
19 …@Test(description = "GITHUB-107, Check that suite parameters set from listener does not affects te…
21 final XmlSuite suite = createXmlSuite("Simple suite"); in testSuiteParameterModificationFromListener() local
23 final Map<String, String> parameters = suite.getParameters(); in testSuiteParameterModificationFromListener()
25 suite.setParameters(parameters); in testSuiteParameterModificationFromListener()
27 runTest(suite); in testSuiteParameterModificationFromListener()
30 …@Test(description = "GITHUB-107, Check that suite parameters modification from listener does not a…
32 final XmlSuite suite = createXmlSuite("Simple suite"); in testSuiteParameterSetFromListener() local
[all …]
/external/testng/src/test/java/test/thread/
DParallelSuiteTest.java1 package test.thread;
6 import org.testng.annotations.Test;
8 import test.SimpleBaseTest;
16 @Test
19 getPathToResource("suite-parallel-1.xml"), in suitesShouldRunInParallel1()
20 getPathToResource("suite-parallel-2.xml"))); in suitesShouldRunInParallel1()
23 @Test
26 getPathToResource("suite-parallel-0.xml"))); in suitesShouldRunInParallel2()
29 @Test(description = "Number of threads (2) is less than number of suites (3)")
35 tng.setTestSuites(Arrays.asList(getPathToResource("suite-parallel-0.xml"))); in suitesShouldRunInParallel3()
[all …]
/external/python/mobly/tests/mobly/
Dbase_instrumentation_test_test.py7 # http://www.apache.org/licenses/LICENSE-2.0
26 # A random prefix to test that prefixes are added properly.
28 # A mock name for the instrumentation test subclass.
39 INSTRUMENTATION_CODE: -1
134 'utf-8'),
158 usage: am start [-D] [-N] [-W] [-P <FILE>] [--start-profiler <FILE>]
159 [--sampling INTERVAL] [-R COUNT] [-S]
162 -D: enable debugging
165 --user <USER_ID> | current: Specify which user to run as; if not
171 [-a <ACTION>] [-d <DATA_URI>] [-t <MIME_TYPE>]
[all …]
/external/cronet/testing/flake_suppressor_common/
Dexpectations.py2 # Use of this source code is governed by a BSD-style license that can be
32 # pylint: disable=too-many-locals
35 include_all_tags: bool) -> None:
54 for suite, test_map in result_map.items():
55 if self.IsSuiteUnsupported(suite):
57 for test, tag_map in test_map.items():
61 print('Suite: %s' % suite)
62 print('Test: %s' % test)
67 result_map, suite, test, typ_tags)
69 print('Other failures in same test found on other configurations')
[all …]
Ddata_types_unittest.py3 # Use of this source code is governed by a BSD-style license that can be
13 def testAppliesToResultNonResult(self) -> None:
14 """Tests that AppliesToResult properly fails when given a non-Result."""
15 e = data_types.Expectation('test', ['win', 'nvidia'], ['Failure'])
20 def testAppliesToResultApplies(self) -> None:
23 e = data_types.Expectation('test', ['win', 'nvidia'], ['Failure'])
24 r = data_types.Result('suite', 'test', ('win', 'nvidia'), 'id')
27 r = data_types.Result('suite', 'test', ('win', 'nvidia', 'release'), 'id')
33 def testAppliesToResultDoesNotApply(self) -> None:
36 e = data_types.Expectation('test', ['win', 'nvidia'], ['Failure'])
[all …]
/external/testng/src/main/resources/
Dtestng-1.0.dtd1 <!--
6 A <b>suite</b> is made of <b>tests</b> and <b>parameters</b>.
8 A <b>test</b> is made of three parts:
11 <li> <b>parameters</b>, which override the suite parameters
14 of this test run
22 must belong to in order to be run during this test
27 @root suite
29 -->
32 <!-- A suite is the top-level element of a testng.xml file -->
33 <!ELEMENT suite (groups?,(listeners|packages|test|parameter|method-selectors|suite-files)*) >
[all …]
/external/llvm/docs/CommandGuide/
Dlit.rst1 lit - LLVM Integrated Tester
5 --------
10 -----------
12 :program:`lit` is a portable tool for executing LLVM and Clang style test
18 command line. Tests can be either individual test files or directories to
19 search for tests (see :ref:`test-discovery`).
21 Each specified test will be executed (potentially in parallel) and once all
23 of tests which passed or failed (see :ref:`test-status-results`). The
24 :program:`lit` program will execute with a non-zero exit code if any tests
28 print summary information for test failures. See :ref:`output-options` for
[all …]
/external/python/cpython3/Lib/lib2to3/
DGrammar.txt19 funcdef: 'def' NAME parameters ['->' test] ':' suite
25 # argument = tfpdef ['=' test]
36 typedargslist: tfpdef ['=' test] (',' tfpdef ['=' test])* ',' '/' [
37 ',' [((tfpdef ['=' test] ',')* ('*' [tname] (',' tname ['=' test])*
39 | tfpdef ['=' test] (',' tfpdef ['=' test])* [','])]
40 ] | ((tfpdef ['=' test] ',')* ('*' [tname] (',' tname ['=' test])*
42 | tfpdef ['=' test] (',' tfpdef ['=' test])* [','])
44 tname: NAME [':' test]
51 # argument = vfpdef ['=' test]
62 varargslist: vfpdef ['=' test ](',' vfpdef ['=' test])* ',' '/' [',' [
[all …]

12345678910>>...48