mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 14:23:49 +01:00
Add jobs to run KUnit tests using tools/testing/kunit/kunit.py tool. Signed-off-by: Vignesh Raman <[email protected]> Acked-by: Helen Koike <[email protected]> Reviewed-by: Maxime Ripard <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Maxime Ripard <[email protected]>
17 lines
370 B
Bash
Executable File
17 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
|