From cd765cf7eef3119a9d0c9fdec0973fceed0c8eed Mon Sep 17 00:00:00 2001 From: Michel Dänzer Date: Tue, 19 Aug 2014 11:00:16 +0900 Subject: r300g: Fix path to test programs for out-of-tree builds Fixes make check in that case. Reviewed-by: Tom Stellard --- src/gallium/drivers/r300/compiler/tests/rc_test_helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/r300/compiler') diff --git a/src/gallium/drivers/r300/compiler/tests/rc_test_helpers.c b/src/gallium/drivers/r300/compiler/tests/rc_test_helpers.c index 239a76298fe..7c9d1779df5 100644 --- a/src/gallium/drivers/r300/compiler/tests/rc_test_helpers.c +++ b/src/gallium/drivers/r300/compiler/tests/rc_test_helpers.c @@ -543,7 +543,7 @@ unsigned load_program( unsigned i = 0; memset(line, 0, sizeof(line)); - snprintf(path, MAX_PATH_LENGTH, "compiler/tests/%s", filename); + snprintf(path, MAX_PATH_LENGTH, TEST_PATH "/%s", filename); file = fopen(path, "r"); if (!file) { return 0; -- cgit v1.2.3