Add initial Vulkan CTS 1.0.0 mustpass
authorPyry Haulos <phaulos@google.com>
Thu, 14 Jan 2016 21:48:57 +0000 (13:48 -0800)
committerPyry Haulos <phaulos@google.com>
Thu, 14 Jan 2016 21:48:57 +0000 (13:48 -0800)
Change-Id: Ic91aa817944c856ce18af46909cfee3c04fd7e20

external/vulkancts/build_mustpass.py [new file with mode: 0644]
external/vulkancts/mustpass/1.0.0/.gitignore [new file with mode: 0644]
external/vulkancts/mustpass/1.0.0/src/excluded-tests.txt [new file with mode: 0644]
external/vulkancts/mustpass/1.0.0/src/master.txt [new file with mode: 0644]
external/vulkancts/mustpass/1.0.0/src/test-issues.txt [new file with mode: 0644]

diff --git a/external/vulkancts/build_mustpass.py b/external/vulkancts/build_mustpass.py
new file mode 100644 (file)
index 0000000..c669904
--- /dev/null
@@ -0,0 +1,89 @@
+# -*- coding: utf-8 -*-
+
+#-------------------------------------------------------------------------
+# Vulkan CTS
+# ----------
+#
+# Copyright (c) 2016 Google Inc.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and/or associated documentation files (the
+# "Materials"), to deal in the Materials without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, sublicense, and/or sell copies of the Materials, and to
+# permit persons to whom the Materials are furnished to do so, subject to
+# the following conditions:
+#
+# The above copyright notice(s) and this permission notice shall be
+# included in all copies or substantial portions of the Materials.
+#
+# The Materials are Confidential Information as defined by the
+# Khronos Membership Agreement until designated non-confidential by
+# Khronos, at which point this condition clause shall be removed.
+#
+# THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+# MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
+#
+#-------------------------------------------------------------------------
+
+import os
+import sys
+
+sys.path.append(os.path.join(os.path.dirname(__file__), "..", "..", "scripts"))
+
+from build.common import DEQP_DIR
+from build.config import ANY_GENERATOR
+from build_caselists import Module, getModuleByName, getBuildConfig, DEFAULT_BUILD_DIR, DEFAULT_TARGET
+from mustpass import Project, Package, Mustpass, Configuration, include, exclude, genMustpassLists
+
+COPYRIGHT_DECLARATION = """
+     Permission is hereby granted, free of charge, to any person obtaining a
+     copy of this software and/or associated documentation files (the
+     "Materials"), to deal in the Materials without restriction, including
+     without limitation the rights to use, copy, modify, merge, publish,
+     distribute, sublicense, and/or sell copies of the Materials, and to
+     permit persons to whom the Materials are furnished to do so, subject to
+     the following conditions:
+
+     The above copyright notice(s) and this permission notice shall be
+     included in all copies or substantial portions of the Materials.
+
+     The Materials are Confidential Information as defined by the
+     Khronos Membership Agreement until designated non-confidential by
+     Khronos, at which point this condition clause shall be removed.
+
+     THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+     MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+     IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+     CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+     TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+     MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
+     """
+
+MUSTPASS_PATH          = os.path.join(DEQP_DIR, "external", "vulkancts", "mustpass")
+PROJECT                                = Project(path = MUSTPASS_PATH, copyright = COPYRIGHT_DECLARATION)
+VULKAN_MODULE          = getModuleByName("dEQP-VK")
+BUILD_CONFIG           = getBuildConfig(DEFAULT_BUILD_DIR, DEFAULT_TARGET, "Debug")
+
+# 1.0.0
+
+VULKAN_1_0_0_PKG       = Package(module = VULKAN_MODULE, configurations = [
+               # Master
+               Configuration(name              = "default",
+                                         filters       = [include("master.txt"),
+                                                                  exclude("test-issues.txt"),
+                                                                  exclude("excluded-tests.txt")]),
+       ])
+
+MUSTPASS_LISTS         = [
+               Mustpass(project = PROJECT, version = "1.0.0",          packages = [VULKAN_1_0_0_PKG])
+       ]
+
+if __name__ == "__main__":
+       genMustpassLists(MUSTPASS_LISTS, ANY_GENERATOR, BUILD_CONFIG)
diff --git a/external/vulkancts/mustpass/1.0.0/.gitignore b/external/vulkancts/mustpass/1.0.0/.gitignore
new file mode 100644 (file)
index 0000000..893edd4
--- /dev/null
@@ -0,0 +1,3 @@
+vk-default.txt
+com.drawelements.deqp.vk.xml
+mustpass.xml
diff --git a/external/vulkancts/mustpass/1.0.0/src/excluded-tests.txt b/external/vulkancts/mustpass/1.0.0/src/excluded-tests.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/external/vulkancts/mustpass/1.0.0/src/master.txt b/external/vulkancts/mustpass/1.0.0/src/master.txt
new file mode 100644 (file)
index 0000000..6db63aa
--- /dev/null
@@ -0,0 +1 @@
+dEQP-VK.*
diff --git a/external/vulkancts/mustpass/1.0.0/src/test-issues.txt b/external/vulkancts/mustpass/1.0.0/src/test-issues.txt
new file mode 100644 (file)
index 0000000..e69de29