projects
/
tools
/
testlab
/
major.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6c1165
)
Fix regex to match whole crashed program name
30/121930/1
author
Aleksander Mistewicz
<a.mistewicz@samsung.com>
Wed, 1 Feb 2017 14:52:47 +0000
(15:52 +0100)
committer
Aleksander Mistewicz
<a.mistewicz@samsung.com>
Wed, 29 Mar 2017 10:48:09 +0000
(12:48 +0200)
Change-Id: I6759240e23e2c03c7916ebe1d617d9bf7bb9fd17
tct/run/common_test.py
patch
|
blob
|
history
diff --git
a/tct/run/common_test.py
b/tct/run/common_test.py
index
0bc962b
..
2b89c16
100755
(executable)
--- a/
tct/run/common_test.py
+++ b/
tct/run/common_test.py
@@
-198,7
+198,7
@@
class CommonTest(Test):
apps = self.params.get('ignored_apps', "/*/common/*", default=[])
# Get reference number of generated files
ref_cnt = self.params.get('ref_cnt', "/*/common/*", default=0)
- crashed = re.findall(r'\
w
+_\d+_\d+', out)
+ crashed = re.findall(r'\
S
+_\d+_\d+', out)
cnt = len(crashed)
self.assertTrue(cnt <= ref_cnt, "More crashfiles were generated (%d)" % cnt)
for match in crashed: