From patchwork Fri Apr 17 23:51:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 237946 List-Id: U-Boot discussion From: sjg at chromium.org (Simon Glass) Date: Fri, 17 Apr 2020 17:51:30 -0600 Subject: [PATCH 1/5] buildman: Fix test for new 9.2 kernel In-Reply-To: <20200417235134.226223-1-sjg@chromium.org> References: <20200417235134.226223-1-sjg@chromium.org> Message-ID: <20200417235134.226223-2-sjg@chromium.org> The naming is slightly different on kernel.org now. Update the regex so that the test still passes. Signed-off-by: Simon Glass Signed-off-by: Simon Glass --- tools/buildman/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/buildman/test.py b/tools/buildman/test.py index d32b22653f..8b6d138f70 100644 --- a/tools/buildman/test.py +++ b/tools/buildman/test.py @@ -583,7 +583,7 @@ class TestBuild(unittest.TestCase): url = self.toolchains.LocateArchUrl('arm') self.assertRegexpMatches(url, 'https://www.kernel.org/pub/tools/' 'crosstool/files/bin/x86_64/.*/' - 'x86_64-gcc-.*-nolibc_arm-.*linux-gnueabi.tar.xz') + 'x86_64-gcc-.*-nolibc[-_]arm-.*linux-gnueabi.tar.xz') def testGetEnvArgs(self): """Test the GetEnvArgs() function"""