colors/xfstests.py: Fix splitting kernel PREEMPT line
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:
parent
061d076ee9
commit
4025aaa0bd
|
@ -72,7 +72,7 @@ for line in sys.stdin:
|
||||||
if line == "\n":
|
if line == "\n":
|
||||||
print_config()
|
print_config()
|
||||||
elif re.match("^[A-Z_]+[ ]+-- .*?\n", line):
|
elif re.match("^[A-Z_]+[ ]+-- .*?\n", line):
|
||||||
if match := re.match("(^PLATFORM(.*?)PREEMPT)(.*?\n)", line):
|
if match := re.match("(^PLATFORM(.*?)PREEMPT.*?) (.*?\n)", line):
|
||||||
add_config(match.group(1))
|
add_config(match.group(1))
|
||||||
line = f"COMPILED -- {match.group(3)}"
|
line = f"COMPILED -- {match.group(3)}"
|
||||||
add_config(line)
|
add_config(line)
|
||||||
|
|
Loading…
Reference in New Issue