1 #!/bin/sh 1 #!/bin/sh 2 # SPDX-License-Identifier: GPL-2.0 2 # SPDX-License-Identifier: GPL-2.0 3 # Runs hardware independent tests for i915 (dr 3 # Runs hardware independent tests for i915 (drivers/gpu/drm/i915) 4 4 5 if ! /sbin/modprobe -q -r i915; then 5 if ! /sbin/modprobe -q -r i915; then 6 echo "drivers/gpu/i915: [SKIP]" 6 echo "drivers/gpu/i915: [SKIP]" 7 exit 77 7 exit 77 8 fi 8 fi 9 9 10 if /sbin/modprobe -q i915 mock_selftests=-1; t 10 if /sbin/modprobe -q i915 mock_selftests=-1; then 11 /sbin/modprobe -q -r i915 11 /sbin/modprobe -q -r i915 12 echo "drivers/gpu/i915: ok" 12 echo "drivers/gpu/i915: ok" 13 else 13 else 14 echo "drivers/gpu/i915: [FAIL]" 14 echo "drivers/gpu/i915: [FAIL]" 15 exit 1 15 exit 1 16 fi 16 fi
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.