lib: Move ltp_priv.h to include/old/ltp_priv.h
PATCH 1/4 lib: Move ltp_priv.h to include/old/ltp_priv.h
Fixes out-of-tree build since ltp_priv.h is included from include/old/test.h and the lib/ directory is not in the compiler search path nor it's a file in the same directory in case of out-of-tree build.
Signed-off-by Cyril Hrubis <[email protected]>
---
{lib => include/old}/ltp_priv.h | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename {lib => include/old}/ltp_priv.h (100%)include/old/ltp_priv.h renamed from lib/ltp_priv.h +0 -0
Signature · 1 line
2.10.2
PATCH 2/4 rpc-tirpc: Fix out-of-tree build
* Make use of $(abs_srcdir) when including Makefile.inc
* Fix typo in Makefile.inc
Signed-off-by Cyril Hrubis <[email protected]>
--- testcases/network/rpc/rpc-tirpc/tests_pack/Makefile | 2 +- testcases/network/rpc/rpc-tirpc/tests_pack/Makefile.inc | 2 +- testcases/network/rpc/rpc-tirpc/tests_pack/rpc_svc_1/Makefile | 2 +- testcases/network/rpc/rpc-tirpc/tests_pack/rpc_svc_2/Makefile | 2 +- testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_1/Makefile | 2 +- testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_11/Makefile | 2 +- testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_2/Makefile | 2 +- testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_3/Makefile | 2 +- testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_4/Makefile | 2 +- testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_5/Makefile | 2 +- testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_6/Makefile | 2 +- testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_7/Makefile | 2 +- testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_8/Makefile | 2 +- testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_9/Makefile | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-)
testcases/network/rpc/rpc-tirpc/tests_pack/Makefile +1 -1
@@ -35,5 +35,5 @@ trunk-clean:: | lib-clean lib-clean:: $(LIBDIR) $(MAKE) -C $^ -f "$(abs_srcdir)/$^/Makefile" clean -include ./Makefile.inc +include $(abs_srcdir)/Makefile.inc include $(top_srcdir)/include/mk/generic_trunk_target.mk
testcases/network/rpc/rpc-tirpc/tests_pack/Makefile.inc +1 -1
@@ -21,7 +21,7 @@ LIBDIR := $(abs_top_builddir)/$(LIBRELDIR) LIBSRCDIR := $(abs_top_srcdir)/$(LIBRELDIR) LIBRPC-TIRPC := $(LIBDIR)/librpc-tirpc.a -$(LIBDDIR): +$(LIBDIR): mkdir -p "$@" $(LIBRPC-TIRPC): $(LIBDIR)
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_svc_1/Makefile +1 -1
@@ -19,5 +19,5 @@ top_srcdir ?= ../../../../../.. include $(top_srcdir)/include/mk/env_pre.mk -include ../Makefile.inc +include $(abs_srcdir)/../Makefile.inc include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_svc_2/Makefile +1 -1
@@ -19,5 +19,5 @@ top_srcdir ?= ../../../../../.. include $(top_srcdir)/include/mk/env_pre.mk -include ../Makefile.inc +include $(abs_srcdir)/../Makefile.inc include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_1/Makefile +1 -1
@@ -19,5 +19,5 @@ top_srcdir ?= ../../../../../.. include $(top_srcdir)/include/mk/env_pre.mk -include ../Makefile.inc +include $(abs_srcdir)/../Makefile.inc include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_11/Makefile +1 -1
@@ -19,5 +19,5 @@ top_srcdir ?= ../../../../../.. include $(top_srcdir)/include/mk/env_pre.mk -include ../Makefile.inc +include $(abs_srcdir)/../Makefile.inc include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_2/Makefile +1 -1
@@ -19,5 +19,5 @@ top_srcdir ?= ../../../../../.. include $(top_srcdir)/include/mk/env_pre.mk -include ../Makefile.inc +include $(abs_srcdir)/../Makefile.inc include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_3/Makefile +1 -1
@@ -19,5 +19,5 @@ top_srcdir ?= ../../../../../.. include $(top_srcdir)/include/mk/env_pre.mk -include ../Makefile.inc +include $(abs_srcdir)/../Makefile.inc include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_4/Makefile +1 -1
@@ -19,5 +19,5 @@ top_srcdir ?= ../../../../../.. include $(top_srcdir)/include/mk/env_pre.mk -include ../Makefile.inc +include $(abs_srcdir)/../Makefile.inc include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_5/Makefile +1 -1
@@ -19,5 +19,5 @@ top_srcdir ?= ../../../../../.. include $(top_srcdir)/include/mk/env_pre.mk -include ../Makefile.inc +include $(abs_srcdir)/../Makefile.inc include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_6/Makefile +1 -1
@@ -19,5 +19,5 @@ top_srcdir ?= ../../../../../.. include $(top_srcdir)/include/mk/env_pre.mk -include ../Makefile.inc +include $(abs_srcdir)/../Makefile.inc include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_7/Makefile +1 -1
@@ -19,5 +19,5 @@ top_srcdir ?= ../../../../../.. include $(top_srcdir)/include/mk/env_pre.mk -include ../Makefile.inc +include $(abs_srcdir)/../Makefile.inc include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_8/Makefile +1 -1
@@ -19,5 +19,5 @@ top_srcdir ?= ../../../../../.. include $(top_srcdir)/include/mk/env_pre.mk -include ../Makefile.inc +include $(abs_srcdir)/../Makefile.inc include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_9/Makefile +1 -1
@@ -19,5 +19,5 @@ top_srcdir ?= ../../../../../.. include $(top_srcdir)/include/mk/env_pre.mk -include ../Makefile.inc +include $(abs_srcdir)/../Makefile.inc include $(top_srcdir)/include/mk/generic_leaf_target.mk
Signature · 1 line
2.10.2
PATCH 3/4 commands: Fix out-of-tree datafiles installation
In reply to Cyril HrubisThe INSTALL_TARGETS are prefixed with $(abs_srcdir) in the test library hence we cannot do the wildcard expansion in the Makefile in case of out-of-tree build and we have to leave that to the build system instead.
Signed-off-by Cyril Hrubis <[email protected]>
--- testcases/commands/ar/datafiles/Makefile | 2 +- testcases/commands/file/datafiles/Makefile | 2 +- testcases/commands/ld/datafiles/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
testcases/commands/ar/datafiles/Makefile +1 -1
@@ -15,5 +15,5 @@ top_srcdir ?= ../../../.. include $(top_srcdir)/include/mk/env_pre.mk INSTALL_DIR := testcases/data/ar01 -INSTALL_TARGETS := $(wildcard file*) +INSTALL_TARGETS := file* include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/commands/file/datafiles/Makefile +1 -1
@@ -15,5 +15,5 @@ top_srcdir ?= ../../../.. include $(top_srcdir)/include/mk/env_pre.mk INSTALL_DIR := testcases/data/file01 -INSTALL_TARGETS := $(wildcard in*) +INSTALL_TARGETS := in* include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/commands/ld/datafiles/Makefile +1 -1
@@ -17,6 +17,6 @@ include $(top_srcdir)/include/mk/env_pre.mk INSTALL_DIR := testcases/data/ld01 MAKE_TARGETS := -INSTALL_TARGETS := $(wildcard *.c) +INSTALL_TARGETS := *.c include $(top_srcdir)/include/mk/generic_leaf_target.mk
Signature · 1 line
2.10.2
PATCH 4/4 lib/tst_safe_posix_ipc.c: Add licence.
In reply to Cyril HrubisSigned-off-by Cyril Hrubis <[email protected]>
Signed-off-by Petr Vorel <[email protected]>
--- lib/tst_safe_posix_ipc.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)
lib/tst_safe_posix_ipc.c +17 -0
@@ -1,3 +1,20 @@ +/* +* Copyright (c) 2017 Petr Vorel <[email protected]> +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 2 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ +#include <mqueue.h> #include <stdarg.h>
Signature · 1 line
2.10.2