repo: https://github.com/T-head-Semi/linux commit: b1313fe517ca3703119dcc99ef3bbf75ab42bcfb Change-Id: I6cbb35294024ea3a66140e311f4bb705fd7fd626
17 lines
350 B
Bash
Executable File
17 lines
350 B
Bash
Executable File
#!/bin/sh
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
# Runs hardware independent tests for i915 (drivers/gpu/drm/i915)
|
|
|
|
if ! /sbin/modprobe -q -r i915; then
|
|
echo "drivers/gpu/i915: [SKIP]"
|
|
exit 77
|
|
fi
|
|
|
|
if /sbin/modprobe -q i915 mock_selftests=-1; then
|
|
/sbin/modprobe -q -r i915
|
|
echo "drivers/gpu/i915: ok"
|
|
else
|
|
echo "drivers/gpu/i915: [FAIL]"
|
|
exit 1
|
|
fi
|