autotest/autotest — Issue #149: Make test source directories configurable to be outside /usr/lib/python
Author: lmr
Created: 2012-01-20 19:38:33+00:00
State: open

Autotest tests frequently might need to download and build stuff, and that was usually handled in the test directory itself (say, client/tests/kvm). The test directory is referenced by the base client test class as self.bindir. So we have

self.bindir -> client/tests/kvm
self.srcdir -> client/tests/kvm/src

Those directories also might carry tarballs of test suites. Now, on an FHS compliant install, I believe we'll have to make those locations configurable. That's my first idea:

self.bindir -> /var/lib/autotest/tests/kvm
self.srcdir -> /var/lib/autotest/tests/kvm/src

What do you guys think, @mkrizek, @dzickus, @clebergnu ?