Home
last modified time | relevance | path

Searched refs:test_case (Results 1 – 10 of 10) sorted by relevance

/openbmc/openbmc/poky/meta/lib/oeqa/core/utils/
H A Dtest.py61 def getCaseModule(test_case): argument
65 return test_case.__module__
67 def getCaseClass(test_case): argument
71 return test_case.__class__.__name__
73 def getCaseID(test_case): argument
77 return test_case.id()
79 def getCaseFile(test_case): argument
83 return inspect.getsourcefile(test_case.__class__)
85 def getCaseMethod(test_case): argument
89 return getCaseID(test_case).split('.')[-1]
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dpackage_manager.py168 def install_package(test_case): argument
172 needed_packages = test_needs_package(test_case)
174 _install_uninstall_packages(needed_packages, test_case, True)
176 def uninstall_package(test_case): argument
180 needed_packages = test_needs_package(test_case)
182 _install_uninstall_packages(needed_packages, test_case, False)
184 def test_needs_package(test_case): argument
188 test_file = getCaseFile(test_case)
192 test_method = getCaseMethod(test_case)
199 def _install_uninstall_packages(needed_packages, test_case, install=True): argument
[all …]
H A Ddecorators.py20 def __init__(self, test_case): argument
21 self.test_case = test_case
27 wrapped_f.test_case = self.test_case
66 test_case = testMethod.test_case
68 test_case = self._testMethodName
95 local_log.results("Testcase "+str(test_case)+": ERROR")
96 local_log.results("Testcase "+str(test_case)+":\n"+msg)
100 local_log.results("Testcase "+str(test_case)+": FAILED")
101 local_log.results("Testcase "+str(test_case)+":\n"+msg)
105 local_log.results("Testcase "+str(test_case)+": SKIPPED")
[all …]
/openbmc/libbej/test/
H A Dbej_encoder_test.cpp341 const BejEncoderTestParams& test_case = GetParam(); in TEST_P() local
342 auto inputsOrErr = loadInputs(test_case.inputFiles); in TEST_P()
371 test_case.createResource(), &output, &stackCallbacks); in TEST_P()
378 if (!test_case.expectedJson.empty()) in TEST_P()
381 nlohmann::json::parse(test_case.expectedJson); in TEST_P()
388 const BejEncoderTestParams& test_case = GetParam(); in TEST_P() local
389 auto inputsOrErr = loadInputs(test_case.inputFiles); in TEST_P()
403 test_case.createResource()); in TEST_P()
411 if (!test_case.expectedJson.empty()) in TEST_P()
414 nlohmann::json::parse(test_case.expectedJson); in TEST_P()
[all …]
H A Dbej_decoder_test.cpp63 const BejDecoderTestParams& test_case = GetParam(); in TEST_P() local
64 auto inputsOrErr = loadInputs(test_case.inputFiles); in TEST_P()
/openbmc/qemu/scripts/simplebench/
H A Dsimplebench.py31 def bench_one(test_func, test_env, test_case, count=5, initial_run=True, argument
64 print(' ', test_func(test_env, test_case))
72 res = test_func(test_env, test_case)
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/memtool/memtool/
H A Dtest_read_write_plainfiles.sh57 for test_case in $(declare -F | grep test_memtool_ | cut -f 3 -d ' '); do
59 $test_case
/openbmc/qemu/tests/qemu-iotests/
H A Diotests.py1563 def func_wrapper(test_case: QMPTestCase, *args: List[Any],
1566 fmts = required_formats(test_case)
1573 test_case.case_skip(msg)
1575 func(test_case, *args, **kwargs)
1585 def func_wrapper(test_case: QMPTestCase, *args: List[Any],
1589 test_case.case_skip(msg)
1591 func(test_case, *args, **kwargs)
/openbmc/openbmc/poky/bitbake/lib/bb/tests/
H A Dcodeparser.py172 def test_case(self): member in ShellReferenceTest
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/krb5/krb5/
H A D0001-Eliminate-old-style-function-declarations.patch2310 @@ -54,7 +54,8 @@ uint8_t test_case[NTESTS][4 * B] = {
2375 } test_case[NTESTS];