Skip to content

Commit fe674b4

Browse files
LukaszMrugalanashif
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 <[email protected]>
1 parent a2c712a commit fe674b4

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
@@ -74,7 +74,7 @@ def test_detailed_test_id(self, out_path, flag, expect_paths):
7474
assert all([testsuite.startswith(expected_start)for _, testsuite, _ in filtered_j])
7575

7676
def test_inline_logs(self, out_path):
77-
test_platforms = ['qemu_x86', 'frdm_k64f']
77+
test_platforms = ['qemu_x86', 'intel_adl_crb']
7878
path = os.path.join(TEST_DATA, 'tests', 'always_build_error', 'dummy')
7979
args = ['--outdir', out_path, '-T', path] + \
8080
[val for pair in zip(
@@ -123,7 +123,11 @@ def test_inline_logs(self, out_path):
123123
r'-- Configuring done \([0-9.]+s\)',
124124
r'-- Generating done \([0-9.]+s\)',
125125
# Cache location may vary between CI runs
126-
r'^.*-- Cache files will be written to:.*$'
126+
r'^.*-- Cache files will be written to:.*$',
127+
# List of built C object may differ between runs.
128+
# See: Issue #87769.
129+
# Probable culprits: the cache mechanism, build error
130+
r'^Building C object .*$'
127131
]
128132
for pattern in removal_patterns:
129133
c_pattern = re.compile(pattern, flags=re.MULTILINE)

0 commit comments

Comments
 (0)