| /OK3568_Linux_fs/kernel/lib/kunit/ |
| H A D | debugfs.c | 40 struct kunit_suite *suite, in debugfs_print_result() argument 54 struct kunit_suite *suite = (struct kunit_suite *)seq->private; in debugfs_print_results() local 55 bool success = kunit_suite_has_succeeded(suite); in debugfs_print_results() 58 if (!suite || !suite->log) in debugfs_print_results() 61 seq_printf(seq, "%s", suite->log); in debugfs_print_results() 63 kunit_suite_for_each_test_case(suite, test_case) in debugfs_print_results() 64 debugfs_print_result(seq, suite, test_case); in debugfs_print_results() 67 kunit_status_to_string(success), 1, suite->name); in debugfs_print_results() 78 struct kunit_suite *suite; in debugfs_results_open() local 80 suite = (struct kunit_suite *)inode->i_private; in debugfs_results_open() [all …]
|
| H A D | test.c | 44 size_t kunit_suite_num_test_cases(struct kunit_suite *suite) in kunit_suite_num_test_cases() argument 49 kunit_suite_for_each_test_case(suite, test_case) in kunit_suite_num_test_cases() 56 static void kunit_print_subtest_start(struct kunit_suite *suite) in kunit_print_subtest_start() argument 58 kunit_log(KERN_INFO, suite, KUNIT_SUBTEST_INDENT "# Subtest: %s", in kunit_print_subtest_start() 59 suite->name); in kunit_print_subtest_start() 60 kunit_log(KERN_INFO, suite, KUNIT_SUBTEST_INDENT "1..%zd", in kunit_print_subtest_start() 61 kunit_suite_num_test_cases(suite)); in kunit_print_subtest_start() 70 struct kunit_suite *suite = is_test ? NULL : test_or_suite; in kunit_print_ok_not_ok() local 81 if (suite) in kunit_print_ok_not_ok() 91 bool kunit_suite_has_succeeded(struct kunit_suite *suite) in kunit_suite_has_succeeded() argument [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
|
| /OK3568_Linux_fs/yocto/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]
|
| /OK3568_Linux_fs/yocto/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 …]
|
| H A D | concurrencytest.py | 194 def __init__(self, suite, processes, setupfunc, removefunc): argument 195 super(ConcurrentTestSuite, self).__init__([suite]) 241 def fork_for_tests(concurrency_num, suite): argument 246 test_blocks = partition_tests(suite, concurrency_num) 248 suite._tests[:] = [] 267 … (builddir, newbuilddir) = suite.setupfunc("-st-" + str(ourpid), selftestdir, process_suite) 286 suite.removefunc(newbuilddir) 302 suite.removefunc(newbuilddir) 316 def partition_tests(suite, count): argument 320 for test in iterate_tests(suite):
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/tests/kutf/ |
| H A D | kutf_suite.c | 65 struct kutf_suite *suite; member 294 struct kutf_suite *suite = test_func->suite; in kutf_debugfs_run_open() local 307 if (suite->create_fixture) in kutf_debugfs_run_open() 308 test_context->fixture = suite->create_fixture(test_context); in kutf_debugfs_run_open() 311 if ((suite->create_fixture && test_context->fixture) || in kutf_debugfs_run_open() 312 (!suite->create_fixture)) { in kutf_debugfs_run_open() 316 if (suite->remove_fixture) in kutf_debugfs_run_open() 317 suite->remove_fixture(test_context); in kutf_debugfs_run_open() 502 struct kutf_suite *suite, in kutf_add_test_with_filters_and_data() argument 521 test_func->dir = debugfs_create_dir(name, suite->dir); in kutf_add_test_with_filters_and_data() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/tests/kutf/ |
| H A D | kutf_suite.c | 71 struct kutf_suite *suite; member 285 struct kutf_suite *suite = test_context->suite; in kutf_run_test() local 294 if (suite->create_fixture) in kutf_run_test() 295 test_context->fixture = suite->create_fixture(test_context); in kutf_run_test() 298 if ((suite->create_fixture && test_context->fixture) || in kutf_run_test() 299 (!suite->create_fixture)) { in kutf_run_test() 303 if (suite->remove_fixture) in kutf_run_test() 304 suite->remove_fixture(test_context); in kutf_run_test() 639 struct kutf_suite *suite, in kutf_add_test_with_filters_and_data() argument 658 test_func->dir = debugfs_create_dir(name, suite->dir); in kutf_add_test_with_filters_and_data() [all …]
|
| /OK3568_Linux_fs/kernel/crypto/ |
| H A D | testmgr.c | 158 } suite; member 1889 const struct hash_testvec *template = desc->suite.hash.vecs; in alg_test_hash() 1890 unsigned int tcount = desc->suite.hash.count; in alg_test_hash() 2204 const struct aead_test_suite *suite, in generate_aead_message() argument 2216 if (suite->aad_iv && vec->alen >= ivsize) in generate_aead_message() 2254 mutate_aead_message(vec, suite->aad_iv, ivsize); in generate_aead_message() 2257 if (suite->einval_allowed) in generate_aead_message() 2270 const struct aead_test_suite *suite, in generate_random_aead_testvec() argument 2319 generate_aead_message(req, suite, vec, prefer_inauthentic); in generate_random_aead_testvec() 2332 &ctx->test_desc->suite.aead, in try_to_generate_inauthentic_testvec() [all …]
|
| /OK3568_Linux_fs/yocto/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
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/ |
| H A D | binutils.py | 26 def run_binutils(self, suite): argument 28 features.append('CHECK_TARGETS = "{0}"'.format(suite)) 37 sumspath = os.path.join(builddir, suite, "{0}.sum".format(suite)) 39 sumspath = os.path.join(builddir, suite, "testsuite", "{0}.sum".format(suite)) 42 ptestsuite = "binutils-{}".format(suite) if suite != "binutils" else suite
|
| H A D | gcc.py | 16 def check_skip(self, suite): argument 18 if suite not in targets: 19 self.skipTest("Target does not use {0}".format(suite)) 47 for suite in suites: 48 sumspath = os.path.join(builddir, "gcc", "testsuite", suite, "{0}.sum".format(suite)) 50 … sumspath = os.path.join(builddir, target_sys, suite, "testsuite", "{0}.sum".format(suite)) 52 …sumspath = os.path.join(builddir, target_sys, suite, "testsuite", "{0}.sum".format(suite.split("-"… 55 ptestsuite = "gcc-{}".format(suite) if suite != "gcc" else suite
|
| /OK3568_Linux_fs/yocto/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);
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-daemons/squid/files/ |
| H A D | 0001-splay.cc-fix-bind-is-not-a-member-of-std.patch | 7 | ../../squid-4.6/test-suite/splay.cc:134:28: error: 'bind' is not a member of 'std' 10 | ../../squid-4.6/test-suite/splay.cc:134:28: note: 'std::bind' is defined in header '<functional>'… 14 test-suite/splay.cc | 1 + 17 diff --git a/test-suite/splay.cc b/test-suite/splay.cc 19 --- a/test-suite/splay.cc 20 +++ b/test-suite/splay.cc
|
| H A D | squid-don-t-do-squid-conf-tests-at-build-time.patch | 19 test-suite/Makefile.am | 15 +++++++-------- 22 diff --git a/test-suite/Makefile.am b/test-suite/Makefile.am 24 --- a/test-suite/Makefile.am 25 +++ b/test-suite/Makefile.am
|
| /OK3568_Linux_fs/kernel/Documentation/dev-tools/kunit/ |
| H A D | style.rst | 24 and subsystems. A test suite is a group of tests which test a related area of 31 Every test suite must belong to a subsystem. A subsystem is a collection of one 83 shutdown code which is run for all tests in the suite. 92 separate suites, with the type of test as the last element in the suite name. 94 similar in the suite name. 96 The full test suite name (including the subsystem name) should be specified as 109 The ``kasan`` subsystem has only one suite, so the suite name is the same as 117 The suite name is ambiguous without the subsystem name. 119 Because there is only one suite in the ``kasan`` subsystem, the suite should 121 ``integration_test``. Should a separate test suite with, for example, unit [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/gp/ |
| H A D | prepare_suite.sh | 12 if [ -e $1/host/xtest/gp-suite ]; then 14 rm -rf $1/host/xtest/gp-suite 16 mkdir -p $1/host/xtest/gp-suite 17 7z x -o$1/host/xtest/gp-suite $2 18 cd $1/host/xtest/gp-suite
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/ |
| H A D | oetest.py | 306 for suite in suites: 307 suite.dependencies = [] 308 suite.depth = 0 309 for test in self.getTests(suite): 317 if dep_suite not in suite.dependencies and \ 318 dep_suite is not suite: 319 suite.dependencies.append(dep_suite) 328 def set_suite_depth(suite): argument 329 for dep in suite.dependencies: 331 if new_depth > suite.depth: [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/core/ |
| H A D | runner.py | 249 def _walk_suite(self, suite, func): argument 250 for obj in suite: 251 if isinstance(obj, unittest.suite.TestSuite): 258 def _list_tests_name(self, suite): argument 274 self._walk_suite(suite, _list_cases) 278 def _list_tests_class(self, suite): argument 295 self._walk_suite(suite, _list_classes) 297 def _list_tests_module(self, suite): argument 310 self._walk_suite(suite, _list_modules) 312 def list_tests(self, suite, display_type): argument [all …]
|
| H A D | loader.py | 34 def _find_duplicated_modules(suite, directory): argument 35 for module in getSuiteModules(suite): 219 if issubclass(testCaseClass, unittest.suite.TestSuite): 231 suite = [] 242 suite.append(case) 244 return self.suiteClass(suite) 272 suite = super(OETestLoader, self).discover(path, 274 big_suite.addTests(suite)
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-benchmark/phoronix-test-suite/ |
| H A D | phoronix-test-suite_10.8.2.bb | 8 SRC_URI = "http://www.phoronix-test-suite.com/releases/${BP}.tar.gz \ 16 S = "${WORKDIR}/phoronix-test-suite" 39 ${datadir}/phoronix-test-suite \ 40 ${datadir}/appdata/phoronix-test-suite.appdata.xml \ 41 ${datadir}/icons/hicolor/48x48/apps/phoronix-test-suite.png \
|
| /OK3568_Linux_fs/u-boot/tools/buildman/ |
| H A D | buildman | 40 suite = doctest.DocTestSuite(module) 41 suite.run(result) 45 suite = unittest.TestLoader().loadTestsFromTestCase(module) 46 suite.run(result)
|
| H A D | buildman.py | 40 suite = doctest.DocTestSuite(module) 41 suite.run(result) 45 suite = unittest.TestLoader().loadTestsFromTestCase(module) 46 suite.run(result)
|
| /OK3568_Linux_fs/u-boot/tools/binman/ |
| H A D | binman | 43 suite = doctest.DocTestSuite(module) 44 suite.run(result) 49 suite = unittest.TestLoader().loadTestsFromTestCase(module) 50 suite.run(result)
|