summaryrefslogtreecommitdiff
path: root/.pytool/Plugin/DependencyCheck
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2020-01-22 10:17:23 -0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-07 19:18:53 +0000
commit61364ab9277456bd9e57236a5286368394d6c024 (patch)
treee53811b571e70d9df325820e5cbc9456dbf905da /.pytool/Plugin/DependencyCheck
parentbd33a385eec746e33ff3e8a628193913d52861ef (diff)
downloadedk2-61364ab9277456bd9e57236a5286368394d6c024.zip
edk2-61364ab9277456bd9e57236a5286368394d6c024.tar.gz
edk2-61364ab9277456bd9e57236a5286368394d6c024.tar.bz2
.pytool: Add CI support for host based unit tests with results
https://bugzilla.tianocore.org/show_bug.cgi?id=2505 * Add plugin to build and run host based unit tests * Add plugin that performs a DSC complete check DSC files used to build host based tests * Update DscCompleteCheck plugin to ignore module INFs with a MODULE_TYPE of HOST_APPLICATION and library INFs that only support a module type of HOST_APPLICATION. * Fix issues in XML reports from checkers. Cc: Sean Brogan <sean.brogan@microsoft.com> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Bret Barkelew <Bret.Barkelew@microsoft.com>
Diffstat (limited to '.pytool/Plugin/DependencyCheck')
-rw-r--r--.pytool/Plugin/DependencyCheck/DependencyCheck.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/.pytool/Plugin/DependencyCheck/DependencyCheck.py b/.pytool/Plugin/DependencyCheck/DependencyCheck.py
index 2c3d8ba..db154d7 100644
--- a/.pytool/Plugin/DependencyCheck/DependencyCheck.py
+++ b/.pytool/Plugin/DependencyCheck/DependencyCheck.py
@@ -113,7 +113,7 @@ class DependencyCheck(ICiBuildPlugin):
overall_status += 1
# If XML object exists, add results
- if overall_status is not 0:
+ if overall_status != 0:
tc.SetFailed("Failed with {0} errors".format(overall_status), "DEPENDENCYCHECK_FAILED")
else:
tc.SetSuccess()