[LTP] [PATCH v1] Add Linux Test eXecutor inside tools

Cyril Hrubis chrubis@suse.cz
Fri Sep 15 16:30:27 CEST 2023


Hi!
>  [submodule "tools/kirk"]
>  	path = tools/kirk
>  	url = https://github.com/linux-test-project/kirk.git
> +[submodule "tools/ltx/ltx-src"]
> +	path = tools/ltx/ltx-src
> +	url = https://github.com/linux-test-project/ltx.git

This is added on the top of the patch that adds kirk, can you send that
one first please?

> diff --git a/tools/ltx/.gitignore b/tools/ltx/.gitignore
> new file mode 100644
> index 000000000..0205b4ec7
> --- /dev/null
> +++ b/tools/ltx/.gitignore
> @@ -0,0 +1 @@
> +ltx
> diff --git a/tools/ltx/Makefile b/tools/ltx/Makefile
> new file mode 100644
> index 000000000..0fbf7cfd9
> --- /dev/null
> +++ b/tools/ltx/Makefile
> @@ -0,0 +1,26 @@
> +# SPDX-License-Identifier: GPL-2.0-or-later
> +# Copyright (c) 2023 Cyril Hrubis <chrubis@suse.cz>
> +#
> +# Install script for Linux Test eXecutor
> +
> +top_srcdir		?= ../..
> +
> +include $(top_srcdir)/include/mk/env_pre.mk
> +
> +BINARY=ltx
> +
> +MAKE_TARGETS := $(BINARY)
> +
> +CFLAGS+=-I$(abs_srcdir)/ltx-src/ -I$(abs_srcdir)/ltx-src/msgpack/
> +
> +$(BINARY): $(wildcard $(abs_srcdir)/ltx-src/*.c $(abs_srcdir)/ltx-src/msgpack/*.c)
> +ifdef VERBOSE
> +	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) -o $@
> +else
> +	@echo CC $@
> +	@$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) -o $@
> +endif
> +
> +INSTALL_DIR := $(prefix)
> +
> +include $(top_srcdir)/include/mk/generic_leaf_target.mk
> diff --git a/tools/ltx/ltx-src b/tools/ltx/ltx-src
> new file mode 160000
> index 000000000..d6d150947
> --- /dev/null
> +++ b/tools/ltx/ltx-src
> @@ -0,0 +1 @@
> +Subproject commit d6d1509479537f4fdfa9b5adcb67eb6312714999
> -- 
> 2.35.3
> 
> 
> -- 
> Mailing list info: https://lists.linux.it/listinfo/ltp

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list