[Piglit] "Back up your tests with spec" policy proposal

Arthur Huillet arthur.huillet at free.fr
Wed Apr 22 08:25:32 PDT 2015

From: Arthur Huillet <ahuillet at nvidia.com>


    there are a few things being tested by the direct_state_access* series that don't appear correct to me.
    I suggest that future tests in Piglit should have a comment that quotes the part of the specification they are testing - this will make it easier for others to review tests, or for implementors to ensure that they conform.

    I have one patch ready that fixes a Piglit test bug, there are other questionable expected error values in the direct_state_access* series.

    I believe there would be added value in future changes being done with spec language backing up every test. What do you think?


Arthur Huillet (1):
  DSA: fix error value for *TextureSubImage* when target doesn't match

 tests/spec/arb_direct_state_access/texture-errors.c | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)


More information about the Piglit mailing list