]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa/runexported: Removed DEPLOY_DIR as mandatory.
authorLucian Musat <george.l.musat@intel.com>
Wed, 23 Sep 2015 15:40:26 +0000 (18:40 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Sep 2015 21:08:13 +0000 (22:08 +0100)
We don't need DEPLOY_DIR for every runtime test so there is no
need for it to be mandatory.

Signed-off-by: Lucian Musat <george.l.musat@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runexported.py

index 96442b1b273b4cd007d8fe57dd9f59908d116716..4213cab7bc0f2e77737e6581996fe9c5e4297ef0 100755 (executable)
@@ -112,7 +112,7 @@ def main():
         d["DEPLOY_DIR"] = options.deploy_dir
     else:
         if not os.path.isdir(d["DEPLOY_DIR"]):
-            raise Exception("The path to DEPLOY_DIR does not exists: %s" % d["DEPLOY_DIR"])
+            print("WARNING: The path to DEPLOY_DIR does not exist: %s" % d["DEPLOY_DIR"])
 
 
     target = FakeTarget(d)