[Intel-gfx] [PATCH i-g-t] tests/tools_test: Find tools in source or installed locations

Mike Mason michael.w.mason at intel.com
Fri Apr 17 15:10:35 PDT 2015


Signed-off-by: Mike Mason <michael.w.mason at intel.com>
---
 tests/tools_test | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/tools_test b/tests/tools_test
index 8bda263..a6178e1 100755
--- a/tests/tools_test
+++ b/tests/tools_test
@@ -6,9 +6,9 @@ SOURCE_DIR="$( dirname "${BASH_SOURCE[0]}" )"
 . $SOURCE_DIR/drm_lib.sh
 
 # ARB_MODE has existed for many gens
-do_or_die "$SOURCE_DIR/../tools/intel_reg_read 0x4030"
-
-do_or_die "$SOURCE_DIR/../tools/intel_reg_dumper"
+PATH=$SOURCE_DIR/../tools:$PATH
+do_or_die "intel_reg_read 0x4030"
+do_or_die "intel_reg_dumper"
 
 # TODO: Add more tests
 
-- 
2.1.0



More information about the Intel-gfx mailing list