Skip to content

Commit

Permalink
Add Linux Test eXecutor inside tools
Browse files Browse the repository at this point in the history
The ltx program runs on the system under test (SUT). It's primary
purpose is to run test executables in parallel and serialise the
results.

Acked-by: Richard Palethorpe <[email protected]>
Reviewed-by: Petr Vorel <[email protected]>
Reviewed-by: Cyril Hrubis <[email protected]>
Signed-off-by: Andrea Cervesato <[email protected]>
[ pvorel: Add Subproject commit 7e397fe1a2d34a100c7dbfa452bd5d86ca1ddb77 ]
Signed-off-by: Petr Vorel <[email protected]>
  • Loading branch information
acerv authored and pevik committed Sep 18, 2023
1 parent 5cedf2a commit 62e3c4d
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
[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
31 changes: 31 additions & 0 deletions tools/ltx/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (c) 2023 Cyril Hrubis <[email protected]>
# Copyright (c) 2023 Andrea Cervesato <[email protected]>
#
# Install script for Linux Test eXecutor

top_srcdir ?= ../..

include $(top_srcdir)/include/mk/env_pre.mk

ifneq ($(wildcard $(abs_srcdir)/ltx-src/*),)

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)

endif

include $(top_srcdir)/include/mk/generic_leaf_target.mk
1 change: 1 addition & 0 deletions tools/ltx/ltx-src
Submodule ltx-src added at d6d150

0 comments on commit 62e3c4d

Please sign in to comment.