test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [patch] physmem_dump : remove match "\n" send_expect will remove the end "\r\n", so it match failed if only one string
@ 2015-11-04  4:26 Lijuan Tu
  2015-11-04  4:49 ` Liu, Yong
  0 siblings, 1 reply; 2+ messages in thread
From: Lijuan Tu @ 2015-11-04  4:26 UTC (permalink / raw)
  To: dts

Signed-off-by: Lijuan Tu <lijuanx.a.tu@intel.com>
---
 tests/TestSuite_unit_tests_dump.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/TestSuite_unit_tests_dump.py b/tests/TestSuite_unit_tests_dump.py
index 2052cb4..8b094b5 100644
--- a/tests/TestSuite_unit_tests_dump.py
+++ b/tests/TestSuite_unit_tests_dump.py
@@ -129,7 +129,7 @@ class TestUnitTestsDump(TestCase):
         match_regex = "Segment (\d)+:"
         for element in elements[1:-1]:
             match_regex += " %s:(.*?)," % element
-        match_regex += " %s:(.*?)\n" % elements[-1]
+        match_regex += " %s:(.*?)" % elements[-1]
         m = re.compile(r"%s" % match_regex, re.DOTALL)
         results = m.findall(out)
         phy_info = []
-- 
1.7.3.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-04  4:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-04  4:26 [dts] [patch] physmem_dump : remove match "\n" send_expect will remove the end "\r\n", so it match failed if only one string Lijuan Tu
2015-11-04  4:49 ` Liu, Yong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).