On Tue, Jul 31, 2012 at 5:55 AM, Mike <[email protected]> wrote: > Hi Lucas > As your patch: > [PATCH 3/3] client.tests: Make test src dir configurable > all self.srcdir has changed into tmpdir if not set,That cause some > problems. > Many tests has source code ,some maybe compressed file with .tar.bz2, > while others just in the src folder under bindir.
Ouch, true... my mistake... again. > For the compressed file,many of them seems work,because it can be > extracted to self.srcdir which points to tmpdir, but for src folder,it > always don't work, with the error :No such file or dir,because the > self.srcdir doesn't point to the src folder. > Need to copy to tmpdir in every test which has src folder? > I think it isn't the best. It's the only acceptable solution, since the test modules have to be read only (nothing might write to the test module dir). So copying the source code to the tmpdir is the best option. > How do we need to solve the problem for the best way? I'll come up with a patch later, working on it right now. > Thanks > Mike Thanks for reporting the problem! Lucas _______________________________________________ Autotest-kernel mailing list [email protected] https://www.redhat.com/mailman/listinfo/autotest-kernel
