summaryrefslogtreecommitdiffstats
path: root/tester/rt/test.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2024-04-19 11:13:04 +1000
committerChris Johns <chrisj@rtems.org>2024-04-22 16:42:08 +1000
commit3368e6b1aabcf90a0a75d6e5009bcb3199a93888 (patch)
tree674192410dba83a77f783311098c4186fe3006ec /tester/rt/test.py
parentrtemstoolkit: Fix decoding unicode strings in output (diff)
downloadrtems-tools-3368e6b1aabcf90a0a75d6e5009bcb3199a93888.tar.bz2
test, rtemstoolkit: Fix regx escape errors on python 3.12HEADmaster
Diffstat (limited to '')
-rw-r--r--tester/rt/test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tester/rt/test.py b/tester/rt/test.py
index db5939b..9108206 100644
--- a/tester/rt/test.py
+++ b/tester/rt/test.py
@@ -71,7 +71,7 @@ class log_capture(object):
def get(self):
s = []
status = []
- status_regx = re.compile('^\[\s*\d+/\s*\d+\] p:.+')
+ status_regx = re.compile(r'^\[\s*\d+/\s*\d+\] p:.+')
for l in self.log:
if status_regx.match(l):
status += [l]
@@ -175,7 +175,7 @@ def find_executables(paths, glob):
for f in files:
if fnmatch.fnmatch(f.lower(), glob):
executables += [path.join(root, f)]
- norun = re.compile('.*\.norun.*')
+ norun = re.compile(r'.*\.norun.*')
executables = [e for e in executables if not norun.match(e)]
return sorted(executables)