I've rearranged Makefile for setgid test case. I've put _16 related macros to compat_16.mk file. The original Makefile includes it. So when I work on more _16 test cases, I just have to do the same. I'll do the same on _64. I choose utils as its directory name. Please put attached files compat_16.mk and newer_64.mk to ltp/testcases/kernel/syscalls/utils. Signed-off-by: Masatake YAMATO <yamato@redhat.com>.
I've done on the other test cases. In addition, I've cleaned up Makefiles related to _64 and _16 testcases as suggested by Garrett Cooper <yanegomi@gmail.com>. Signed-off-by: Masatake YAMATO <yamato@redhat.com>. Garret suggested: You can avoid situations like the above by doing something like this in your Makefiles: SRC := $(patsubst %.c,%,$(wildcard *.c)) MAKE_TARGETS := $(SRCS) $(addsuffix _16,$(SRCS)) all: $(MAKE_TARGETS) %_16: %.c %_16: CFLAGS += -DUSE_COMPAT16_SYSCALL=1 -DTST_USE_COMPAT16_SYSCALL=1
Added sendfile64 support and new testcase sendfile04.c in this regard, by Masatake YAMATO <yamato@redhat.com>
standardize makefiles (punt UCLINUX/COLDFIRE cruft, build everything with -Wall and user-optimizations, remove pointless targets in favor of implicit ones, etc...)
Applied patch from Mike Frysinger to ensure Makefile properly respect CFLAGS/LDFLAGS
Applied fixes by Paul J.Y. Lahaie to implement support for UCLinux
warnings cleanup
Applied Andreas Jaeger's patch for library linking: <<<<<<<<<<<<<<<<<<<<<< The ltp tests link files in the wrong order, this is rather important with static libraries - especially since glibc 2.3.2 contains a libpthread.so that is a linker script referencing a static library. The following is wrong: gcc -lm file.o -o file The order has to be: "file.o -lm" I'm appending a first round of patches to get this fixed. I noticed a number of failures with the threads tests and also problems when compiling in a static environment. I renamed LDFLAGS since those are flags (and therefore come before the objects), LDLIBS should be used instead. >>>>>>>>>>>>>>>>>>>>>>>
Applied Vasan Sundar's Makefile patches.
fix sf bug #525688 - parameter problems in sendfile testcases. Should help on 64bit archs.
Separate make and make install
Needed to rename sendfile01 test to sendfile03.
restructuring work done, and adding about 400 testcases
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.