Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame^] | 1 | Prepend instead of append to the module search path, as this script needs to use |
| 2 | the local module build, not the host module build. |
| 3 | |
| 4 | Upstream-Status: Submitted |
| 5 | Signed-off-by: Ross Burton <ross.burton@arm.com> |
| 6 | |
| 7 | diff --git a/external/vulkancts/scripts/gen_framework.py b/external/vulkancts/scripts/gen_framework.py |
| 8 | index 83c5329ce..10e720910 100755 |
| 9 | --- a/external/vulkancts/scripts/gen_framework.py |
| 10 | +++ b/external/vulkancts/scripts/gen_framework.py |
| 11 | @@ -33 +33 @@ from collections import OrderedDict |
| 12 | -sys.path.append(os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts")) |
| 13 | +sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts")) |
| 14 | diff --git a/external/vulkancts/scripts/gen_framework_c.py b/external/vulkancts/scripts/gen_framework_c.py |
| 15 | index 95587e642..84b878cb2 100644 |
| 16 | --- a/external/vulkancts/scripts/gen_framework_c.py |
| 17 | +++ b/external/vulkancts/scripts/gen_framework_c.py |
| 18 | @@ -28 +28 @@ import re |
| 19 | -sys.path.append(os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts")) |
| 20 | +sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts")) |