Home | History | Annotate | Download | only in gpu
      1 #!/bin/sh
      2 # Runs hardware independent tests for i915 (drivers/gpu/drm/i915)
      3 
      4 if ! /sbin/modprobe -q -r i915; then
      5 	echo "drivers/gpu/i915: [SKIP]"
      6 	exit 77
      7 fi
      8 
      9 if /sbin/modprobe -q i915 mock_selftests=-1; then
     10 	echo "drivers/gpu/i915: ok"
     11 else
     12 	echo "drivers/gpu/i915: [FAIL]"
     13 	exit 1
     14 fi
     15