mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-08-21 16:31:14 +02:00

Move bash helpers for outputting in KTAP format to the common selftests folder. This allows kselftests other than the dt one to source the file and make use of the helper functions. Define pass, fail and skip codes in the same file too. Signed-off-by: Laura Nao <laura.nao@collabora.com> Reviewed-by: Nícolas F. R. A. Prado <nfraprado@collabora.com> Tested-by: Nícolas F. R. A. Prado <nfraprado@collabora.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
392 B
392 B
PY3 = $(shell which python3 2>/dev/null)
ifneq ($(PY3),)
TEST_PROGS := test_unprobed_devices.sh TEST_GEN_FILES := compatible_list TEST_FILES := compatible_ignore_list
include ../lib.mk
$(OUTPUT)/compatible_list: $(top_srcdir)/scripts/dtc/dt-extract-compatibles -d $(top_srcdir) > $@
else
all: no_py3_warning
no_py3_warning: @echo "Missing python3. This test will be skipped."
endif