mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Add jobs to run KUnit tests using tools/testing/kunit/kunit.py tool. Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com> Acked-by: Helen Koike <helen.fornazier@gmail.com> Reviewed-by: Maxime Ripard <mripard@kernel.org> Link: https://lore.kernel.org/r/20250623085033.39680-3-vignesh.raman@collabora.com Signed-off-by: Maxime Ripard <mripard@kernel.org>
16 lines
370 B
Bash
Executable file
16 lines
370 B
Bash
Executable file
#!/bin/bash
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
set -euxo pipefail
|
|
|
|
: "${KERNEL_ARCH:?ERROR: KERNEL_ARCH must be set}"
|
|
: "${LLVM_VERSION:?ERROR: LLVM_VERSION must be set}"
|
|
|
|
./drivers/gpu/drm/ci/setup-llvm-links.sh
|
|
|
|
export PATH="/usr/bin:$PATH"
|
|
|
|
./tools/testing/kunit/kunit.py run \
|
|
--arch "${KERNEL_ARCH}" \
|
|
--make_options LLVM=1 \
|
|
--kunitconfig=drivers/gpu/drm/tests
|