/openbmc/linux/lib/kunit/ |
H A D | debugfs.c | 41 struct kunit_suite *suite, in debugfs_print_result() argument 59 if (!suite) in debugfs_print_results() 62 success = kunit_suite_has_succeeded(suite); in debugfs_print_results() 76 if (suite->log) in debugfs_print_results() 77 seq_printf(seq, "%s", suite->log); in debugfs_print_results() 91 struct kunit_suite *suite; in debugfs_results_open() local 114 suite->debugfs = debugfs_create_dir(suite->name, debugfs_rootdir); in kunit_debugfs_create_suite() 117 suite->debugfs, in kunit_debugfs_create_suite() 118 suite, &debugfs_results_fops); in kunit_debugfs_create_suite() 125 debugfs_remove_recursive(suite->debugfs); in kunit_debugfs_destroy_suite() [all …]
|
H A D | test.c | 192 suite->name); in kunit_print_suite_start() 261 suite->name, in kunit_print_suite_end() 415 if (suite->init) { in kunit_run_case_internal() 447 if (suite->exit) in kunit_run_case_cleanup() 448 suite->exit(test); in kunit_run_case_cleanup() 463 struct kunit_suite *suite = ctx->suite; in kunit_try_run_case() local 480 struct kunit_suite *suite = ctx->suite; in kunit_try_run_case_cleanup() local 562 context.suite = suite; in kunit_run_case_catch_errors() 587 suite->name, in kunit_print_suite_stats() 642 suite->suite_init_err = suite->suite_init(suite); in kunit_run_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
|
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() 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() 367 suite_val = filter.attr->get_attr((void *)suite, false); in kunit_filter_attr_tests() [all …]
|
/openbmc/openbmc/poky/scripts/lib/resulttool/ |
H A D | report.py | 40 … self.ptests[machine][suite]['duration'] = result['ptestresult.sections'][suite]['duration'] 47 _, suite, test = k.split(".", 2) 56 suite = suite + "." + suite1 60 if suite not in self.ptests[machine]: 61 self.ptests[machine][suite] = { 87 … self.ltptests[machine][suite]['duration'] = result['ltpresult.sections'][suite]['duration'] 92 _, suite, test = k.split(".", 2) 100 suite = suite + "." + suite1 119 …self.ltpposixtests[machine][suite]['duration'] = result['ltpposixresult.sections'][suite]['duratio… 122 _, suite, test = k.split(".", 2) [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 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 49 def getSuiteCasesIDs(suite): argument [all …]
|
/openbmc/linux/crypto/ |
H A D | testmgr.c | 155 } suite; member 4312 .suite = { 4319 .suite = { 4325 .suite = { 4331 .suite = { 4337 .suite = { 4344 .suite = { 4350 .suite = { 4356 .suite = { 4366 .suite = { [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/s-suite/ |
H A D | s-suite_git.bb | 11 # installing in /opt/S-suite since the package has 14 install -d ${D}/opt/S-suite 16 install -d ${D}/opt/S-suite/$(basename $i) 17 install -m0755 -p ${S}/$(basename $i)/* ${D}/opt/S-suite/$(basename $i) 20 install -m0755 ${S}/def_config.sh ${D}/opt/S-suite 21 install -m0755 ${S}/config_params.sh ${D}/opt/S-suite 22 install -m0755 ${S}/create_config.sh ${D}/opt/S-suite 23 install -m0755 ${S}/process_config.sh ${D}/opt/S-suite 29 FILES:${PN} = "/opt/S-suite/" 31 # 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 | 83 def emit_suite_deps(name, suite, prefix): argument 84 deps = ' '.join(suite.deps) 92 def emit_suite(name, suite, prefix): argument 93 emit_suite_deps(name, suite, prefix) 96 print(f'.{prefix}.mtest-suites += ' + ' '.join(suite.names(name))) 106 for name, suite in testsuites.items(): 107 emit_suite(name, suite, 'check') 113 for name, suite in benchsuites.items(): 114 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 92 or similar in the suite name. 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 126 results will show up as subtests of the suite's results. 150 test name, separated by a colon (i.e. ``suite:test``). 155 Every test suite should be tied to a Kconfig entry. 160 suite. 196 ``<suite>_test.c`` (or, as above, ``<suite>_kunit.c``). This file should be [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/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/poky/meta/lib/oeqa/ |
H A D | oetest.py | 291 for suite in suites: 292 suite.dependencies = [] 293 suite.depth = 0 313 def set_suite_depth(suite): argument 314 for dep in suite.dependencies: 316 if new_depth > suite.depth: 318 return suite.depth 321 set_suite_depth(suite) 322 suite.index = index 334 return self.suite [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/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/openbmc/poky/meta/recipes-support/attr/acl/ |
H A D | run-ptest | 11 make test-suite.log 13 if [ $exitcode -ne 0 -a -e test-suite.log ]; then 14 cat 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/u-boot/tools/buildman/ |
H A D | buildman.py | 39 suite = doctest.DocTestSuite(module) 40 suite.run(result) 46 suite = unittest.TestLoader().loadTestsFromTestCase(module) 47 suite.run(result)
|