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>
This commit is contained in:
Ross Burton
2019-12-04 21:58:56 +00:00
committed by Richard Purdie
parent 6cda83fc0b
commit 42fe4c9068

View File

@@ -135,7 +135,7 @@ class PackageTests(OESelftestTestCase):
return False
# Check debugging symbols works correctly
elif re.match("Breakpoint 1.*hello\.c.*4", l):
elif re.match(r"Breakpoint 1.*hello\.c.*4", l):
return True
self.logger.error("GDB result:\n%d: %s", status, output)