18c2ecf20Sopenharmony_ci#!/bin/sh 28c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 38c2ecf20Sopenharmony_ci# Runs hardware independent tests for i915 (drivers/gpu/drm/i915) 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ciif ! /sbin/modprobe -q -r i915; then 68c2ecf20Sopenharmony_ci echo "drivers/gpu/i915: [SKIP]" 78c2ecf20Sopenharmony_ci exit 77 88c2ecf20Sopenharmony_cifi 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ciif /sbin/modprobe -q i915 mock_selftests=-1; then 118c2ecf20Sopenharmony_ci /sbin/modprobe -q -r i915 128c2ecf20Sopenharmony_ci echo "drivers/gpu/i915: ok" 138c2ecf20Sopenharmony_cielse 148c2ecf20Sopenharmony_ci echo "drivers/gpu/i915: [FAIL]" 158c2ecf20Sopenharmony_ci exit 1 168c2ecf20Sopenharmony_cifi 17