I need a small change to Netpipe so it won't step on our build environment.
This shouldn't have any affect on existing build environments, so the impact
should be minimal. We also did a similar patch for NetPerf2.
kdl
--
K.D. Lucas
[email protected]
Index: client/tests/netpipe/netpipe.py
===================================================================
--- client/tests/netpipe/netpipe.py (revision 4288)
+++ client/tests/netpipe/netpipe.py (working copy)
@@ -12,6 +12,7 @@
tarball = utils.unmap_url(self.bindir, tarball, self.tmpdir)
utils.extract_tarball_to_dir(tarball, self.srcdir)
os.chdir(self.srcdir)
+ utils.system('patch -p1 < ../makefile.patch')
utils.system('make')
Index: client/tests/netpipe/makefile.patch
===================================================================
--- client/tests/netpipe/makefile.patch (revision 0)
+++ client/tests/netpipe/makefile.patch (revision 0)
@@ -0,0 +1,26 @@
+*** src/makefile Thu May 10 09:29:09 2007
+--- srcnew/makefile Fri Mar 5 16:26:31 2010
+***************
+*** 20,26 ****
+ #
+ ########################################################################
+
+! CC = cc
+ CFLAGS = -O -g
+ SRC = ./src
+
+--- 20,26 ----
+ #
+ ########################################################################
+
+! CC ?= gcc
+ CFLAGS = -O -g
+ SRC = ./src
+
+***************
+*** 253,256 ****
+ $(CC) $(CFLAGS) -DATOLL $(SRC)/netpipe.c \
+ $(SRC)/atoll.c -o NPatoll \
+ -I$(PALMS_PATH)/include -L$(PALMS_PATH)/lib -latoll
+-
+--- 253,255 ----
Property changes on: client/tests/netpipe/makefile.patch
___________________________________________________________________
Added: svn:executable
+ *
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest