All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cve-check: print warning if file is missing
@ 2020-07-27  2:50 akuster
  2020-07-27  3:02 ` ✗ patchtest: failure for " Patchwork
  0 siblings, 1 reply; 2+ messages in thread
From: akuster @ 2020-07-27  2:50 UTC (permalink / raw)
  To: openembedded-core

If the "tmp/cve_check" file was not create as in the case for -c populate_sdk, just print a
warning instead of dumping a trace back

Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 meta/classes/cve-check.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass
index e61c90e5600..b16da9890af 100644
--- a/meta/classes/cve-check.bbclass
+++ b/meta/classes/cve-check.bbclass
@@ -56,7 +56,7 @@ python cve_save_summary_handler () {
     cve_tmp_file = d.getVar("CVE_CHECK_TMP_FILE")
 
     if not os.path.isfile(cve_tmp_file):
-        bb.warn("File Not found, check has no affect: %s" % cve_tmp_file)
+        bb.warn("File Not found: %s" % cve_tmp_file)
         return
 
     cve_summary_name = d.getVar("CVE_CHECK_SUMMARY_FILE_NAME")
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* ✗ patchtest: failure for cve-check: print warning if file is missing
  2020-07-27  2:50 [PATCH] cve-check: print warning if file is missing akuster
@ 2020-07-27  3:02 ` Patchwork
  0 siblings, 0 replies; 2+ messages in thread
From: Patchwork @ 2020-07-27  3:02 UTC (permalink / raw)
  To: Armin Kuster; +Cc: openembedded-core

== Series Details ==

Series: cve-check: print warning if file is missing
Revision: 1
URL   : https://patchwork.openembedded.org/series/25340/
State : failure

== Summary ==


Thank you for submitting this patch series to OpenEmbedded Core. This is
an automated response. Several tests have been executed on the proposed
series by patchtest resulting in the following failures:



* Issue             Series does not apply on top of target branch [test_series_merge_on_head] 
  Suggested fix    Rebase your series on top of targeted branch
  Targeted branch  master (currently at ffa4fa35e1)



If you believe any of these test results are incorrect, please reply to the
mailing list (openembedded-core@lists.openembedded.org) raising your concerns.
Otherwise we would appreciate you correcting the issues and submitting a new
version of the patchset if applicable. Please ensure you add/increment the
version number when sending the new version (i.e. [PATCH] -> [PATCH v2] ->
[PATCH v3] -> ...).

---
Guidelines:     https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-27  3:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-27  2:50 [PATCH] cve-check: print warning if file is missing akuster
2020-07-27  3:02 ` ✗ patchtest: failure for " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.