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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux