Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
misc: address sanitizer: do not instrument dlmalloc internals
[vpp.git]
/
test
/
sanity_run_vpp.py
diff --git
a/test/sanity_run_vpp.py
b/test/sanity_run_vpp.py
index
933e3a7
..
535d054
100644
(file)
--- a/
test/sanity_run_vpp.py
+++ b/
test/sanity_run_vpp.py
@@
-1,17
+1,19
@@
-#!/usr/bin/env python
+#!/usr/bin/env python
3
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
+import os
+from framework import Vpp
DiedError, Vpp
TestCase, KeepAliveReporter
class SanityTestCase(VppTestCase):
class SanityTestCase(VppTestCase):
- """ Sanity test case - verify
t
hether VPP is able to start """
+ """ Sanity test case - verify
w
hether VPP is able to start """
pass
pass
+
if __name__ == '__main__':
if __name__ == '__main__':
+ os.environ["RND_SEED"] = "1"
rc = 0
tc = SanityTestCase
x, y = Pipe()
rc = 0
tc = SanityTestCase
x, y = Pipe()