Bug 47599 - "expected to fail" tests fail on unsupported architecture
Summary: "expected to fail" tests fail on unsupported architecture
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: ltp (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Vitaly Chikunov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-15 09:38 MSK by Ivan A. Melnikov
Modified: 2023-09-21 04:46 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).