diff options
-rwxr-xr-x | scripts/oe-selftest | 6 |
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(): | |||
144 | add_include() | 144 | add_include() |
145 | result = runner.run(suite) | 145 | result = runner.run(suite) |
146 | log.info("Finished") | 146 | log.info("Finished") |
147 | 147 | if result.wasSuccessful(): | |
148 | return 0 | 148 | return 0 |
149 | else: | ||
150 | return 1 | ||
149 | 151 | ||
150 | if __name__ == "__main__": | 152 | if __name__ == "__main__": |
151 | try: | 153 | try: |