[LTP] Test library API changes
Cyril Hrubis
chrubis@suse.cz
Thu Feb 18 12:53:53 CET 2016
Hi!
> > I think that disabling the possibility just to make writing the test
> > library a bit easier is pretty bad idea. Most of the testcases we have
> > can run in parallel just fine. There are only a few that stress the
> > system to the limit or use global resources (devices, IPC, change system
> > time, ...) and if we anotate these tests we can easily speed up the test
> > run five times just by running most of the testcases in parallel.
>
> I wasn't suggesting we do that. I was thinking about making ipc filename
> more unique for each instance, in case we wouldn't have /proc and test
> cleanup doesn't run for whatever reason. That of course would make
> ipc file names less predictable.
If we decide to pass the filename around we can just add arbitrarily
large random string to the name. But the more I think about it the more
it looks like classical chicken egg problem. We cannot pass it without
IPC but we cannot do that easily before IPC is initialized and the
environment variable is probably the best bet.
--
Cyril Hrubis
chrubis@suse.cz
More information about the Ltp
mailing list