Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vcl: fix ldp_set_app_name overflow
[vpp.git]
/
test
/
sanity_run_vpp.py
diff --git
a/test/sanity_run_vpp.py
b/test/sanity_run_vpp.py
index
156608c
..
92f250b
100644
(file)
--- 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 __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):
class SanityTestCase(VppTestCase):
- """
Dummy test case used to check if
VPP is able to start """
+ """
Sanity test case - verify whether
VPP is able to start """
pass
if __name__ == '__main__':
pass
if __name__ == '__main__':
@@
-29,4
+28,9
@@
if __name__ == '__main__':
x.close()
y.close()
x.close()
y.close()
+ if rc == 0:
+ print('Sanity test case passed\n')
+ else:
+ print('Sanity test case failed\n')
+
exit(rc)
exit(rc)