summaryrefslogtreecommitdiff
path: root/pyserial/test/run_all_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyserial/test/run_all_tests.py')
-rw-r--r--pyserial/test/run_all_tests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pyserial/test/run_all_tests.py b/pyserial/test/run_all_tests.py
index b4a954d..863057e 100644
--- a/pyserial/test/run_all_tests.py
+++ b/pyserial/test/run_all_tests.py
@@ -15,7 +15,12 @@ import time
# working copy
sys.path.insert(0, '..')
+import serial
+print "Patching sys.path to test local version. Testing Version: %s" % (serial.VERSION,)
+
PORT = 'loop://'
+if len(sys.argv) > 1:
+ PORT = sys.argv[1]
# find files and the tests in them
mainsuite = unittest.TestSuite()