/openbmc/linux/lib/kunit/ |
H A D | debugfs.c | 41 struct kunit_suite *suite, in debugfs_print_result() argument 55 struct kunit_suite *suite = (struct kunit_suite *)seq->private; in debugfs_print_results() local 59 if (!suite) in debugfs_print_results() 62 success = kunit_suite_has_succeeded(suite); in debugfs_print_results() 70 seq_printf(seq, KUNIT_SUBTEST_INDENT "# Subtest: %s\n", suite->name); in debugfs_print_results() 71 seq_printf(seq, KUNIT_SUBTEST_INDENT "1..%zd\n", kunit_suite_num_test_cases(suite)); in debugfs_print_results() 73 kunit_suite_for_each_test_case(suite, test_case) in debugfs_print_results() 74 debugfs_print_result(seq, suite, test_case); in debugfs_print_results() 76 if (suite->log) in debugfs_print_results() 77 seq_printf(seq, "%s", suite->log); in debugfs_print_results() [all …]
|
H A D | test.c | 161 size_t kunit_suite_num_test_cases(struct kunit_suite *suite) in kunit_suite_num_test_cases() argument 166 kunit_suite_for_each_test_case(suite, test_case) in kunit_suite_num_test_cases() 180 static void kunit_print_suite_start(struct kunit_suite *suite) in kunit_print_suite_start() argument 192 suite->name); in kunit_print_suite_start() 193 kunit_print_attr((void *)suite, false, KUNIT_LEVEL_CASE); in kunit_print_suite_start() 195 kunit_suite_num_test_cases(suite)); in kunit_print_suite_start() 235 enum kunit_status kunit_suite_has_succeeded(struct kunit_suite *suite) in kunit_suite_has_succeeded() argument 240 if (suite->suite_init_err) in kunit_suite_has_succeeded() 243 kunit_suite_for_each_test_case(suite, test_case) { in kunit_suite_has_succeeded() 256 static void kunit_print_suite_end(struct kunit_suite *suite) in kunit_print_suite_end() argument [all …]
|
H A D | attributes.c | 174 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in attr_speed_get() local 180 return ((void *) suite->attr.speed); in attr_speed_get() 185 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in attr_module_get() local 191 else if (kunit_suite_num_test_cases(suite) > 0) in attr_module_get() 192 return ((void *) suite->test_cases[0].module_name); in attr_module_get() 231 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in kunit_print_attr() local 247 kunit_log(KERN_INFO, suite, "%*s# %s: %s", in kunit_print_attr() 337 struct kunit_suite *kunit_filter_attr_tests(const struct kunit_suite *const suite, in kunit_filter_attr_tests() argument 347 copy = kmemdup(suite, sizeof(*copy), GFP_KERNEL); in kunit_filter_attr_tests() 351 kunit_suite_for_each_test_case(suite, test_case) { n++; } in kunit_filter_attr_tests() [all …]
|
H A D | debugfs.h | 13 void kunit_debugfs_create_suite(struct kunit_suite *suite); 14 void kunit_debugfs_destroy_suite(struct kunit_suite *suite); 20 static inline void kunit_debugfs_create_suite(struct kunit_suite *suite) { } in kunit_debugfs_create_suite() argument 22 static inline void kunit_debugfs_destroy_suite(struct kunit_suite *suite) { } in kunit_debugfs_destroy_suite() argument
|
/openbmc/openbmc/poky/scripts/lib/resulttool/ |
H A D | report.py | 33 for suite in result['ptestresult.sections']: 34 if suite not in self.ptests[machine]: 35 self.ptests[machine][suite] = { 39 if 'duration' in result['ptestresult.sections'][suite]: 40 … self.ptests[machine][suite]['duration'] = result['ptestresult.sections'][suite]['duration'] 41 if 'timeout' in result['ptestresult.sections'][suite]: 42 self.ptests[machine][suite]['duration'] += " T" 47 _, suite, test = k.split(".", 2) 52 if 'ptestresult.sections' in result and suite not in result['ptestresult.sections']: 54 _, suite, suite1, test = k.split(".", 3) [all …]
|
H A D | store.py | 54 for suite in results: 55 for result in results[suite]: 56 config = results[suite][result]['configuration']['LAYERS']['meta'] 60 if suite not in revisions[revision]: 61 revisions[revision][suite] = {} 62 revisions[revision][suite][result] = results[suite][result]
|
/openbmc/openbmc/poky/meta/lib/oeqa/core/utils/ |
H A D | test.py | 11 def getSuiteCases(suite): argument 17 if isinstance(suite, unittest.TestCase): 18 tests.append(suite) 19 elif isinstance(suite, unittest.suite.TestSuite): 20 for item in suite: 25 def getSuiteModules(suite): argument 30 for test in getSuiteCases(suite): 34 def getSuiteCasesInfo(suite, func): argument 39 for test in getSuiteCases(suite): 43 def getSuiteCasesNames(suite): argument [all …]
|
/openbmc/linux/crypto/ |
H A D | testmgr.c | 155 } suite; member 1989 const struct hash_testvec *template = desc->suite.hash.vecs; in alg_test_hash() 1990 unsigned int tcount = desc->suite.hash.count; in alg_test_hash() 2310 const struct aead_test_suite *suite, in generate_aead_message() argument 2323 if (suite->aad_iv && vec->alen >= ivsize) in generate_aead_message() 2361 mutate_aead_message(rng, vec, suite->aad_iv, ivsize); in generate_aead_message() 2364 if (suite->einval_allowed) in generate_aead_message() 2378 const struct aead_test_suite *suite, in generate_random_aead_testvec() argument 2427 generate_aead_message(rng, req, suite, vec, prefer_inauthentic); in generate_random_aead_testvec() 2440 &ctx->test_desc->suite.aead, in try_to_generate_inauthentic_testvec() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/s-suite/ |
H A D | s-suite_git.bb | 15 # installing in /opt/S-suite since the package has 18 install -d ${D}/opt/S-suite 20 install -d ${D}/opt/S-suite/$(basename $i) 21 install -m0755 -p ${S}/$(basename $i)/* ${D}/opt/S-suite/$(basename $i) 24 install -m0755 ${S}/def_config.sh ${D}/opt/S-suite 25 install -m0755 ${S}/config_params.sh ${D}/opt/S-suite 26 install -m0755 ${S}/create_config.sh ${D}/opt/S-suite 27 install -m0755 ${S}/process_config.sh ${D}/opt/S-suite 33 FILES:${PN} = "/opt/S-suite/" 35 # added to INSANE_SKIP since s-suite have an runtime
|
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | binutils.py | 31 def run_binutils(self, suite): argument 33 features.append('CHECK_TARGETS = "{0}"'.format(suite)) 46 sumspath = os.path.join(builddir, suite, "{0}.sum".format(suite)) 48 sumspath = os.path.join(builddir, suite, "testsuite", "{0}.sum".format(suite)) 51 ptestsuite = "binutils-{}".format(suite) if suite != "binutils" else suite
|
H A D | gcc.py | 21 def check_skip(self, suite): argument 23 if suite not in targets: 24 self.skipTest("Target does not use {0}".format(suite)) 57 for suite in suites: 58 sumspath = os.path.join(builddir, "gcc", "testsuite", suite, "{0}.sum".format(suite)) 60 … sumspath = os.path.join(builddir, target_sys, suite, "testsuite", "{0}.sum".format(suite)) 62 …sumspath = os.path.join(builddir, target_sys, suite, "testsuite", "{0}.sum".format(suite.split("-"… 65 ptestsuite = "gcc-{}".format(suite) if suite != "gcc" else suite
|
/openbmc/u-boot/tools/concurrencytest/ |
H A D | concurrencytest.py | 51 def do_fork(suite): argument 60 test_blocks = partition_tests(suite, concurrency_num) 62 suite._tests[:] = [] 102 def partition_tests(suite, count): argument 110 tests = iterate_tests(suite) 135 suite = unittest.TestLoader().loadTestsFromTestCase(SampleTestCase) variable 139 runner.run(suite) 142 suite = unittest.TestLoader().loadTestsFromTestCase(SampleTestCase) variable 143 concurrent_suite = ConcurrentTestSuite(suite, fork_for_tests(4))
|
/openbmc/qemu/scripts/ |
H A D | mtest2make.py | 84 def emit_suite_deps(name, suite, prefix): argument 85 deps = ' '.join(suite.deps) 93 def emit_suite(name, suite, prefix): argument 94 emit_suite_deps(name, suite, prefix) 97 print(f'.{prefix}.mtest-suites += ' + ' '.join(suite.names(name))) 107 for name, suite in testsuites.items(): 108 emit_suite(name, suite, 'check') 114 for name, suite in benchsuites.items(): 115 emit_suite(name, suite, 'bench')
|
/openbmc/openbmc/poky/meta/recipes-support/apr/apr/ |
H A D | 0001-Add-option-to-disable-timed-dependant-tests.patch | 52 @@ -535,7 +535,7 @@ abts_suite *testlock(abts_suite *suite) 53 abts_run_test(suite, threads_not_impl, NULL); 55 abts_run_test(suite, test_thread_mutex, NULL); 58 abts_run_test(suite, test_thread_timedmutex, NULL); 60 abts_run_test(suite, test_thread_nestedmutex, NULL); 61 @@ -543,7 +543,7 @@ abts_suite *testlock(abts_suite *suite) 62 abts_run_test(suite, test_thread_rwlock, NULL); 63 abts_run_test(suite, test_cond, NULL); 64 abts_run_test(suite, test_timeoutcond, NULL); 67 abts_run_test(suite, test_timeoutmutex, NULL);
|
/openbmc/linux/Documentation/dev-tools/kunit/ |
H A D | style.rst | 24 suite is a group of tests which test a related area of the kernel. A subsystem 31 Every test suite must belong to a subsystem. A subsystem is a collection of one 81 shutdown code which is run for all tests in the suite. Not all subsystems need 90 put into separate suites, with the type of test as the last element in the suite 92 or similar in the suite name. 94 The full test suite name (including the subsystem name) should be specified as 105 The ``kasan`` subsystem has only one suite, so the suite name is the same as 113 The suite name is ambiguous without the subsystem name. 115 Because there is only one suite in the ``kasan`` subsystem, the suite should 117 ``integration_test``. It should be a separate test suite. For example, if the [all …]
|
/openbmc/u-boot/tools/binman/ |
H A D | binman | 58 suite = doctest.DocTestSuite(module) 59 suite.run(result) 70 suite = unittest.TestSuite() 76 suite.addTests(loader.loadTestsFromName(test_name, module)) 80 suite.addTests(loader.loadTestsFromTestCase(module)) 82 concurrent_suite = ConcurrentTestSuite(suite, 86 suite.run(result)
|
H A D | binman.py | 58 suite = doctest.DocTestSuite(module) 59 suite.run(result) 70 suite = unittest.TestSuite() 76 suite.addTests(loader.loadTestsFromName(test_name, module)) 80 suite.addTests(loader.loadTestsFromTestCase(module)) 82 concurrent_suite = ConcurrentTestSuite(suite, 86 suite.run(result)
|
/openbmc/openbmc/poky/meta/lib/oeqa/ |
H A D | oetest.py | 291 for suite in suites: 292 suite.dependencies = [] 293 suite.depth = 0 294 for test in self.getTests(suite): 302 if dep_suite not in suite.dependencies and \ 303 dep_suite is not suite: 304 suite.dependencies.append(dep_suite) 313 def set_suite_depth(suite): argument 314 for dep in suite.dependencies: 316 if new_depth > suite.depth: [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | debugfs-scmi | 9 Users: Debugging, any userspace test suite 20 Users: Debugging, any userspace test suite 28 Users: Debugging, any userspace test suite 36 Users: Debugging, any userspace test suite 44 Users: Debugging, any userspace test suite 52 Users: Debugging, any userspace test suite 61 Users: Debugging, any userspace test suite 70 Users: Debugging, any userspace test suite
|
/openbmc/qemu/tests/decode/ |
H A D | meson.build | 51 suite = 'decodetree' variable 57 suite: suite) 63 suite: suite)
|
/openbmc/openbmc/poky/meta/recipes-kernel/lttng/lttng-tools/ |
H A D | run-ptest | 39 if [ -e tests/unit/test-suite.log ]; then 40 cat tests/unit/test-suite.log 42 if [ -e tests/regression/test-suite.log ]; then 43 cat tests/regression/test-suite.log
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/phoronix-test-suite/ |
H A D | phoronix-test-suite_10.8.4.bb | 8 SRC_URI = "http://www.phoronix-test-suite.com/releases/${BP}.tar.gz \ 14 S = "${WORKDIR}/phoronix-test-suite" 37 ${datadir}/phoronix-test-suite \ 38 ${datadir}/appdata/phoronix-test-suite.appdata.xml \ 39 ${datadir}/icons/hicolor/48x48/apps/phoronix-test-suite.png \
|
/openbmc/openbmc/poky/meta/recipes-support/attr/attr/ |
H A D | run-ptest | 4 make test-suite.log 6 if [ $exitcode -ne 0 -a -e test-suite.log ]; then 7 cat test-suite.log
|
/openbmc/u-boot/tools/buildman/ |
H A D | buildman | 39 suite = doctest.DocTestSuite(module) 40 suite.run(result) 46 suite = unittest.TestLoader().loadTestsFromTestCase(module) 47 suite.run(result)
|
H A D | buildman.py | 39 suite = doctest.DocTestSuite(module) 40 suite.run(result) 46 suite = unittest.TestLoader().loadTestsFromTestCase(module) 47 suite.run(result)
|