The extension requires a GL_ prefix, which the template didn't have.
v2: - Actually fix things
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
generated_tests/gen_constant_array_size_tests.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/generated
This typo causes some tests to be skipped that shouldn't.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
generated_tests/modules/glsl.py | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/generated_tests/modules/glsl.py b/generated_tests/modules/g
This typo causes some tests to be skipped that shouldn't.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
generated_tests/modules/glsl.py | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/generated_tests/modules/glsl.py b/generated_tests/modules/g
The extension requires a GL_ prefix, which the template didn't have.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
cc: Jason Ekstrand <ja...@jlekstrand.net>
---
generated_tests/gen_constant_array_size_tests.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Thanks for making those changes for me.
I still have one tiny nit. Otherwise both patches are:
Reviewed-by: Dylan Baker <dy...@pnwbakers.com>
I think I've asked before, but do you have commit access, or would you like me
to commit? If you need me to push for you I'll fix my nit before
Quoting Dylan Baker (2017-02-09 08:34:47)
> First, thanks for doing this it's a nice improvement.
>
> I have a few comments below, and a few on the next patch as well.
>
> Quoting Tomi Sarvela (2017-02-09 03:07:04)
> > To preserve the original test running order, use Ordered
One more minor thing I noticed, you probably should change the name of the
author in git from "Fi Jenkins" to your actual name :)
Dylan
Quoting Tomi Sarvela (2017-02-09 03:07:03)
> One test can mess with the state of the machine and cause
> later tests to fail. Because of this, the testing order
Quoting Tomi Sarvela (2017-02-09 03:07:05)
> New helper function numericlistdir() arranges the os.listdir()
> in numerical order and deduplicates the code: reading in is done
> in two places, finalize and _resume.
>
> Use OrderedDict when reading data in.
> ---
> framework/backends/json.py | 42
First, thanks for doing this it's a nice improvement.
I have a few comments below, and a few on the next patch as well.
Quoting Tomi Sarvela (2017-02-09 03:07:04)
> To preserve the original test running order, use OrderedDict
> when copying 'tests' values over.
> ---
> framework/results.py | 16
Currently if installing some compute shader test files for shader runner
will not be installed (those that are not auto generated). Fortunately
it's a rather short list (33 tests as counted by
`find tests -name '*.comp' | wc -l`). This patch fixes them to be
installed
Signed-off-by: Dylan Baker
Quoting Marek Olšák (2017-02-06 14:39:03)
> On Mon, Feb 6, 2017 at 11:10 PM, Dylan Baker <dy...@pnwbakers.com> wrote:
> > I'm curious when you're hitting this because while this works around the
> > problem
> > it's not really fixing it, and I'd really like to fix
I'm curious when you're hitting this because while this works around the problem
it's not really fixing it, and I'd really like to fix it correctly.
In the meantime I'm okay with this change:
Reviewed-by: Dylan Baker <dy...@pnwbakers.com>
Quoting Marek Olšák (2017-02-05 11:28:41)
> Fr
Pushed :)
Quoting Petri Latvala (2017-02-02 01:24:56)
> On 02/01/2017 08:36 PM, Dylan Baker wrote:
> > This look good, thanks for making the changes. Do you have push access or
> > should
> > I push this for you?
> >
> > Reviewed-by: Dylan Baker <dy...@pnwbake
Quoting Nicolai Hähnle (2017-02-02 06:48:39)
> On 01.02.2017 19:30, Dylan Baker wrote:
> > Can you modify 'unittests/generators/test_generators.py' to know about the
> > rename, and run the tests? 'pytest unittest/generators' or "tox -e
> > 'py{27,35}-generators'"
This look good, thanks for making the changes. Do you have push access or should
I push this for you?
Reviewed-by: Dylan Baker <dy...@pnwbakers.com>
Quoting Petri Latvala (2017-02-01 02:57:45)
> IGT testing in Intel's CI is using static lists of tests to
> run. Commenti
Can you modify 'unittests/generators/test_generators.py' to know about the
rename, and run the tests? 'pytest unittest/generators' or "tox -e
'py{27,35}-generators'" will run the tests, depending on what you have
installed.
If that passes, for the series:
Acked-by: Dylan
I haven't looked to closely yet, though I'm planning to do so today or
tomorrow.
I do have one question, does this change the names of the fp64 tests? That would
be less than ideal for us because of our CI system.
Dylan
Quoting Nicolai Hähnle (2017-01-26 10:59:21)
> Hi all,
>
> increase the
Reviewed-by: Dylan Baker <dy...@pnwbakers.com>
Quoting Martin Peres (2017-01-30 04:26:25)
> This guarantees that whatever the state we are in, we can always
> continue the piglit run. Do not use FileBackend.__fsync as it would
> not do the fsync call in the non-sync mode.
>
&
sys is not imported in glsl_parser_test.py, you'll need to do that.
Quoting Neha Bhende (2017-01-25 15:19:54)
> glslparsertest was not running on windows because python script is looking for
> glslparsertest. On windows, piglit creates glslparsertest.exe. With this fix,
> all glslparsertest will
Reviewed-by: Dylan Baker <dy...@pnwbakers.com>
Quoting Martin Peres (2017-01-11 07:45:48)
> Previously, the test-list was not saved when running and resuming a run
> would ignore the test-list and execute the entire test set.
>
> This patch tries to follow Dylan's proposal[
err_msg = "FATAL ERROR: Failed to open display"
> +if x_err_msg in self.result.err or x_err_msg in self.result.out:
> +continue
> +return
>
> raise TestRunError('Failed to connect to X server 5 t
No further objections from me on the series. If Ilia has no more objections, for
the series:
Reviewed-by: Dylan Baker <dy...@pnwbakers.com>
signature.asc
Description: signature
___
Piglit mailing list
Piglit@lists.freedesktop.org
Quoting Ilia Mirkin (2016-12-15 11:33:59)
> On Thu, Dec 15, 2016 at 2:27 PM, Rafael Antognolli
> <rafael.antogno...@intel.com> wrote:
> > On Thu, Dec 15, 2016 at 10:58:10AM -0800, Dylan Baker wrote:
> >> Quoting Rafael Antognolli (2016-12-13 14:51:14)
> >> >
Quoting Rafael Antognolli (2016-12-13 14:51:14)
> Add tests to verify that GL_ERROR_VALUE is returned if an invalid
> index is used to begin, end or get a current query.
>
> v2:
> - Add test to all.py (Ilia Mirkin)
> - Add check for ARB_transform_feedback_overflow_query extension
> v3:
>
Quoting Rafael Antognolli (2016-12-13 14:51:13)
> Add tests that verify that the xfb overflow query correctly detects
> overflow on streams 0 and 1. Also add tests that check its interaction
> with glBeginConditionalRender, and with ARB_query_buffer_object.
>
> v2:
> - add test to all.py
This should not be necessary, the Python_ADITIONAL_VERSIONS like right
above this sets the valid versions to 3.5, 3.4, 3.3, and 2.7 in that
order. It should only fail if you have none of those versions installed.
Dylan
On Tue, Dec 6, 2016, at 11:03, Matt Arsenault wrote:
>
> > On Dec 5, 2016,
Quoting Rami Ben Hassine (2016-11-18 04:53:41)
> Hello all,
>
> Actually piglit don’t use the test-list option if we reboot (for x resons)
> and want to resume a test , note that is not related to suspend test.
This is not a good commit message. A commit message should explain the change,
and
Quoting Alejandro Piñeiro (2016-11-16 00:17:55)
> Hi Dylan,
>
> On 09/11/16 21:53, Dylan Baker wrote:
> > Since these are also just special cases of filters for the standard
> > TestProfile filtering mechanism, and they have a lot of unique classes.
> > This is
Quoting Alejandro Piñeiro (2016-11-16 00:17:55)
> Hi Dylan,
>
> On 09/11/16 21:53, Dylan Baker wrote:
> > Since these are also just special cases of filters for the standard
> > TestProfile filtering mechanism, and they have a lot of unique classes.
> > This is
Quoting Dylan Baker (2016-11-15 13:08:59)
> This reduces memory consumption by a lot (about 60% on my system), which
> fixes some tests that fail sporadically on low memory systems.
>
> cc: Mark Janes <mark.a.ja...@intel.com>
> Signed-off-by: Dylan Baker <
This reduces memory consumption by a lot (about 60% on my system), which
fixes some tests that fail sporadically on low memory systems.
cc: Mark Janes <mark.a.ja...@intel.com>
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/profile.py | 7 +++
1 file changed,
Quoting Dylan Baker (2016-11-10 14:15:51)
>
> Actually, I've got some patches I'm working on that completely rework this
> madness (which I forgot about working on other things) and what you have is
> easier to work into my series than what I suggested, lol.
>
> Please jus
Quoting Alejandro Piñeiro (2016-11-10 12:08:23)
> On 10/11/16 19:05, Dylan Baker wrote:
> > Quoting Alejandro Piñeiro (2016-11-10 07:01:03)
> >> This option was added mostly to being able to run the mustpass
> >> case list included on Vulkan CTS repository. As that fil
Quoting Alejandro Piñeiro (2016-11-10 12:08:23)
> On 10/11/16 19:05, Dylan Baker wrote:
> > Quoting Alejandro Piñeiro (2016-11-10 07:01:03)
> >> This option was added mostly to being able to run the mustpass
> >> case list included on Vulkan CTS repository. As that fil
Quoting Alejandro Piñeiro (2016-11-10 07:01:03)
> This option was added mostly to being able to run the mustpass
> case list included on Vulkan CTS repository. As that file is in
> txt format, we assume that the case list will be in txt format.
>
> That is not the case for the other deqp-xxx
This patch is:
Reviewed-by: Dylan Baker <dy...@pnwbakers.com>
Quoting Alejandro Piñeiro (2016-11-10 05:41:31)
> ---
>
> Those are really trivial, I put them on a different patch to make easier the
> review. But I think that when pushing, it would be better to squash it wit
Quoting Andres Gomez (2016-11-10 01:06:57)
> On Wed, 2016-11-09 at 14:56 -0800, Dylan Baker wrote:
> > Bump.
> >
> > Anyone interested in this?
> >
> >
>
> As commented, although this is not a definitive solution I suppose this
> can help in the mea
Bump.
Anyone interested in this?
Dylan
Quoting Dylan Baker (2016-10-31 14:40:35)
> There are 18000 of these tests, quick.py has 53000 tests, which is 34%
> of the total tests. That's just too many for quick.py.
>
> This patch takes the somewhat naive approach of just filt
This move is going to allow us to supplement the TestDict with a
different class that can be used instead that loads xml.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/profile.py| 104 ++
tests/all.py
This will avoid catching AttributeErrors when importing, and only catch
them if mod.profile doesn't exist.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/profile.py | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/framework/profil
These are used in a couple of places, and since they're meant to be
changed by subclasses they need to be public.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/profile.py | 28
tests/igt.py | 3 ++-
tests/xts.py | 8 -
This pulls the code for parsing the test file out of GLSLParserTest and
puts them in a new Parser class. This is going be useful later for
allowing the parsing to be done during the compile stage, and not
require searching the file system at runtime.
Signed-off-by: Dylan Baker <dylanx.c
be initialized outside of a TestProfile instance. Which,
coincidently is something that the series to serialize the TestDict
does.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
tests/all.py | 95 +
1 file changed, 39 insertions(
This doesn't work and never has, setting it would cause an exception,
and I'm not exactly sure how to fix it. It's also unused, so we can
bring it back later if we need it.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/test/base.py | 5 +
1 file changed, 1 ins
This allows a significant amount of cleanup to happen. It allows
removing attributes from the global OPTIONS, removing tests that no
longer apply, and because of the split run method it allows more values
to simply be passed.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
fra
py profile in incompatible ways.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/profile.py | 16 +-
framework/programs/print_commands.py | 2 +-
unittests/framework/test_profile.py | 52 +-
3 files changed, 69 insertion
This is a list comprehension, it already results in a list. There is no
need to wrap it in the list() constructor call.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/programs/run.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/framework/pr
Some of these would be rather silly to run in parallel (xts and
xts-render, for example), but this will help avoid copy and pasting
things leading to the propagation of bad code.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
tests/cpu.py| 4 +++-
tests/glslparser.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/profile.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/framework/profile.py b/framework/profile.py
index 1bde8fb..7e09081 100644
--- a/framework/profile.py
+++ b/framework/profile.py
@@ -217,7
Since there isn't a conflict in the name anymore, this just makes the
code cleaner and easier to read.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/programs/run.py | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/framework/programs/
-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/programs/run.py | 19 ++-
1 file changed, 6 insertions(+), 13 deletions(-)
diff --git a/framework/programs/run.py b/framework/programs/run.py
index 880d748..b92de99 100644
--- a/framework/programs/run.py
+++ b/fra
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/profile.py | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/framework/profile.py b/framework/profile.py
index 9f72718..5f4657a 100644
--- a/framework/profile.py
+++ b/framework/profile.py
@@ -49,8
-concurrent options tests will run in a sort of zipper pattern:
, , , etc.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/profile.py| 98 --
framework/programs/run.py | 33 ---
framework/summary/feat
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/profile.py | 101
1 file changed, 48 insertions(+), 53 deletions(-)
diff --git a/framework/profile.py b/framework/profile.py
index 5f4657a..042cf98 100644
--- a/framework/prof
This limitation has basically always existed, but for the next patch to
function this is a requirement. This limitation will be properly fixed
in a follow up series (that was originally part of this series, but the
size and scope of the series got too big so this was split.)
Signed-off-by: Dylan
the memory usage, and reduces
surprise.
It would be nice if there wasn't a need to create a concrete test list,
but there wouldn't be any way to get the number of tests otherwise.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/profile.py
A try/finally works better here anyway.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/profile.py | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/framework/profile.py b/framework/profile.py
index 0d2e1cf..f63180a 100644
--- a/framework/prof
This changes the default type from None to a dict, which is what it is
when setup in framework/programs/run.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/results.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/framework/results.py b/fra
Since these are also just special cases of filters for the standard
TestProfile filtering mechanism, and they have a lot of unique classes.
This is just a waste, the same can be achieved with a much simpler class
structure.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
fra
This does away with the check_all closure, by simplifying it down to an
equivalent lambda expression.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/profile.py | 14 +++---
1 file changed, 3 insertions(+), 11 deletions(-)
diff --git a/framework/profil
There are a couple of reasons for doing this. First, profile is a big
complex mess that does entirely too much, and this helps with that.
Second, there are bugs in the way two profiles run at the same time
work, and this is going to fix that.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.
This removes a value out of the global OPTIONS, which is nice. It's very
trivial to pass this instead of putting it in options.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/options.py | 2 --
framework/profile.py | 8 +---
framework/programs/run.p
This was just a thin wrapper around the already public
TestProfile.filters list. It seems silly to have such a method when it
does nothing but call self.filters.append.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/profile.py | 16 +++-
tests/all.py
Rather than putting this in a global variable, just add a filter for
this in the runner. Far simpler, and removes more globals.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/options.py| 1 -
framework/profile.py| 1 -
framework/pr
This adds a few simple tests for the feature completeness summary
object. Nothing to strenuous but much better than nothing.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
unittests/framework/summary/test_feature.py | 116 +-
1 file changed, 116 insertions
for monitoring errors in profile.run
Dylan Baker (27):
framework/result: TestrunResult.options should be a dict
unittests: Add tests for the feature completeness summary
framework/profile: make run hooks public
framework/profile: Drop unneeded except
framework: Split the run method out of profile
Quoting Dylan Baker (2016-11-09 12:08:34)
> Quoting Lionel Landwerlin (2016-11-09 03:39:33)
> > This tests that the compiler accepts the new layout formats introduced by
> > NV_image_formats and also it's correct interaction with the
> > EXT_texture_norm16 specification
n('declaration-disallow-16bit', """\
> +${header('fail', False)}
> +
> +layout(rg16i) readonly uniform highp i${image_type} img_rg16i;
> +layout(r16i) readonly uniform highp i${image_type} img_r16i;
> +
> +layout(rg16ui) readonl
but still enforces a separation between GLES and GL
shaders.
cc: Marek Olšák <mar...@gmail.com>
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/test/shader_test.py | 16 +++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/framework/test/shad
Quoting Marek Olšák (2016-11-08 11:26:04)
> Hi,
>
> Piglit has started failing at startup. Not sure why. I'm not able to
> find a good commit.
>
> Command:
> PIGLIT_NO_FAST_SKIP=1 \
> ./piglit run --process-isolation 0 -p gbm quick
>
> Traceback (most recent call last):
> File "./piglit",
Quoting Vinson Lee (2016-11-07 14:34:23)
> On Mon, Nov 7, 2016 at 2:29 PM, Dylan Baker <dy...@pnwbakers.com> wrote:
> > Quoting Vinson Lee (2016-11-07 14:03:41)
> >> On Mon, Nov 7, 2016 at 10:03 AM, Dylan Baker <dy...@pnwbakers.com> wrote:
> >> &g
Quoting Vinson Lee (2016-11-07 14:03:41)
> On Mon, Nov 7, 2016 at 10:03 AM, Dylan Baker <dy...@pnwbakers.com> wrote:
> > Quoting Vinson Lee (2016-11-04 16:30:39)
> >> Fix Coverity unchecked return value defect.
> >>
> >> CID: 1373655
> >&
Quoting Vinson Lee (2016-11-04 16:30:39)
> Fix Coverity unchecked return value defect.
>
> CID: 1373655
> Signed-off-by: Vinson Lee
> ---
> tests/shaders/shader_runner.c | 7 ++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git
Quoting Brian Paul (2016-11-04 16:02:38)
> On 11/04/2016 02:49 PM, Dylan Baker wrote:
> > Quoting Brian Paul (2016-11-04 13:18:21)
> >> On 11/04/2016 01:49 PM, Dylan Baker wrote:
> > [snip]
> >>
> >> This works, but
> >> 1. seems like a lot of
Quoting Brian Paul (2016-11-04 13:18:21)
> On 11/04/2016 01:49 PM, Dylan Baker wrote:
[snip]
>
> This works, but
> 1. seems like a lot of duplicated code.
> 2. How about a simpler error message like: "Unable to open '%s'"
But that's not the problem. The f
to load a result format piglit doesn't understand.
With that in mind this patch catches that exception in every case and
raises a PiglitFatalError, appending a message that this is probably a
typo or that you've pointed at the wrong directory.
cc: Brian Paul <bri...@vmware.com>
Signed-off-by:
Just a bit of house keeping.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/backends/__init__.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/framework/backends/__init__.py b/framework/backends/__init__.py
index 488ad55..ce9f1db
If it's not present make it an empty list.
cc: Brian Paul <bri...@vmware.com>
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/backends/json.py | 5 -
unittests/framework/backends/test_json_update.py | 24
2 files
Quoting Eric Anholt (2016-11-01 10:32:23)
> Dylan Baker <dy...@pnwbakers.com> writes:
>
> > There are 18000 of these tests, quick.py has 53000 tests, which is 34%
> > of the total tests. That's just too many for quick.py.
> >
> > This patch takes the somewhat
These profiles don't actually support running without process isolation,
but with this patch the provide a nice message about why they don't when
one selects it. The reason is that they actually run slower with process
isolation than without.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.
eqp suites to change their parent
class.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/test/deqp.py| 238 +++
tests/cts_gl.py | 2 +-
tests/cts_gles.py | 2 +-
tests/deqp_egl.py
This hooks up the boilerplate in deqp_vk to run without process
isolation.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
tests/deqp_vk.py | 36 +++-
1 file changed, 27 insertions(+), 9 deletions(-)
diff --git a/tests/deqp_vk.py b/tests/deqp
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
tests/cts_gles.py | 22 ++
1 file changed, 18 insertions(+), 4 deletions(-)
diff --git a/tests/cts_gles.py b/tests/cts_gles.py
index a6a7ec8..7c2dc21 100644
--- a/tests/cts_gles.py
+++ b/tests/cts_gles.py
@@
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
tests/cts_gl.py | 22 ++
1 file changed, 18 insertions(+), 4 deletions(-)
diff --git a/tests/cts_gl.py b/tests/cts_gl.py
index 5b03e4a..b3c0782 100644
--- a/tests/cts_gl.py
+++ b/tests/cts_gl.py
@@ -1,
I can't actually test this patch, the egl tests from deqp are broken and
all of them fail, I'm going to take a guess that they are like the
deqp_gles* tests and don't benefit from removing process isolation, but
that's just a guess.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
This patches adds all of the boilerplate code that is required to get
group-at-a-time working. It adds the command line option, and all of the
switches to choose between creating a profile full of single tests, or
tests that run group at a time.
Signed-off-by: Dylan Baker <dylanx.c
Mostly this is adding docstrings. There is also a value that is
flagged as an error, but isn't, it's a bug in pylint. And there is one
TODO that has never been hit, so I don't think we really need it.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/test/deqp.p
The dEQP suite itself (not through piglit) is broken upstream.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
unittests/suites/test_integration.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/unittests/suites/test_integration.py
b/unittests/
layer.
Dylan Baker (9):
framework/test/deqp: Fix pylint warnings.
unittests: mark deqp_egl integration test as xfail
framework: Add an initial implementaiton of a DEQPGroupTest
framework: Implement boilerplate for removing process isolation
tests/deqp_vk: add support for running without
There are 18000 of these tests, quick.py has 53000 tests, which is 34%
of the total tests. That's just too many for quick.py.
This patch takes the somewhat naive approach of just filtering out 80%
of those tests from quick.py, which reduces the total number of tests to
38000, which makes a pretty
This does away with the check_all closure, by simplifying it down to an
equivalent lambda expression.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/profile.py | 14 +++---
1 file changed, 3 insertions(+), 11 deletions(-)
diff --git a/framework/profil
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/profile.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/framework/profile.py b/framework/profile.py
index e0c1f72..8c1fc4a 100644
--- a/framework/profile.py
+++ b/framework/profile.py
@@ -219,7
This removes the need to pass the results directory to each test
instance, but still gives the guarantee that each instance will write
it's results to a unique location, since that guarantee is made by
python's tempfile.mkdtemp.
cc: Eric Anholt <e...@anholt.net>
Signed-off-by: Dylan
This doesn't work and never has, setting it would cause an exception,
and I'm not exactly sure how to fix it. It's also unused, so we can
bring it back later if we need it.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/test/base.py | 5 +
1 file changed, 1 ins
Like all of the other helper functions, and will be required by later
patches in this series.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
tests/all.py | 95 +
1 file changed, 39 insertions(+), 56 deletions(-)
diff --git a
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/profile.py | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/framework/profile.py b/framework/profile.py
index 288e598..bd18e5e 100644
--- a/framework/profile.py
+++ b/framework/profile.py
@@ -54,8
This move is going to allow us to supplement the TestDict with a
different class that can be used instead that loads xml.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/profile.py| 104 ++
tests/all.py
This will avoid catching AttributeErrors when importing, and only catch
them if mod.profile doesn't exist.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/profile.py | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/framework/profil
This allows a significant amount of cleanup to happen. It allows
removing attributes from the global OPTIONS, removing tests that no
longer apply, and because of the split run method it allows more values
to simply be passed.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
fra
the memory usage, and reduces
surprise.
It would be nice if there wasn't a need to create a concrete test list,
but there wouldn't be any way to get the number of tests otherwise.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
framework/profile.py
401 - 500 of 3305 matches
Mail list logo