[Intel-gfx] [PATCH i-g-t] tests/vgem_reload_basic: Include drm_lib.sh to please check target.

Marius Vlad marius.c.vlad at intel.com
Tue Jun 21 10:23:51 UTC 2016


Scripts are required to have it included.

Signed-off-by: Marius Vlad <marius.c.vlad at intel.com>
CC: Chris Wilson <chris at chris-wilson.co.uk>
---
 tests/vgem_reload_basic | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/vgem_reload_basic b/tests/vgem_reload_basic
index b150b2c..d1897b3 100755
--- a/tests/vgem_reload_basic
+++ b/tests/vgem_reload_basic
@@ -5,6 +5,9 @@
 # ... we've broken this way too often :(
 #
 
+SOURCE_DIR="$( dirname "${BASH_SOURCE[0]}" )"
+. $SOURCE_DIR/drm_lib.sh
+
 function unload() {
 	/sbin/rmmod vgem
 	# drm may be used by other devices (nouveau, radeon, udl, etc)
-- 
2.8.1



More information about the Intel-gfx mailing list