diff options
author | Ross Burton <ross.burton@intel.com> | 2019-12-04 21:58:56 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-28 23:25:41 +0000 |
commit | 42fe4c90683c778972981335864879fb3dcb2109 (patch) | |
tree | 84537bd92b37c115b97e309436eb9b2cb11e7bad /meta | |
parent | 6cda83fc0b81c9d0260a955c9c1afbcd309110b4 (diff) | |
download | poky-42fe4c90683c778972981335864879fb3dcb2109.tar.gz |
oeqa/selftest/package: mark string as raw
This regex uses \ so is actually parsed incorrectly, mark it up as a raw
string.
(From OE-Core rev: 120e687bad03ad2cf4df4092e8a3f35a569e09f4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/package.py b/meta/lib/oeqa/selftest/cases/package.py index 291627877e..b87f8dc3e2 100644 --- a/meta/lib/oeqa/selftest/cases/package.py +++ b/meta/lib/oeqa/selftest/cases/package.py | |||
@@ -135,7 +135,7 @@ class PackageTests(OESelftestTestCase): | |||
135 | return False | 135 | return False |
136 | 136 | ||
137 | # Check debugging symbols works correctly | 137 | # Check debugging symbols works correctly |
138 | elif re.match("Breakpoint 1.*hello\.c.*4", l): | 138 | elif re.match(r"Breakpoint 1.*hello\.c.*4", l): |
139 | return True | 139 | return True |
140 | 140 | ||
141 | self.logger.error("GDB result:\n%d: %s", status, output) | 141 | self.logger.error("GDB result:\n%d: %s", status, output) |