tests/tools_test: Find tools in source or installed locations
PATCH 1/1 tests/tools_test: Find tools in source or installed locations
Signed-off-by Mike Mason <[email protected]>
--- tests/tools_test | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
tests/tools_test +3 -3
@@ -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
Signature · 6 lines
2.1.0 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 1 line · Mike Mason
Signed-off-by Mike Mason <[email protected]>
I've pushed this patch, but I'm not actually sure if this test should actually be included in the test suite or part of the package check scripts. Daniel might be able to confirm the original intention.
Quoted 24 lines
--- tests/tools_test | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)tests/tools_test +3
-4@@ -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
Quoted 4 lines
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx