File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
scripts/pylib/twister/twisterlib Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1616import copy
1717import shutil
1818import random
19+
1920import snippets
2021from pathlib import Path
2122from argparse import Namespace
@@ -396,7 +397,6 @@ def info(what):
396397 sys .stdout .write (what + "\n " )
397398 sys .stdout .flush ()
398399
399-
400400 def add_configurations (self ):
401401 board_dirs = set ()
402402 # Create a list of board roots as defined by the build system in general
@@ -448,7 +448,7 @@ def add_configurations(self):
448448 # cmake/modules/extensions.cmake.
449449 revision_patterns = ["[A-Z]" ,
450450 "[0-9]+" ,
451- "(0|[1-9][0-9]*)(_[0-9]+)*(_[0-9]+)* " ]
451+ "(0|[1-9][0-9]*)(_[0-9]+){0,2} " ]
452452
453453 for pattern in revision_patterns :
454454 result = re .match (f"{ platform .name } _(?P<revision>{ pattern } )\\ .conf" , item )
You can’t perform that action at this time.
0 commit comments