summaryrefslogtreecommitdiffstats
path: root/test/run_tests.py
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2016-10-03 19:44:57 +0200
committerDave Barach <openvpp@barachs.net>2016-10-03 19:58:19 +0000
commitf56b77a0764222cc45a9df572df901067a273356 (patch)
tree7f11bcde6219608ad2a433655ea58cd11747025a /test/run_tests.py
parent6c3ebcc2bfd36a5835a99225ad667e4403293ffb (diff)
test: new test infrastructure
Change-Id: I73ca19c431743f6b39669c583d9222a6559346ef Signed-off-by: Jan Gelety <jgelety@cisco.com> Signed-off-by: Juraj Sloboda <jsloboda@cisco.com> Signed-off-by: Stefan Kobza <skobza@cisco.com> Signed-off-by: Matej Klotton <mklotton@cisco.com> Signed-off-by: Maciek Konstantynowicz <mkonstan@cisco.com> Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'test/run_tests.py')
-rw-r--r--test/run_tests.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/run_tests.py b/test/run_tests.py
new file mode 100644
index 00000000000..8f2174b1463
--- /dev/null
+++ b/test/run_tests.py
@@ -0,0 +1,12 @@
+#!/usr/bin/env python
+
+import os
+import unittest
+from framework import VppTestRunner
+
+if __name__ == '__main__':
+ try:
+ verbose = int(os.getenv("V", 0))
+ except:
+ verbose = 0
+ unittest.main(testRunner=VppTestRunner, module=None, verbosity=verbose)