diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-19 11:27:54 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-21 23:44:08 +0100 |
commit | 7e680b5e7823ac39d004c893aeaf8d439f9878cc (patch) | |
tree | ae1207424c3643c7f8fe4e3f04bfd6a0f203580c /bitbake | |
parent | 435bce9bf96dfa18e2c8167420aa4032a02afb66 (diff) | |
download | poky-7e680b5e7823ac39d004c893aeaf8d439f9878cc.tar.gz |
bitbake: tests/fetch2: Fix quoting warning
Fix:
lib/bb/tests/fetch.py:1288: DeprecationWarning: invalid escape sequence
for several lines of the fetch tests.
(Bitbake rev: 9d84fd557a3fcbae2cdd70b24e69325ad737a01e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/tests/fetch.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py index 242be36891..c637a29632 100644 --- a/bitbake/lib/bb/tests/fetch.py +++ b/bitbake/lib/bb/tests/fetch.py | |||
@@ -1265,13 +1265,13 @@ class FetchLatestVersionTest(FetcherTest): | |||
1265 | : "20120614", | 1265 | : "20120614", |
1266 | # packages with a valid UPSTREAM_CHECK_GITTAGREGEX | 1266 | # packages with a valid UPSTREAM_CHECK_GITTAGREGEX |
1267 | # mirror of git://anongit.freedesktop.org/xorg/driver/xf86-video-omap since network issues interfered with testing | 1267 | # mirror of git://anongit.freedesktop.org/xorg/driver/xf86-video-omap since network issues interfered with testing |
1268 | ("xf86-video-omap", "git://git.yoctoproject.org/bbfetchtests-xf86-video-omap", "ae0394e687f1a77e966cf72f895da91840dffb8f", "(?P<pver>(\d+\.(\d\.?)*))") | 1268 | ("xf86-video-omap", "git://git.yoctoproject.org/bbfetchtests-xf86-video-omap", "ae0394e687f1a77e966cf72f895da91840dffb8f", r"(?P<pver>(\d+\.(\d\.?)*))") |
1269 | : "0.4.3", | 1269 | : "0.4.3", |
1270 | ("build-appliance-image", "git://git.yoctoproject.org/poky", "b37dd451a52622d5b570183a81583cc34c2ff555", "(?P<pver>(([0-9][\.|_]?)+[0-9]))") | 1270 | ("build-appliance-image", "git://git.yoctoproject.org/poky", "b37dd451a52622d5b570183a81583cc34c2ff555", r"(?P<pver>(([0-9][\.|_]?)+[0-9]))") |
1271 | : "11.0.0", | 1271 | : "11.0.0", |
1272 | ("chkconfig-alternatives-native", "git://github.com/kergoth/chkconfig;branch=sysroot", "cd437ecbd8986c894442f8fce1e0061e20f04dee", "chkconfig\-(?P<pver>((\d+[\.\-_]*)+))") | 1272 | ("chkconfig-alternatives-native", "git://github.com/kergoth/chkconfig;branch=sysroot", "cd437ecbd8986c894442f8fce1e0061e20f04dee", r"chkconfig\-(?P<pver>((\d+[\.\-_]*)+))") |
1273 | : "1.3.59", | 1273 | : "1.3.59", |
1274 | ("remake", "git://github.com/rocky/remake.git", "f05508e521987c8494c92d9c2871aec46307d51d", "(?P<pver>(\d+\.(\d+\.)*\d*(\+dbg\d+(\.\d+)*)*))") | 1274 | ("remake", "git://github.com/rocky/remake.git", "f05508e521987c8494c92d9c2871aec46307d51d", r"(?P<pver>(\d+\.(\d+\.)*\d*(\+dbg\d+(\.\d+)*)*))") |
1275 | : "3.82+dbg0.9", | 1275 | : "3.82+dbg0.9", |
1276 | } | 1276 | } |
1277 | 1277 | ||
@@ -1311,11 +1311,11 @@ class FetchLatestVersionTest(FetcherTest): | |||
1311 | # | 1311 | # |
1312 | # http://www.cups.org/software/1.7.2/cups-1.7.2-source.tar.bz2 | 1312 | # http://www.cups.org/software/1.7.2/cups-1.7.2-source.tar.bz2 |
1313 | # https://github.com/apple/cups/releases | 1313 | # https://github.com/apple/cups/releases |
1314 | ("cups", "/software/1.7.2/cups-1.7.2-source.tar.bz2", "/apple/cups/releases", "(?P<name>cups\-)(?P<pver>((\d+[\.\-_]*)+))\-source\.tar\.gz") | 1314 | ("cups", "/software/1.7.2/cups-1.7.2-source.tar.bz2", "/apple/cups/releases", r"(?P<name>cups\-)(?P<pver>((\d+[\.\-_]*)+))\-source\.tar\.gz") |
1315 | : "2.0.0", | 1315 | : "2.0.0", |
1316 | # http://download.oracle.com/berkeley-db/db-5.3.21.tar.gz | 1316 | # http://download.oracle.com/berkeley-db/db-5.3.21.tar.gz |
1317 | # http://ftp.debian.org/debian/pool/main/d/db5.3/ | 1317 | # http://ftp.debian.org/debian/pool/main/d/db5.3/ |
1318 | ("db", "/berkeley-db/db-5.3.21.tar.gz", "/debian/pool/main/d/db5.3/", "(?P<name>db5\.3_)(?P<pver>\d+(\.\d+)+).+\.orig\.tar\.xz") | 1318 | ("db", "/berkeley-db/db-5.3.21.tar.gz", "/debian/pool/main/d/db5.3/", r"(?P<name>db5\.3_)(?P<pver>\d+(\.\d+)+).+\.orig\.tar\.xz") |
1319 | : "5.3.10", | 1319 | : "5.3.10", |
1320 | } | 1320 | } |
1321 | 1321 | ||