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>
This commit is contained in:
parent
429e3a96c2
commit
d698209647
1 changed files with 6 additions and 2 deletions
|
@ -82,7 +82,7 @@ class TestOutput:
|
|||
assert all([(tc_name.count('.') == 1) for _, _, tc_name in filtered_j])
|
||||
|
||||
|
||||
def xtest_inline_logs(self, out_path):
|
||||
def test_inline_logs(self, out_path):
|
||||
test_platforms = ['qemu_x86', 'intel_adl_crb']
|
||||
path = os.path.join(TEST_DATA, 'tests', 'always_build_error', 'dummy')
|
||||
args = ['--outdir', out_path, '-T', path] + \
|
||||
|
@ -132,7 +132,11 @@ class TestOutput:
|
|||
r'-- Configuring done \([0-9.]+s\)',
|
||||
r'-- Generating done \([0-9.]+s\)',
|
||||
# Cache location may vary between CI runs
|
||||
r'^.*-- Cache files will be written to:.*$'
|
||||
r'^.*-- Cache files will be written to:.*$',
|
||||
# List of built C object may differ between runs.
|
||||
# See: Issue #87769.
|
||||
# Probable culprits: the cache mechanism, build error
|
||||
r'^Building C object .*$'
|
||||
]
|
||||
for pattern in removal_patterns:
|
||||
c_pattern = re.compile(pattern, flags=re.MULTILINE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue