i915.sh 288 B

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