summaryrefslogtreecommitdiff
path: root/tests/Makefile.sources
diff options
context:
space:
mode:
authormarius vlad <marius.c.vlad@intel.com>2016-06-21 15:34:07 +0300
committerMarius Vlad <marius.c.vlad@intel.com>2016-06-21 18:59:46 +0300
commit1f4b21ca7d1d5782e532cb7f681bc60cac82ff85 (patch)
tree1b089d5b8eb98d53f268ae00bc004825e71a21b8 /tests/Makefile.sources
parent1b81253dd0d91191ceccd946961d8c53f4bcbd7d (diff)
tests/drm_lib.sh: Extract fake getopt options so it can sourced into tests that require it.
This should allow tests/vgem_reload_basic to pass check target and it doesn't depend of i915 being present. v2: Do not source drm_lib.sh, only fake getopt parsing option to again access to --list-subtests option (Chris) v3: Forget to place the script in Makefile.sources, otherwise distcheck will not copy it. Signed-off-by: Marius Vlad <marius.c.vlad@intel.com> [Chris: Replace exit 1 with exit $IGT_EXIT_FAILURE] CC: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/Makefile.sources')
-rw-r--r--tests/Makefile.sources1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Makefile.sources b/tests/Makefile.sources
index 8d8ede6c..61851e8d 100644
--- a/tests/Makefile.sources
+++ b/tests/Makefile.sources
@@ -284,6 +284,7 @@ scripts = \
ddx_intel_after_fbdev \
debugfs_wedged \
drm_lib.sh \
+ drm_getopt.sh \
$(NULL)
IMAGES = pass.png 1080p-left.png 1080p-right.png