[chirp_devel] [PATCH] [run_tests] allow force to receive-only [#6615]
# HG changeset patch # User DanClemmensen DanClemmensen@gmail.com # Date 1553018073 25200 # Tue Mar 19 10:54:33 2019 -0700 # Node ID 7a03f1cb10bd11b4dbd37d23eb6a6ff1db785ed8 # Parent 7dd63bfc0b61b654f144bb59e84b3242ba99f46f [run_tests] allow force to receive-only [#6615] Fixes: #6615
diff -r 7dd63bfc0b61 -r 7a03f1cb10bd tests/run_tests.py --- a/tests/run_tests.py Fri Mar 15 16:53:32 2019 -0700 +++ b/tests/run_tests.py Tue Mar 19 10:54:33 2019 -0700 @@ -237,7 +237,8 @@ msg = "Field `%s' " % k + \ "is `%s', " % b.__dict__[k] + \ "expected `%s' " % v - + if k == "duplex" and b.__dict__[k] == "off": + continue details = msg details += os.linesep + "### Wanted:" + os.linesep details += os.linesep.join(["%s:%s" % (k, v) for k, v
participants (1)
-
DanClemmensen