forked from linux-test-project/ltp
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Linux Test eXecutor inside tools
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
Showing
3 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |