summaryrefslogtreecommitdiff
path: root/scripts/oe-selftest
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/oe-selftest')
-rwxr-xr-xscripts/oe-selftest6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/oe-selftest b/scripts/oe-selftest
index 29fe0100de..8c4ea92610 100755
--- a/scripts/oe-selftest
+++ b/scripts/oe-selftest
@@ -144,8 +144,10 @@ def main():
add_include()
result = runner.run(suite)
log.info("Finished")
-
- return 0
+ if result.wasSuccessful():
+ return 0
+ else:
+ return 1
if __name__ == "__main__":
try: