blob: ce5cbd3ea97891f7f29348f70c56f3176525673b [file] [log] [blame]
From 7d2d23125f1946a7b74f9a427388d469500fcd8d Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Tue, 10 Nov 2020 17:13:50 +0000
Subject: [PATCH] tests/util/piglit-shader.c: do not hardcode build path into
target binary
This helps reproducibilty.
Upstream-Status: Inappropriate [oe-core specific]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
tests/util/piglit-shader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/util/piglit-shader.c b/tests/util/piglit-shader.c
index 1787eb180..9e74704b1 100644
--- a/tests/util/piglit-shader.c
+++ b/tests/util/piglit-shader.c
@@ -73,7 +73,7 @@ piglit_compile_shader(GLenum target, const char *filename)
source_dir = getenv("PIGLIT_SOURCE_DIR");
if (source_dir == NULL) {
- source_dir = SOURCE_DIR;
+ source_dir = ".";
}
snprintf(filename_with_path, FILENAME_MAX - 1,