X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Fsanity_run_vpp.py;h=92f250b2a6bc688b92b48984585e25c5d35dfb29;hb=f73d4c2084c9cb6df4a1f8582acef523e4ba0cb2;hp=012b16db154ca46457a97c66a7794a13fe768e72;hpb=03a3e76ff8859cff7ce9f3ae2f3030a1f90aeeb6;p=vpp.git diff --git a/test/sanity_run_vpp.py b/test/sanity_run_vpp.py index 012b16db154..92f250b2a6b 100644 --- a/test/sanity_run_vpp.py +++ b/test/sanity_run_vpp.py @@ -3,12 +3,11 @@ from __future__ import print_function from multiprocessing import Pipe from sys import exit -from hook import VppDiedError -from framework import VppTestCase, KeepAliveReporter +from framework import VppDiedError, VppTestCase, KeepAliveReporter class SanityTestCase(VppTestCase): - """ Sanity test case - verify if VPP is able to start """ + """ Sanity test case - verify whether VPP is able to start """ pass if __name__ == '__main__': @@ -29,4 +28,9 @@ if __name__ == '__main__': x.close() y.close() + if rc == 0: + print('Sanity test case passed\n') + else: + print('Sanity test case failed\n') + exit(rc)