aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/tst_blackboxbaremetal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/blackbox/tst_blackboxbaremetal.cpp')
-rw-r--r--tests/auto/blackbox/tst_blackboxbaremetal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/blackbox/tst_blackboxbaremetal.cpp b/tests/auto/blackbox/tst_blackboxbaremetal.cpp
index 969de6299..91f05ae22 100644
--- a/tests/auto/blackbox/tst_blackboxbaremetal.cpp
+++ b/tests/auto/blackbox/tst_blackboxbaremetal.cpp
@@ -37,7 +37,7 @@
static bool extractToolset(const QByteArray &output,
QByteArray &toolchain, QByteArray &architecture)
{
- const QRegularExpression re("%%(\\w+)%%, %%(\\w+)%%");
+ const QRegularExpression re("%%([\\w\\-]+)%%, %%(\\w+)%%");
QRegularExpressionMatchIterator it = re.globalMatch(output);
if (!it.hasNext())
return false;