Bug 94135

Summary: piglit.spec.!opengl 3_0.clearbuffer-invalid-drawbuffer fails
Product: piglit Reporter: Mark Janes <mark.a.janes>
Component: testsAssignee: Ilia Mirkin <imirkin>
Status: RESOLVED FIXED QA Contact: Piglit Mailing List <piglit>
Severity: normal    
Priority: medium CC: brianp
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Mark Janes 2016-02-13 19:19:16 UTC
with mesa 3a0051bea998dc26feed9ed1468714b89de417c3, this test began to fail with:

/tmp/build_root/m64/lib/piglit/bin/clearbuffer-invalid-drawbuffer -auto -fbo
Unexpected GL error: GL_INVALID_ENUM 0x500
(Error at ../tests/spec/gl-3.0/api/clearbuffer-invalid-drawbuffer.c:81)
Expected GL error: GL_INVALID_VALUE 0x501

As per IRC with Ilia:

<janesma> imirkin: your last series fixed some deqp tests, but broke
          spec.!opengl 3_0.clearbuffer-invalid-drawbuffer at 3a0051b.  Is the
          piglit test wrong?  [17:22]
<imirkin_> janesma: probably yes  [17:23]

This bug tracks the work to fix the test.
Comment 1 Ilia Mirkin 2016-02-13 19:29:18 UTC
Pushed.

commit 9c1ca9eafeffe0a1e2502c88a2faff7c5284c060
Author: Ilia Mirkin <imirkin@alum.mit.edu>
Date:   Fri Feb 12 20:36:02 2016 -0500

    clearbuffer: remove invalid buffer calls from drawbuffer test
    
    Reported-by: Mark Janes <mark.a.janes@intel.com>
    Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
    Reviewed-by: Brian Paul <brianp@vmware.com>

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.