X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Fsanity_run_vpp.py;h=47431021db58d88d94608c322fdf979edf48f469;hb=853cc9f2ad3ee52cbdd891fb09d51c25678baed0;hp=b923c791b612fd94472061d0637b2f9adeebb744;hpb=b23ffd7ef216463c35b75c831e6a27e58971f4ec;p=vpp.git diff --git a/test/sanity_run_vpp.py b/test/sanity_run_vpp.py index b923c791b61..47431021db5 100644 --- a/test/sanity_run_vpp.py +++ b/test/sanity_run_vpp.py @@ -3,12 +3,12 @@ from __future__ import print_function from multiprocessing import Pipe import sys -import os -from framework import VppDiedError, VppTestCase, KeepAliveReporter +from asfframework import VppDiedError, VppAsfTestCase, KeepAliveReporter -class SanityTestCase(VppTestCase): - """ Sanity test case - verify whether VPP is able to start """ +class SanityTestCase(VppAsfTestCase): + """Sanity test case - verify whether VPP is able to start""" + cpus = [0] # don't ask to debug SanityTestCase @@ -43,11 +43,11 @@ def main(): y.close() if rc == 0: - print('Sanity test case passed.') + print("Sanity test case passed.") else: - print('Sanity test case failed.') + print("Sanity test case failed.") return rc -if __name__ == '__main__': +if __name__ == "__main__": sys.exit(main())