summaryrefslogtreecommitdiff
path: root/test/rpc
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2009-03-16 13:36:39 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2009-03-16 13:36:39 +0000
commite72856950a9baa76ed41fb8d684cb13375daf48e (patch)
tree7ab013c14a29d8ad4d02b5c6aebe587f4806510e /test/rpc
parent72e880a46d65bcce7374c59826531240d6a316ba (diff)
Fixed makefiles inclusion flow to pass actual configuration variable values.
Test build system modified to be similar to uClibc one: * test custom logic moved from Makefile to a new Makefile.in (to be included by Makefile). * Makefile same for all tests and just used for including all other needed makefiles. Signed-off-by: Salvatore Cro <salvatore.cro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'test/rpc')
-rw-r--r--test/rpc/Makefile11
-rw-r--r--test/rpc/Makefile.in11
2 files changed, 14 insertions, 8 deletions
diff --git a/test/rpc/Makefile b/test/rpc/Makefile
index 8ea934800..47accc62e 100644
--- a/test/rpc/Makefile
+++ b/test/rpc/Makefile
@@ -1,12 +1,7 @@
# uClibc rpc tests
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
-TESTS := getrpcent
-
-ifeq ($(UCLIBC_HAS_REENTRANT_RPC),y)
-TESTS += getrpcent_r
-endif
-
+top_builddir=../../
+include ../Rules.mak
+-include Makefile.in
include ../Test.mak
-
-DODIFF_getrpcent := 1
diff --git a/test/rpc/Makefile.in b/test/rpc/Makefile.in
new file mode 100644
index 000000000..5612ff202
--- /dev/null
+++ b/test/rpc/Makefile.in
@@ -0,0 +1,11 @@
+# uClibc rpc tests
+# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+
+TESTS := getrpcent
+
+ifeq ($(UCLIBC_HAS_REENTRANT_RPC),y)
+TESTS += getrpcent_r
+endif
+
+DODIFF_getrpcent := 1
+