[Intel-gfx] [PATCH i-g-t] lib/igt_kmod: Allow specifying libkmod config via environment variables

Chris Wilson chris at chris-wilson.co.uk
Tue Sep 12 15:51:40 UTC 2017


Quoting Joonas Lahtinen (2017-09-12 16:44:10)
> Allow specifying the kernel module configuration via environment
> variables. This allows enumerating the subtests of the kselftest
> wrappers from sysroot directory.
> 
> IGT_KMOD_CONFIG_PATHS="" \
> IGT_KMOD_DIRNAME="/path/to/sysroot/lib/modules/X.Y.Z" \
>         tests/drm_mm --list-subtests

Just one quibble, but shouldn't it be PATH?  E.g.
	PATH=
	LD_LIBRARY_PATH=
etc are similar colon-delimited sets of search directories.
Then again, if they are not search directories, then just
IGT_KMOD_CONFIG=

DIRNAME or just DIR? Names are where the best bikesheds are built.
-Chris


More information about the Intel-gfx mailing list