summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-04-17 17:51:30 -0600
committerSimon Glass <sjg@chromium.org>2020-04-26 14:24:08 -0600
commit55a98d96bd740ecff5d26a0253eed1d5341c614e (patch)
treecd3d033adf69d56bce957b5814ff12b98726f941 /tools
parent64045a6a173e6cf74a9c30bbe21a93d105be289e (diff)
buildman: Fix test for new 9.2 kernel
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>
Diffstat (limited to 'tools')
-rw-r--r--tools/buildman/test.py2
1 files changed, 1 insertions, 1 deletions
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"""