diff options
-rw-r--r-- | pyserial/test/run_all_tests.py | 5 |
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() |