Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/vgem_reload_basic: Include drm_lib.sh to please check target.
@ 2016-06-21 10:23 Marius Vlad
  2016-06-21 10:33 ` Chris Wilson
  2016-06-21 12:34 ` [PATCH i-g-t v2] tests/drm_lib.sh: Extract fake getopt options so it can sourced into tests that require it Marius Vlad
  0 siblings, 2 replies; 4+ messages in thread
From: Marius Vlad @ 2016-06-21 10:23 UTC (permalink / raw)
  To: intel-gfx

Scripts are required to have it included.

Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
CC: Chris Wilson <chris@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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-06-21 12:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-21 10:23 [PATCH i-g-t] tests/vgem_reload_basic: Include drm_lib.sh to please check target Marius Vlad
2016-06-21 10:33 ` Chris Wilson
2016-06-21 12:34 ` [PATCH i-g-t v2] tests/drm_lib.sh: Extract fake getopt options so it can sourced into tests that require it Marius Vlad
2016-06-21 12:42   ` Chris Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox