summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2015-04-02arb_direct_state_access: Test errors thrown by CopyTex[ture]SubImage*D.Laura Ekstrand1-0/+48
2015-04-02arb_direct_state_access: Test errors thrown by CompressedTex[ture]SubImage*D.Laura Ekstrand1-0/+80
2015-04-02texturing: New test for GetCompressedTexImage.Laura Ekstrand3-0/+234
2015-04-02texturing: New test for GetTexImage targets.Laura Ekstrand3-0/+231
2015-04-02texturing: Remove over-complicated getteximage-targets test.Laura Ekstrand3-306/+0
2015-04-02arb_direct_state_access: New test for glGetTextureImage.Laura Ekstrand3-0/+231
v2: Added increased error checking Review from Ian Romanick and Ilia Mirkin: - Compat context 20 (and remove check for ARB_texture_cube_map) - Change global_pass from GL_boolean to bool - Clean up the texture in upload_subtest - Restructure download commands to simplify use_pbo logic - Use separate pack and unpack pbos I have not applied the pre-emptive R-b's because this patch series adds a new getteximage-targets test, and, because the tests are so similar, it makes sense to have the whole thing reviewed and pushed as a big chunk.
2015-04-02arb_direct_state_access: Remove over-complicated test gettextureimage-targets.Laura Ekstrand3-368/+0
2015-04-02arb_direct_state_access: New test for glCompressedTextureSubImage*D.Laura Ekstrand3-0/+258
v2: Added increased error checking Review from Ian Romanick and Ilia Mirkin: - Compat context 20 (and remove check for ARB_texture_cube_map) - Change global_pass from GL_boolean to bool - Clean up the texture in upload_subtest - Restructure download commands to simplify use_pbo logic - Use separate pack and unpack pbos I have not applied the pre-emptive R-b's because this patch series adds a new getteximage-targets test, and, because the tests are so similar, it makes sense to have the whole thing reviewed and pushed as a big chunk.
2015-04-02arb_direct_state_access: New test for GetCompressedTextureImage.Laura Ekstrand3-0/+232
v2: Added increased error checking Review from Ian Romanick and Ilia Mirkin: - Compat context 20 (and remove check for ARB_texture_cube_map) - Change global_pass from GL_boolean to bool - Clean up the texture in upload_subtest - Restructure download commands to simplify use_pbo logic - Use separate pack and unpack pbos I have not applied the pre-emptive R-b's because this patch series adds a new getteximage-targets test, and, because the tests are so similar, it makes sense to have the whole thing reviewed and pushed as a big chunk.
2015-04-02arb_direct_state_access: Remove over-complicated getcompressedtextureimage test.Laura Ekstrand3-450/+0
2015-04-02arb_map_buffer_range: Fix for bug in map_buffer_range_test?Laura Ekstrand1-1/+2
2015-04-02arb_direct_state_access: Fix gettextureimage-targets fall through.Laura Ekstrand1-4/+2
2015-04-02arb_direct_state_access: gettextureimage-targets.c has display.Laura Ekstrand1-2/+63
2015-04-02arb_direct_state_access: getcompressedtextureimage now has distinct layers.Laura Ekstrand1-6/+17
2015-04-02arb_direct_state_access: Testing glGetNamedBufferSubData.Laura Ekstrand3-0/+114
2015-04-02arb_direct_state_access: Testing glGetNamedBufferParameteri[64]v andLaura Ekstrand3-0/+225
GetNamedBufferPointerv.
2015-04-02arb_direct_state_access: Testing FlushMappedNamedBufferRange.Laura Ekstrand3-0/+148
2015-04-02arb_direct_state_access: Testing UnmapNamedBuffer.Laura Ekstrand3-0/+117
2015-04-02arb_direct_state_access: Testing MapNamedBuffer.Laura Ekstrand3-0/+130
2015-04-02arb_direct_state_access: Testing glClearNamedBufferSubData.Laura Ekstrand3-0/+102
2015-04-02arb_direct_state_access: Testing glClearNamedBufferData.Laura Ekstrand3-0/+167
Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
2015-04-02arb_direct_state_access: Testing NamedBufferSubData.Laura Ekstrand3-0/+108
Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
2015-04-02arb_direct_state_access: Testing NamedBufferStorage.Laura Ekstrand3-0/+269
Testing NamedBufferStorage, NamedBufferData, CopyNamedBufferSubData, and MapNamedBufferRange.
2015-04-02arb_direct_state_access: Testing glTextureBufferRange.Laura Ekstrand3-0/+146
2015-04-02arb_direct_state_access: Test for CreateBuffers.Laura Ekstrand3-0/+78
2015-04-02arb_sync: Test to demonstrate ClientWaitSync bug.Laura Ekstrand3-0/+205
glClientWaitSync(fence, GL_SYNC_FLUSH_COMMANDS_BIT, GL_TIMEOUT_IGNORED) often returns GL_TIMEOUT_EXPIRED, even though GL_TIMEOUT_IGNORED is a huge integer (18446744073709551615 on Intel Sandybridge with Mesa). The third argument to glClientWaitSync should represent the number of nanoseconds the implementation waits for the signal from fence before giving up and returning TIMEOUT_EXPIRED. This test, adapted from bufferstorage-persistent, demonstrates that glClientWaitSync(fence, GL_SYNC_FLUSH_COMMANDS_BIT, GL_TIMEOUT_IGNORED) must be called multiple times before the signal is actually recorded and either GL_CONDITION_SATISFIED or GL_ALREADY_SIGNALED is returned.
2015-03-09deqp_gles3.py: Fix PEP 8 issues.Vinson Lee1-8/+11
Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
2015-03-09all.py: Fix PEP 8 issues.Vinson Lee1-83/+105
Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
2015-03-09es3conform.py: Fix PEP 8 issues.Vinson Lee1-6/+9
Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
2015-03-09cl.py: Fix PEP 8 issues.Vinson Lee1-2/+4
Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
2015-03-09igt.py: Use subprocess.check_output instead of subprocess.PopenDylan Baker1-18/+15
This is somewhat simpler way to handle this, since check_output monitors only stdout, and hides stderr, and it gives us a lovely exception if the returncode isn't 0, which allows us to completely bypass the error checking code if there is no error. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Thomas Wood <thomas.wood@intel.com>
2015-03-09igt.py: Use __future__ functions, mainly print_functionDylan Baker1-6/+7
This makes igt more like the rest of piglit which uses the __future__ version of print, division, and import Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Thomas Wood <thomas.wood@intel.com>
2015-03-09igt.py: add docstrings.Dylan Baker1-9/+20
In some cases this is really just about formatting. v3: - remove accidental whitespace insertion (Ian) v4: - Update the module docstring to be accurate after commit 443abf5 (Thomas) v5: - Fix small typo (Thomas) Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Thomas Wood <thomas.wood@intel.com>
2015-03-09igt.py: Use PEP8 specified whitespaceDylan Baker1-0/+5
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Thomas Wood <thomas.wood@intel.com>
2015-03-09igt.py: fix invalid name errorsDylan Baker1-10/+14
Make constants all caps, per PEP8, make functions all lowercase with underscores, and move some toplevel work into helper functions. v2: - drop one pylint disable line that wasn't needed (Thomas) v5: - Fix replacment of IGTTestProfile with TestProfile. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Thomas Wood <thomas.wood@intel.com>
2015-03-09igt.py: Replace igtTestRoot with PEP8 compliant IGT_TEST_ROOTDylan Baker1-9/+9
v2: - Add this patch to the series Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Thomas Wood <thomas.wood@intel.com>
2015-03-09igt.py: Change an empty string to a listDylan Baker1-4/+2
Currently there is a function that in some cases could return '', but the output is assumed to be a list. This patch ensures that it always returns a list. v3: - further simplify the function by using two return statements instead of a single return and assignment Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Thomas Wood <thomas.wood@intel.com>
2015-03-09igt.py: Fix whitepace warnings for pylintDylan Baker1-11/+9
v2: - Also remove stderr from subprocess.Popen Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Thomas Wood <thomas.wood@intel.com>
2015-03-08Delete redundant condition-07.vert test.Kenneth Graunke1-26/+0
This test is redundant with: glsl-1.20/compiler/structure-and-array-operations/array-selection.vert Both contain the same shader code and the same spec citation - the only difference is variable names and the exact portion of the text quoted. The other one has a better name, so keep it and delete condition-07. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
2015-03-08framework: Try to fix the exclusions of llvmpipe test list.Jose Fonseca1-1/+3
The del profile.test_list[key] statement was silently failing because the TestDict's key lowering magic was not happening for deleted items. Unfortunately this still is not enough to fix the glean exclusions: somehow all glean test names are being munged with extra whitespace. For example: $ ./piglit-print-commands.py tests/llvmpipe.py | grep '^glean/p' warning: test glean/pointAtten does not exist warning: test glean/texCombine does not exist [...] glean/p o i n t a t t e n ::: bin/glean -o -v -v -v -t +pointAtten --quick Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
2015-03-06tests/all.py: Fix typo that switched arb with extDylan Baker1-1/+1
This fixes several tests on platforms that support arb_transform_feedback3. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Mark Janes <mark.a.janes@intel.com>
2015-03-05all.py: Fix copy and paste errorDylan Baker1-1/+1
This corrects a copy and paste error in all.py that matches the wrong binary with a test name. This causes an artificial piglit regression on mesa, at least for the Intel driver. This patch fixes that typo. Trivial Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
2015-03-05all.py: disable pylint's bad-continuation errorDylan Baker2-0/+9
This is a bug (https://bitbucket.org/logilab/pylint/issue/461/incorrect-hanging-indent-detection-with) that misdetects the hanging indent of the context manager. This silences roughly 300 warnings. v2: - also turn this warning off in quick.py Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
2015-03-05all.py: use __future__ functionsDylan Baker1-3/+4
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
2015-03-05all.py: Remove run_concurrent=True flagDylan Baker2-1642/+1224
The previous commit made True the default value. This removes ~400 LOC from all.py (about 10%) Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
2015-03-05piglit_test.py: Change run_concurrent to True by defaultDylan Baker1-2/+2
This will flip the value of the flag for PiglitGLTest, ShaderTest, and GLSLParserTest. It will not affect PiglitCLTest (That's OpenCL), because of the previous patch, which causes PiglitCLTest to use a unique concurrency setting method. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
2015-03-05all.py: Set run_concurrent=False explicitlyDylan Baker1-506/+588
This will allow us to flip the default value of run_concurrent to True in the next patch. Since the majority of tests are concurrent safe (and honestly many of them that are marked not safe are), this change will help to reduce the number of tests that are marked serial by default by copy-n-paste. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
2015-03-05framework: Override run_concurrent for CL test classesDylan Baker1-24/+4
This patch changes where the OpenCL tests get their run_concurrent flag from. After this patch it is computed automatically, leaving no need to set the flag manually unless one wants to force a non default behavior for their platform. v2: - fix some formatting XXX: This assumes Thomas Stellard's "opencv: Automatically run tests concurrently..." patch Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
2015-03-05all.py: Use group_manager default_args for exclude_platformsDylan Baker1-59/+50
This simplifies a egl specific tests.
2015-03-05all.py: Use TestProfile.group_manager default_args to set require_platformsDylan Baker1-175/+118
This allows the simplification of a large number of tests, reducing them to one argument, or at least reducing the number of lines that they occupy (or should occupy with reasonable line wrapping).