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

Thomas Wood thomas.wood at intel.com
Wed Apr 22 10:26:41 PDT 2015


On 17 April 2015 at 23:10, Mike Mason <michael.w.mason at intel.com> wrote:
> Signed-off-by: Mike Mason <michael.w.mason at intel.com>

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.


> ---
>  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
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx


More information about the Intel-gfx mailing list