[gnome-continuous-yocto/gnomeostree-3.28-rocko: 2540/8267] oeqa/selftest/lic-checksum: don't report the expected failure to errors.yp



commit a767c78abeb19a9d730e3c9b1f64c13fbbcade17
Author: Ross Burton <ross burton intel com>
Date:   Tue Sep 20 09:13:51 2016 +0100

    oeqa/selftest/lic-checksum: don't report the expected failure to errors.yp
    
    This test has a bitbake invocation that is expected to fail, so inhibit
    report-error running.
    
    (From OE-Core rev: b2771e17a5f301423f65be9f93c9c1b1e7f8ab93)
    
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/lib/oeqa/selftest/lic-checksum.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/meta/lib/oeqa/selftest/lic-checksum.py b/meta/lib/oeqa/selftest/lic-checksum.py
index df44c97..2e81373 100644
--- a/meta/lib/oeqa/selftest/lic-checksum.py
+++ b/meta/lib/oeqa/selftest/lic-checksum.py
@@ -29,6 +29,7 @@ SRC_URI = "file://%s;md5=d41d8cd98f00b204e9800998ecf8427e"
         with open(lic_path, "w") as f:
             f.write("data")
 
+        self.write_config("INHERIT_remove = \"report-error\"")
         result = bitbake(bitbake_cmd, ignore_status=True)
         if error_msg not in result.output:
             raise AssertionError(result.output)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]