Even without these --process-isolation works as expected, but these
improve runtime (for me by almost a minute) by putting the tests in a
more optimal order. This is a very cheap optimization.
---
 tests/gpu.no_isolation.meta.xml   | 11 +++++++++++
 tests/quick.no_isolation.meta.xml |  6 ++++++
 2 files changed, 17 insertions(+)
 create mode 100644 tests/gpu.no_isolation.meta.xml
 create mode 100644 tests/quick.no_isolation.meta.xml

diff --git a/tests/gpu.no_isolation.meta.xml b/tests/gpu.no_isolation.meta.xml
new file mode 100644
index 000000000..f26a3027b
--- /dev/null
+++ b/tests/gpu.no_isolation.meta.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PiglitMetaProfile>
+  <!-- This inverses the order of shader and compiled tests, this is
+       intentional. For gpu (with isolation), shader tests are small and can be
+       assumed to be very quick, while compiled tests will almost certainly be
+       slower. Without isolation that is reversed, shader tests take much 
longer,
+       so putting them first improves runtime.
+  -->
+  <Profile>quick_shader.no_isolation</Profile>
+  <Profile>quick_gl</Profile>
+</PiglitMetaProfile>
diff --git a/tests/quick.no_isolation.meta.xml 
b/tests/quick.no_isolation.meta.xml
new file mode 100644
index 000000000..11d37863d
--- /dev/null
+++ b/tests/quick.no_isolation.meta.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PiglitMetaProfile>
+  <Profile>quick_shader.no_isolation</Profile>
+  <Profile>quick_gl</Profile>
+  <Profile>glslparser</Profile>
+</PiglitMetaProfile>
-- 
2.17.0

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to