[LTP] [PATCH] configure: Check for KVM linker script support

Martin Doucha mdoucha@suse.cz
Fri Jun 10 16:42:41 CEST 2022


On 10. 06. 22 15:33, Cyril Hrubis wrote:
> Skipping the whole directory will actually cause problems too, since the
> runltp files does include the kvm_pagefault01 now which will obvious
> fail because the binary would be missing.
> 
> I'm not sure what the best solution would be, maybe install dummy
> libraries that just print TCONF in a case that linker does now work?

KVM tests have their own runfile which can be simply skipped. These
tests should not be included in any other runfiles because they should
only be run on baremetal. That's the solution: Don't run the KVM runfile
if the KVM tests were not built.

Also, the KVM Makefile already builds nothing on non-x86 archs so the
problem was there from the beginning.

-- 
Martin Doucha   mdoucha@suse.cz
QA Engineer for Software Maintenance
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic


More information about the ltp mailing list