* [LTP] [RFC] mce-test
@ 2017-12-27 15:01 Petr Vorel
2018-01-03 12:54 ` Cyril Hrubis
0 siblings, 1 reply; 3+ messages in thread
From: Petr Vorel @ 2017-12-27 15:01 UTC (permalink / raw)
To: ltp
Hi,
we have submodule mce-test [1], cloned into testcases/kernel/mce-test.
This project has been added in 2010, later transformed into git submodule, but never
fully integrated into LTP.
I've played with it to update it and integrate it into our build system.
But to be fully working (e.g. have runtest file) we'd need to include mcelog as well.
While this is feasible and both projects looks healthy the question is whether it make
sense to have it in our source tree. I'd delete it.
Kind regards,
Petr
[1] http://git.kernel.org/pub/scm/utils/cpu/mce/mce-test.git
[2] http://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git
^ permalink raw reply [flat|nested] 3+ messages in thread
* [LTP] [RFC] mce-test
2017-12-27 15:01 [LTP] [RFC] mce-test Petr Vorel
@ 2018-01-03 12:54 ` Cyril Hrubis
2018-01-03 13:15 ` Petr Vorel
0 siblings, 1 reply; 3+ messages in thread
From: Cyril Hrubis @ 2018-01-03 12:54 UTC (permalink / raw)
To: ltp
Hi!
> we have submodule mce-test [1], cloned into testcases/kernel/mce-test.
> This project has been added in 2010, later transformed into git submodule, but never
> fully integrated into LTP.
>
> I've played with it to update it and integrate it into our build system.
> But to be fully working (e.g. have runtest file) we'd need to include mcelog as well.
Well mcelog is supposedly part of most of the distributions these days
and even pre-installed at least on machines with x86* processors.
The bigger problem with the testsuite is, that as far as I remeber, at
least half of the testcases were injecting hardware faults to the kernel
and required crashdump to be set up correctly and also the framework
that is supposed to run these tests outliving kernel crashes.
> While this is feasible and both projects looks healthy the question is whether it make
> sense to have it in our source tree. I'd delete it.
That's a good question. Maybe we should just replace the test with a
README that contains an URL pointing to the project.
--
Cyril Hrubis
chrubis@suse.cz
^ permalink raw reply [flat|nested] 3+ messages in thread
* [LTP] [RFC] mce-test
2018-01-03 12:54 ` Cyril Hrubis
@ 2018-01-03 13:15 ` Petr Vorel
0 siblings, 0 replies; 3+ messages in thread
From: Petr Vorel @ 2018-01-03 13:15 UTC (permalink / raw)
To: ltp
Hi,
> > we have submodule mce-test [1], cloned into testcases/kernel/mce-test.
> > This project has been added in 2010, later transformed into git submodule, but never
> > fully integrated into LTP.
> > I've played with it to update it and integrate it into our build system.
> > But to be fully working (e.g. have runtest file) we'd need to include mcelog as well.
> Well mcelog is supposedly part of most of the distributions these days
> and even pre-installed at least on machines with x86* processors.
You're right, so we can require this dependency.
> The bigger problem with the testsuite is, that as far as I remeber, at
> least half of the testcases were injecting hardware faults to the kernel
> and required crashdump to be set up correctly and also the framework
> that is supposed to run these tests outliving kernel crashes.
> > While this is feasible and both projects looks healthy the question is whether it make
> > sense to have it in our source tree. I'd delete it.
> That's a good question. Maybe we should just replace the test with a
> README that contains an URL pointing to the project.
Do you want to advertise just this mcelog? (maybe comparison with other test suites could
be interesting).
And if we decide to keep it, I'd send my patches which integrate mce-test into our build
system. Then it would be good to create some tests, to actually use it.
Kind regards,
Petr
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-01-03 13:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-27 15:01 [LTP] [RFC] mce-test Petr Vorel
2018-01-03 12:54 ` Cyril Hrubis
2018-01-03 13:15 ` Petr Vorel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox