/openbmc/openbmc/poky/meta/lib/oeqa/core/utils/ |
H A D | test.py | 11 def getSuiteCases(suite): argument 13 Returns individual test from a test suite. 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 27 Returns modules in a test suite. 30 for test in getSuiteCases(suite): 34 def getSuiteCasesInfo(suite, func): argument [all …]
|
/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() 68 /* Print suite header because it is not stored in the test logs. */ 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() [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 183 * We do not log the test suite header as doing so would in kunit_print_suite_start() 184 * mean debugfs display would consist of the test suite in kunit_print_suite_start() 186 * Hence directly printk the suite status, and we will in kunit_print_suite_start() 187 * separately seq_printf() the suite header for the debugfs in kunit_print_suite_start() 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() [all …]
|
H A D | kunit-example-test.c | 55 * This is run once before all test cases in the suite. 58 static int example_test_init_suite(struct kunit_suite *suite) in example_test_init_suite() argument 60 kunit_info(suite, "initializing suite\n"); in example_test_init_suite() 66 * This is run once after all test cases in the suite. 69 static void example_test_exit_suite(struct kunit_suite *suite) in example_test_exit_suite() argument 71 kunit_info(suite, "exiting suite\n"); in example_test_exit_suite() 232 * Here we make a list of all the test cases we want to add to the test suite 240 * test suite. 253 * This defines a suite or grouping of tests. 255 * Test cases are defined as belonging to the suite by adding them to [all …]
|
/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 …]
|
/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_cipher.robot | 12 Suite Setup IPMI Cipher Suite Setup 81 Verify Cipher Suite And Supported Algorithms Via IPMI Raw Command 96 Verify Get Cipher Suite Command For Invalid Channels 97 [Documentation] Verify Get Cipher Suite Command For all Invalid Channels. 99 [Template] Verify Cipher Suite For Invalid Channel 107 Verify Get Cipher Suite Raw Command With Invalid Data Length 108 [Documentation] Verify Get Cipher Suite Raw Command With One Extra and Less Byte. 110 [Template] Verify Cipher Suite Command for Invalid Request Data 119 IPMI Cipher Suite Setup 121 ... in list type and set it as suite variable. [all …]
|
/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/openbmc-test-automation/systest/collection/ |
H A D | bmc_collect_esels.robot | 10 Suite Setup Suite Setup Execution 11 Suite Teardown Suite Teardown Execution 30 Set Suite Variable ${rest_error_logs} 37 Set Suite Variable ${error_logs_flagged_rest} 48 Set Suite Variable ${redfish_event_logs} 52 Set Suite Variable ${event_logs_flagged_redfish} 57 Suite Setup Execution 58 [Documentation] Do test suite setup tasks. 64 Suite Teardown Execution 65 [Documentation] Do suite teardown tasks. Log error and event logs collected.
|
H A D | bmc_collect_sensors.robot | 12 Suite Setup Suite Setup Execution 13 Suite Teardown Suite Teardown Execution 47 Set Suite Variable ${sensors_flagged_rest} 61 Set Suite Variable ${sensors_values_redfish} 69 Set Suite Variable ${sensors_flagged_redfish} 74 Suite Setup Execution 75 [Documentation] Do suite setup tasks. 81 Suite Teardown Execution 82 [Documentation] Do suite teardown tasks. Log sensor values collected.
|
/openbmc/qemu/scripts/ |
H A D | mtest2make.py | 14 class Suite(object): class 26 .speed.quick = $(foreach s,$(sort $(filter-out %-slow %-thorough, $1)), --suite $s) 27 .speed.slow = $(foreach s,$(sort $(filter-out %-thorough, $1)), --suite $s) 28 .speed.thorough = $(foreach s,$(sort $1), --suite $s) 53 test_suites = test['suite'] or ['default'] 55 # The suite name in the introspection info is "PROJECT" or "PROJECT:SUITE" 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) [all …]
|
/openbmc/u-boot/tools/concurrencytest/ |
H A D | concurrencytest.py | 51 def do_fork(suite): argument 52 """Take suite and start up multiple runners by forking (Unix only). 54 :param suite: TestSuite object. 60 test_blocks = partition_tests(suite, concurrency_num) 61 # Clear the tests from the original suite so it doesn't keep them alive 62 suite._tests[:] = [] 65 # Also clear each split list so new suite has only reference 102 def partition_tests(suite, count): argument 103 """Partition suite into count lists of tests.""" 110 tests = iterate_tests(suite) [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-test-automation/openpower/ras/ |
H A D | test_sanity.robot | 8 Suite Setup Suite Setup Execution 11 Suite Teardown Suite Setup Teardown 39 Suite Setup Execution 40 [Documentation] Do the suite setup. 46 Suite Setup Teardown 47 [Documentation] Do the suite setup.
|
/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/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/phosphor-host-ipmid/user_channel/ |
H A D | cipher_mgmt.hpp | 39 * @brief Class to provide cipher suite functionalities 49 /** @brief function to get cipher suite privileges from config file 51 * @param[in] chNum - channel number for which we want to get cipher suite 54 * @param[in] csPrivilegeLevels - gets filled by cipher suite privilege 62 /** @brief function to set/update cipher suite privileges in config file 65 * suite privilege levels 67 * @param[in] csPrivilegeLevels - cipher suite privilege levels to update 95 /** @brief convert to cipher suite privilege from string to value 99 * @return cipher suite privilege index 125 * @param[in] csFileName - user setting cipher suite privilege file name [all …]
|
/openbmc/linux/tools/perf/Documentation/ |
H A D | perf-bench.txt | 11 'perf bench' [<common options>] <subsystem> <suite> [<options>] 79 Suite for evaluating performance of scheduler and IPC mechanisms. 118 Suite for pipe() system call. 149 Suite for evaluating performance of core system call throughput (both usecs/op and ops/sec metrics). 157 Suite for evaluating performance of simple memory copy in various ways. 181 Suite for evaluating performance of simple memory set in various ways. 207 Suite for evaluating NUMA workloads. 212 Suite for evaluating hash tables. 215 Suite for evaluating wake calls. 218 Suite for evaluating parallel wake calls. [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-test-automation/oem/nuvoton/ |
H A D | test_jtag_master.robot | 9 Suite Setup Suite Setup Execution 60 Suite Setup Execution 61 [Documentation] Suite Setup Execution. 81 Set Suite Variable ${cpld_firmware1} 82 Set Suite Variable ${cpld_firmware2} 83 Set Suite Variable ${firmware_version1} 84 Set Suite Variable ${firmware_version2} 85 Set Suite Variable ${readusercode_svf} 86 Set Suite Variable ${readid_svf} 87 Set Suite Variable ${jtag_dev} [all …]
|
/openbmc/openbmc-test-automation/redfish/systems/ |
H A D | test_power_control_metrics.robot | 9 Suite Setup Suite Setup Execution 10 Suite Teardown Suite Teardown Execution 47 Suite Teardown Execution 48 [Documentation] Do the post suite teardown. 53 Suite Setup Execution
|
/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-test-automation/redfish/systems/eventlog/ |
H A D | test_event_service.robot | 9 Suite Setup Suite Setup Execution 10 Suite teardown Suite Teardown Execution 54 Suite Setup Execution 55 [Documentation] Do the suite setup. 63 Suite Teardown Execution 64 [Documentation] Do the suite teardown.
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/phoronix-test-suite/ |
H A D | phoronix-test-suite_10.8.4.bb | 1 SUMMARY = "Phoronix Test Suite" 2 DESCRIPTION = "The Phoronix Test Suite is designed to carry out both qualitative \ 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-test-automation/network/ |
H A D | test_bmc_dhcp_conf.robot | 2 Documentation DHCP Network to test suite functionality. 8 Suite Setup Suite Setup Execution 9 Suite Teardown Run Keywords Restore Configuration AND Redfish.Logout 57 Suite Setup Execution 58 [Documentation] Suite Setup Execution. 67 … ... Run Keywords Set Suite Variable ${eth1_subnet_mask} ${network_configuration['SubnetMask']} 68 ... AND Set Suite Variable ${eth1_gateway} ${network_configuration['Gateway']} 75 … ... Run Keywords Set Suite Variable ${eth0_subnet_mask} ${network_configuration['SubnetMask']} 76 ... AND Set Suite Variable ${eth0_gateway} ${network_configuration['Gateway']}
|