On 07/31/2013 09:34 PM, Amit Saha wrote:
However, with this approach I think the difficulty is to run tests for all archs (that we have in testdata)
on any arch. That is, I cannot run test the functionality of lshw with arm test data on a x86_64
system and vice-versa. The reason being, lshw uses compiler macros heavily during the compilation process
and hence the lshw executable has to be built on the arch on which it is to be tested. [1]
[1] http://sourceforge.net/p/predef/wiki/Architectures/
Thoughts and suggestions?
Given the arch specific binaries, wouldn't we have the same architecture
dependence problem with any other means of injecting test data for the
"wrong" platform?
This means I'm still inclined to run with the chroot based testing.
Local testing during development would cover x86_64, and then we can
spin up a job in beaker-devel to make sure it works across all supported
architectures.