Skip to contentSkip to conversation

Testing

DISCUSSION Martin Owens 3 participants 5 messages Mar 26, 2011 – Apr 1, 2011 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hello,

I have two quick questions if you will indulge me:

1) What proportion of functionality is covered by 100% automated tests?
2) What danger is presented to users who run tests?

Thanks guys,

Best Regards, Martin Owens

#1 lore raw
Quoted 2 lines · Martin Owens

1) What proportion of functionality is covered by 100% automated tests?
2) What danger is presented to users who run tests?

Sorry, I don't understand what you speak about. Does these questions apply to nouveau in any way?

Didier Spaier

A message that is not in the archive (sent off-list or not yet received): 4D8EB10D.9060305-GqzDj6/[email protected]

#3 lore raw
Quoted 2 lines · Didier Spaier

Sorry, I don't understand what you speak about. Does these questions apply to nouveau in any way?

Yes, they do.

Martin,

#4 lore raw
Quoted 5 lines · Martin Owens
Quoted 2 lines · Didier Spaier

Sorry, I don't understand what you speak about. Does these questions apply to nouveau in any way?

Yes, they do.

Then I guess that you are speaking about the Phoronix Test Suite.

If I am right, you could post your questions in the relevant forum:
http://phoronix.com/forums/forumdisplay.php?49-Phoronix-Test-Suite

I never used it myself thus I can't answer about the scope of the tests

Anyhow, IMHO your question:
"1) What proportion of functionality is covered by 100% automated tests?" would only make sense if there would exist a comprehensive list of functional and/or performance requirements for Nouveau in general and/or a specific GPU, which I very much doubt.

Moreover, would this be the case you should insure in addition that all requirements be testable.

About your question:
"2) What danger is presented to users who run tests?" I can see two dangers:
a) loose your time - Sorry, I couldn't resist ;)
b) burn your GPU => machine => house because of an overheating.

Of course, as stated in http://nouveau.freedesktop.org/wiki/MesaDrivers:
"OpenGL applications that work at first may crash sooner or later.
Some applications may crash X itself or hang the GPU."

But I don't see this as a danger, unless you do your test on
critical production machine. Let's quote the following sentence
on the same web page:
"You should be prepared to face issues, and be able to recover from them yourself.
If the GPU hangs, you can either reboot or suspend (see LockupRecovery)."

Not sure I really answer your questions, HTH anyway.

Didier

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#5 lore raw
In reply to Martin Owens
Quoted 5 lines · Martin Owens

Hello,

I have two quick questions if you will indulge me:

1) What proportion of functionality is covered by 100% automated tests?

Hm. Some :).

It depends on what you're interested in:
*) mesa has the piglit test suite, which covers quite a lot of GL
functionality. It tests quite a lot of things which aren't implemented, though, so it's most useful at picking up regressions.
*) There's the rendercheck suite for X rendering. I've not used it. *) There's modetest (in the libdrm tree) for kms testing

Quoted 1 line

2) What danger is presented to users who run tests?

A significant probability of X crashing or the GPU locking up. I don't think it's particularly more likely to physically damage hardware than just using nouveau normally.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau