commit | 8f5ff15f131798a55cf4f00b998fd4210d3e878b | [log] [tgz] |
---|---|---|
author | You Wang <you@opennetworking.org> | Thu Feb 28 11:35:25 2019 -0800 |
committer | You Wang <you@opennetworking.org> | Thu Feb 28 11:35:25 2019 -0800 |
tree | 6d84d109e0bb18b7da13d3eeec427719a46ca810 | |
parent | 7880b371b7ada1dfc1ef5ae2beee1e2b57070895 [diff] |
Exit the test when onos build fails Change-Id: I6dfffc2ee48199dcea0ab3ce61a508a4bc2bcf79
diff --git a/TestON/tests/dependencies/ONOSSetup.py b/TestON/tests/dependencies/ONOSSetup.py index d7ea792..6368e7c 100644 --- a/TestON/tests/dependencies/ONOSSetup.py +++ b/TestON/tests/dependencies/ONOSSetup.py
@@ -310,6 +310,8 @@ actual=packageResult, onpass="Successfully created ONOS package", onfail="Failed to create ONOS package" ) + if not packageResult: + main.cleanAndExit() return packageResult def installAtomix( self, cluster, parallel=True ):