[prev in list] [next in list] [prev in thread] [next in thread]
List: ltp-list
Subject: [LTP] [patch 8/9] edit the top level Makefile
From: skumar () linux ! vnet ! ibm ! com
Date: 2008-08-29 11:17:36
Message-ID: 20080829111406.208271791 () malik-laptop ! in ! ibm ! com
[Download RAW message or body]
The coming patch stack fixes some of the testcases sent earlier on the list by \
Veerendra and adds new testcases for testing network namespace. The patches provides \
infrastructure for tcp testcass and add one testcase for ping command test.
Content-Disposition: inline; \
filename=edit-Makefile-in-netns-directory-for-tcp-dir.patch
This patch edits the Makefile in the top directory for all tcp command testcase
for the network namespace.
Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>
Index: containers/netns/Makefile
===================================================================
--- containers.orig/netns/Makefile
+++ containers/netns/Makefile
@@ -21,6 +21,7 @@
CFLAGS += -Wall -g
CPPFLAGS += -I../../../../include -I../libclone
LDLIBS += -L../../../../lib -L../libclone ../libclone/libnetns.a -lltp
+SUBDIRS=tcp
SCRIPTS = initialize.sh parentns.sh childns.sh \
parent.sh child.sh \
parent_view.sh parent_share.sh child_propogate.sh \
@@ -28,7 +29,7 @@ parent_1.sh parent_2.sh child_1.sh child
delchild.sh rename_net.sh \
paripv6.sh childipv6.sh \
par_ftp.sh ch_ftp.sh container_ftp.pl \
-runnetnstest.sh \
+runnetnstest.sh runalltcpcmdtests.sh
SRCS = $(wildcard *.c)
TARGETS = $(patsubst %.c,%,$(SRCS))
@@ -39,11 +40,14 @@ NOLTP_TARGETS = $(patsubst %.c,%_noltp,$
all: $(TARGETS)
@chmod +x $(SCRIPTS)
+ @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i ; done
install:
for i in $(TARGETS) $(SCRIPTS) runnetnstest.sh check_netns_enabled; do ln -f $$i \
../../../bin/$$i ; chmod +x runnetnstest.sh ; done + @set -e; for i in $(SUBDIRS); do \
$(MAKE) -C $$i install ; done
noltp: $(NOLTP_TARGETS)
clean:
rm -f $(TARGETS) *.o $(NOLTP_TARGETS)
+ @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i clean ; done
--
Regards
Sudhir Kumar
Linux Technology Center
IBM, India.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic