]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
buildman: Fix test for new 9.2 kernel
authorSimon Glass <sjg@chromium.org>
Fri, 17 Apr 2020 23:51:30 +0000 (17:51 -0600)
committerSimon Glass <sjg@chromium.org>
Sun, 26 Apr 2020 20:24:08 +0000 (14:24 -0600)
The naming is slightly different on kernel.org now. Update the regex so
that the test still passes.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/test.py

index d32b22653fba088c24cfd9fd7c3ba00efab59ff8..8b6d138f705ae7e6ce71d5eb5603098e0775a059 100644 (file)
@@ -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"""