Bug 47599

Summary: "expected to fail" tests fail on unsupported architecture
Product: Sisyphus Reporter: Ivan A. Melnikov <iv>
Component: ltpAssignee: Vitaly Chikunov <vt>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: vt
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Ivan A. Melnikov 2023-09-15 09:38:03 MSK
Конструкция

! vm-run runltp -q -f failpass


не работает на архитектурах, на которых vm-run не поддерживается и всегда возвращает код выхода 0.

Пример с riscv64:

+ echo expected_to_fail false
+ vm-run runltp -q -f failpass
*****************************************************
Warning: vm-run is not supported on your architecture
This command will be skipped: runltp -q -f failpass
Assuming it would finish with exit 0
*****************************************************
error: %prein(ltp-testsuite-checkinstall-20220930-alt3.noarch) scriptlet failed, exit status 1
Comment 1 Vitaly Chikunov 2023-09-15 10:53:22 MSK
Спасибо. Планирую сделать такое изменение https://git.altlinux.org/tasks/329625/
Comment 2 Repository Robot 2023-09-21 04:46:51 MSK
rpm-build-vm-1.56-alt1 -> sisyphus:

 Fri Sep 15 2023 Vitaly Chikunov <vt@altlinux> 1.56-alt1
 - Add --stub-exit= option for vm-run stub (ALT#47599).