Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/drivers/gpu/drm/ci/kunit.sh
26494 views
1
#!/bin/bash
2
# SPDX-License-Identifier: MIT
3
4
set -euxo pipefail
5
6
: "${KERNEL_ARCH:?ERROR: KERNEL_ARCH must be set}"
7
: "${LLVM_VERSION:?ERROR: LLVM_VERSION must be set}"
8
9
./drivers/gpu/drm/ci/setup-llvm-links.sh
10
11
export PATH="/usr/bin:$PATH"
12
13
./tools/testing/kunit/kunit.py run \
14
--arch "${KERNEL_ARCH}" \
15
--make_options LLVM=1 \
16
--kunitconfig=drivers/gpu/drm/tests
17
18