Skip to content

Commit d698209

Browse files
LukaszMrugalakartben
authored andcommitted
twister: Remove C object buildlist from -i test
The disparity in C objects built causes the test to fail. This removes those lines from the log to inline log comparison. Let's disable it in the relevant test. Signed-off-by: Lukasz Mrugala <lukaszx.mrugala@intel.com>
1 parent 429e3a9 commit d698209

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

scripts/tests/twister_blackbox/test_output.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def test_detailed_test_id(self, out_path, flag, expect_paths):
8282
assert all([(tc_name.count('.') == 1) for _, _, tc_name in filtered_j])
8383

8484

85-
def xtest_inline_logs(self, out_path):
85+
def test_inline_logs(self, out_path):
8686
test_platforms = ['qemu_x86', 'intel_adl_crb']
8787
path = os.path.join(TEST_DATA, 'tests', 'always_build_error', 'dummy')
8888
args = ['--outdir', out_path, '-T', path] + \
@@ -132,7 +132,11 @@ def xtest_inline_logs(self, out_path):
132132
r'-- Configuring done \([0-9.]+s\)',
133133
r'-- Generating done \([0-9.]+s\)',
134134
# Cache location may vary between CI runs
135-
r'^.*-- Cache files will be written to:.*$'
135+
r'^.*-- Cache files will be written to:.*$',
136+
# List of built C object may differ between runs.
137+
# See: Issue #87769.
138+
# Probable culprits: the cache mechanism, build error
139+
r'^Building C object .*$'
136140
]
137141
for pattern in removal_patterns:
138142
c_pattern = re.compile(pattern, flags=re.MULTILINE)

0 commit comments

Comments
 (0)