Skip to content
Commit 1e471eb2 authored by Jeremy Bettis's avatar Jeremy Bettis Committed by Carles Cufí
Browse files

twister: Switch to a non-greedy regex



When parsing test names from symbol names, use a non-greedy match to
avoid parsing test names with __ in them.

The symbol looks like z_ztest_unit_test__SUITE__TEST. It is more likely
that a test name will contain __ than a suite name, so now something
z_ztest_unit_test__a_b__c_d__e_f will be parsed as suite:a_b
test:c_d__e_f, whereas it used to be parsed as suite:a_b__c_d test:e_f

Signed-off-by: default avatarJeremy Bettis <jbettis@google.com>
parent 1d9ce862
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment