/openbmc/openbmc/poky/scripts/lib/resulttool/ |
H A D | resultutils.py | 61 def append_resultsdata(results, f, configmap=store_map, configvars=extra_configvars): argument 91 if testpath not in results: 92 results[testpath] = {} 93 results[testpath][res] = data[res] 100 results = {} 102 append_resultsdata(results, source, configmap, configvars) 103 return results 108 append_resultsdata(results, f, configmap, configvars) 109 return results 111 def filter_resultsdata(results, resultid): argument [all …]
|
H A D | regression.py | 89 def all_tests_have_at_least_one_matching_tag(results, tag_list): argument 90 …, tag_list) or test_name.startswith("ptestresult") for (test_name, test_result) in results.items()) 92 def any_test_have_any_matching_tag(results, tag_list): argument 93 return any(test_has_at_least_one_matching_tag(test, tag_list) for test in results.values()) 101 def guess_oeselftest_metadata(results): argument 111 if len(results) == 1 and "buildoptions.SourceMirroring.test_yocto_source_mirror" in results: 113 elif all(result.startswith("reproducible") for result in results): 115 elif all_tests_have_at_least_one_matching_tag(results, ["machine"]): 117 elif all_tests_have_at_least_one_matching_tag(results, ["machine", "toolchain-system"]): 119 elif all_tests_have_at_least_one_matching_tag(results, ["machine", "toolchain-user"]): [all …]
|
H A D | store.py | 29 results = {} 32 resultutils.append_resultsdata(results, args.source, configvars=configvars) 38 resultutils.append_resultsdata(results, f, configvars=configvars) 46 if not results and not args.all: 54 for suite in results: 55 for result in results[suite]: 56 config = results[suite][result]['configuration']['LAYERS']['meta'] 62 revisions[revision][suite][result] = results[suite][result] 67 results = revisions[r] 73 resultutils.save_resultsdata(results, tempdir, ptestlogs=True)
|
H A D | merge.py | 20 …results = resultutils.load_resultsdata(args.target_results, configmap=resultutils.store_map, confi… 21 …resultutils.append_resultsdata(results, args.base_results, configmap=resultutils.store_map, config… 22 resultutils.save_resultsdata(results, args.target_results) 24 …results = resultutils.load_resultsdata(args.base_results, configmap=resultutils.flatten_map, confi… 26 …resultutils.append_resultsdata(results, args.target_results, configmap=resultutils.flatten_map, co… 27 …resultutils.save_resultsdata(results, os.path.dirname(args.target_results), fn=os.path.basename(ar…
|
/openbmc/openbmc/poky/meta/lib/oeqa/utils/ |
H A D | logparser.py | 14 self.results = {} 47 if current_section['name'] not in self.results: 48 self.results[current_section['name']] = {} 81 self.results[current_section['name']][result.group(1).strip()] = t 90 return self.results, self.sections 97 for section in self.results: 104 for test_name in sorted(self.results[section]): 105 status = self.results[section][test_name] 114 results = {} 142 results[values["tag"]] = "SKIPPED" [all …]
|
/openbmc/qemu/scripts/simplebench/ |
H A D | results_to_text.py | 48 def results_dimension(results): argument 50 for case in results['cases']: 51 for env in results['envs']: 52 res = results['tab'][case['id']][env['id']] 63 def results_to_text(results): argument 65 n_columns = len(results['envs']) 67 dim = results_dimension(results) 74 tab.append([''] + [c['id'] for c in results['envs']]) 76 for case in results['cases']: 78 case_results = results['tab'][case['id']] [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_tlv.c | 471 static s32 fm10k_tlv_attr_parse(u32 *attr, u32 **results, in fm10k_tlv_attr_parse() argument 479 if (!attr || !results) in fm10k_tlv_attr_parse() 484 results[i] = NULL; in fm10k_tlv_attr_parse() 495 results[0] = attr; in fm10k_tlv_attr_parse() 515 results[attr_id] = attr; in fm10k_tlv_attr_parse() 548 u32 *results[FM10K_TLV_RESULTS_MAX]; in fm10k_tlv_msg_parse() local 573 err = fm10k_tlv_attr_parse(msg, results, data->attr); in fm10k_tlv_msg_parse() 577 return data->func(hw, results, mbx); in fm10k_tlv_msg_parse() 591 u32 __always_unused **results, in fm10k_tlv_msg_error() argument 707 s32 fm10k_tlv_msg_test(struct fm10k_hw *hw, u32 **results, in fm10k_tlv_msg_test() argument [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/ |
H A D | typeaheads.py | 38 results = [] 57 results.append(needed_fields) 59 return results 77 results = [] 89 results.append(needed_fields) 90 return results 107 results = [] 118 results.append(needed_fields) 120 return results 137 results = [] [all …]
|
/openbmc/linux/drivers/gpu/drm/ci/ |
H A D | lava-submit.sh | 15 rm -rf results 16 mkdir -p results/job-rootfs-overlay/ 18 cp artifacts/ci-common/capture-devcoredump.sh results/job-rootfs-overlay/ 19 cp artifacts/ci-common/init-*.sh results/job-rootfs-overlay/ 20 cp artifacts/ci-common/intel-gpu-freq.sh results/job-rootfs-overlay/ 21 cp "$SCRIPTS_DIR"/setup-test-env.sh results/job-rootfs-overlay/ 26 artifacts/ci-common/generate-env.sh | tee results/job-rootfs-overlay/set-job-env-vars.sh 29 tar zcf job-rootfs-overlay.tar.gz -C results/job-rootfs-overlay/ . 32 touch results/lava.log 33 tail -f results/lava.log & [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | resulttooltests.py | 68 results = {} 69 resultutils.append_resultsdata(results, ResultToolTests.base_results_data) 70 resultutils.append_resultsdata(results, ResultToolTests.target_results_data) 71 …self.assertTrue('target_result1' in results['runtime/mydistro/qemux86/image'], msg="Pair not corre… 72 …self.assertTrue('target_result3' in results['runtime/mydistro/qemux86-64/image'], msg="Pair not co… 96 results = {} 97 …resultutils.append_resultsdata(results, ResultToolTests.base_results_data, configmap=resultutils.f… 98 …resultutils.append_resultsdata(results, ResultToolTests.target_results_data, configmap=resultutils… 99 …self.assertEqual(len(results[''].keys()), 5, msg="Flattened results not correct %s" % str(results))
|
H A D | oescripts.py | 140 def check_endlines(self, results, expected_endlines): argument 141 for line in results.output.splitlines(): 157 results = runCmd('%s/contrib/list-packageconfig-flags.py' % self.scripts_dir) 163 self.check_endlines(results, expected_endlines) 167 results = runCmd('%s/contrib/list-packageconfig-flags.py -f' % self.scripts_dir) 173 self.check_endlines(results, expected_endlines) 176 results = runCmd('%s/contrib/list-packageconfig-flags.py -a' % self.scripts_dir) 185 self.check_endlines(results, expected_endlines) 188 results = runCmd('%s/contrib/list-packageconfig-flags.py -p' % self.scripts_dir) 193 self.check_endlines(results, expected_endlines)
|
/openbmc/openbmc/meta-arm/ci/ |
H A D | patchreview | 75 results = {} 80 results[patch] = result 115 return results 118 def analyse(results, want_blame=False, verbose=True): argument 130 for patch in sorted(results): 131 r = results[patch] 230 def histogram(results): argument 234 counts = recipes.countby(lambda r: r.upstream_status, results.values()) 235 bars = dicttoolz.valmap(lambda v: "#" * int(math.ceil(float(v) / len(results) * 100)), counts) 257 results = patchreview(patches) variable [all …]
|
/openbmc/linux/lib/ |
H A D | interval_tree_test.c | 33 unsigned long results = 0; in search() local 37 results++; in search() 38 return results; in search() 65 unsigned long results; in interval_tree_test_init() local 106 results = 0; in interval_tree_test_init() 112 results += search(&root, start, last); in interval_tree_test_init() 119 results = div_u64(results, search_loops); in interval_tree_test_init() 121 (unsigned long long)time, results); in interval_tree_test_init()
|
/openbmc/openbmc/poky/scripts/contrib/ |
H A D | patchreview.py | 66 results = {} 71 results[patch] = result 106 return results 109 def analyse(results, want_blame=False, verbose=True): argument 127 for patch in sorted(results): 128 r = results[patch] 202 def histogram(results): argument 206 counts = recipes.countby(lambda r: r.upstream_status, results.values()) 207 bars = dicttoolz.valmap(lambda v: "#" * int(math.ceil(float(v) / len(results) * 100)), counts) 251 results = patchreview(patches) variable [all …]
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | dscontrol.c | 272 (walk_state->results->results.obj_desc[0]) == in acpi_ds_exec_end_control_op() 274 && ((walk_state->results->results.obj_desc[0])-> in acpi_ds_exec_end_control_op() 276 && ((walk_state->results->results.obj_desc[0])-> in acpi_ds_exec_end_control_op() 280 results->results. in acpi_ds_exec_end_control_op() 289 walk_state->results->results.obj_desc[0]; in acpi_ds_exec_end_control_op()
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/ippool/ippool/ |
H A D | runtest.sh | 6 if [ -d ./results ]; then rm -fr ./results; fi 7 mkdir ./results 16 (failed=`grep FAILED results/*.result | wc -l`; \ 18 passed=`grep PASSED results/*.result | wc -l`; \
|
/openbmc/phosphor-pid-control/ |
H A D | util.cpp | 109 std::vector<conf::SensorInput> results; in spliceInputs() local 117 results.emplace_back(newInput); in spliceInputs() 120 size_t resultSize = results.size(); in spliceInputs() 132 results[index].convertMarginZero = inputTempToMargin[index]; in spliceInputs() 133 results[index].convertTempToMargin = true; in spliceInputs() 145 for (auto& result : results) in spliceInputs() 153 return results; in spliceInputs() 159 std::vector<std::string> results; in splitNames() local 163 results.emplace_back(sensorInput.name); in splitNames() 166 return results; in splitNames()
|
/openbmc/openbmc/poky/meta/lib/oeqa/core/tests/ |
H A D | test_data.py | 25 results = tc.runTests() 26 self.assertFalse(results.wasSuccessful()) 27 for test, data in results.errors: 39 results = tc.runTests() 40 self.assertFalse(results.wasSuccessful()) 41 for test, data in results.failures:
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/dynamic-layers/meta-arm-systemready/recipes-test/arm-systemready-acs/files/fvp-base/ |
H A D | 0001-check-sr-results-Change-the-expected-SR-result-confi.patch | 4 Subject: [PATCH] [PATCH] check-sr-results: Change the expected SR result 7 Update the check-sr-results.yaml and format-sr-results.yaml files for the 12 Changes to check-sr-results.yaml: 56 Changes to format-sr-results.yaml: 58 format-sr-results.py to error). 63 check-sr-results.yaml | 34 ++++++++++++++-------------------- 64 format-sr-results.yaml | 15 --------------- 67 diff --git a/check-sr-results.yaml b/check-sr-results.yaml 69 --- a/check-sr-results.yaml 70 +++ b/check-sr-results.yaml [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/lmbench/lmbench/ |
H A D | lmbench_result_html_report.patch | 21 results/Makefile | 1 + 25 diff --git a/results/Makefile b/results/Makefile 27 --- a/results/Makefile 28 +++ b/results/Makefile 45 -<h2><a href=summary>Summary of results</a></h2> 46 +<h2><a href=summary.out>Summary of results</a></h2> 58 #s/.lmbench1.? results for //; 68 <img align=middle src=\"../gifs/graph.gif\">System results table of contents</a>
|
/openbmc/phosphor-ipmi-blobs/test/ |
H A D | manager_unittest.cpp | 136 std::vector<std::string> results; in TEST() local 137 results.push_back(mgr.getBlobId(0)); in TEST() 138 results.push_back(mgr.getBlobId(1)); in TEST() 139 EXPECT_EQ(2, results.size()); in TEST() 140 EXPECT_TRUE(std::find(results.begin(), results.end(), "asdf") != in TEST() 141 results.end()); in TEST() 142 EXPECT_TRUE(std::find(results.begin(), results.end(), "ghjk") != in TEST() 143 results.end()); in TEST()
|
/openbmc/linux/tools/perf/bench/ |
H A D | pmu-scan.c | 40 static struct pmu_scan_result *results; variable 49 r = realloc(results, (nr_pmus + 1) * sizeof(*r)); in save_result() 53 results = r; in save_result() 54 r = results + nr_pmus; in save_result() 83 r = &results[i]; in check_result() 121 free(results[i].name); in delete_result() 122 free(results); in delete_result() 124 results = NULL; in delete_result()
|
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/ |
H A D | ptest.py | 77 results, sections = parser.parse(ptest_runner_log) 88 for section in results: 89 for test in results[section]: 90 result = results[section][test] 93 if not results[section]: 102 for section in results: 103 …tcases = [ "_".join(test.translate(trans).split()) for test in results[section] if results[section…
|
/openbmc/openbmc/meta-arm/meta-arm-systemready/recipes-test/arm-systemready-acs/arm-systemready-scripts/ |
H A D | 0001-check-sr-results-Return-non-zero-exit-code-on-failur.patch | 4 Subject: [PATCH] check-sr-results: Return non-zero exit code on failure 11 check-sr-results.py | 6 ++++++ 14 diff --git a/check-sr-results.py b/check-sr-results.py 16 --- a/check-sr-results.py 17 +++ b/check-sr-results.py
|
/openbmc/openbmc/poky/meta/recipes-support/libpcre/libpcre/ |
H A D | Makefile | 89 results=`for b in $$bases; do echo $$b.trs; done`; \ 90 test -n "$$results" || results=/dev/null; \ 91 all=` grep "^$$ws*:test-result:" $$results | wc -l`; \ 92 pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \ 93 fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \ 94 skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \ 95 xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \ 96 xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \ 97 error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
|