From 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 Mon Sep 17 00:00:00 2001 From: wbx Date: Sun, 17 May 2009 14:41:34 +0200 Subject: Initial import --- package/ltp/patches/patch-Makefile | 20 ++++++++++++++++++++ package/ltp/patches/patch-runltp | 22 ++++++++++++++++++++++ .../patch-testcases_kernel_syscalls_Makefile | 13 +++++++++++++ .../ltp/patches/patch-testcases_misc_math_Makefile | 10 ++++++++++ .../patch-testcases_misc_math_float_Makefile | 18 ++++++++++++++++++ 5 files changed, 83 insertions(+) create mode 100644 package/ltp/patches/patch-Makefile create mode 100644 package/ltp/patches/patch-runltp create mode 100644 package/ltp/patches/patch-testcases_kernel_syscalls_Makefile create mode 100644 package/ltp/patches/patch-testcases_misc_math_Makefile create mode 100644 package/ltp/patches/patch-testcases_misc_math_float_Makefile (limited to 'package/ltp/patches') diff --git a/package/ltp/patches/patch-Makefile b/package/ltp/patches/patch-Makefile new file mode 100644 index 000000000..a7f4d050d --- /dev/null +++ b/package/ltp/patches/patch-Makefile @@ -0,0 +1,20 @@ +$Id$ +Installation as root is never done anyway, so remove this crap +--- ltp-full-20061121.orig/Makefile 2006-11-21 21:31:20.000000000 +0100 ++++ ltp-full-20061121/Makefile 2006-12-06 12:08:02.000000000 +0100 +@@ -44,15 +44,10 @@ all: libltp.a + @$(MAKE) -C pan $@ + @$(MAKE) -C testcases $@ + @$(MAKE) -C tools $@ +- @echo +- @echo "***********************************************" +- @echo "** You now need to do a make install as root **" +- @echo "***********************************************" + + install: all + @$(MAKE) -C testcases install + @$(MAKE) -C tools install +- @./IDcheck.sh + + libltp.a: + @$(MAKE) -C lib $@ diff --git a/package/ltp/patches/patch-runltp b/package/ltp/patches/patch-runltp new file mode 100644 index 000000000..342a454d4 --- /dev/null +++ b/package/ltp/patches/patch-runltp @@ -0,0 +1,22 @@ +$Id$ +ash does not understand the test '-a' (test for bare existence) +--- ltp-full-20061121.orig/runltp 2006-11-21 21:31:20.000000000 +0100 ++++ ltp-full-20061121/runltp 2006-12-06 13:22:14.000000000 +0100 +@@ -285,7 +285,7 @@ main() + ${LTPROOT}/runtest/sched ${LTPROOT}/runtest/math \ + ${LTPROOT}/runtest/nptl ${LTPROOT}/runtest/pty + do +- [ -a "$SCENFILES" ] || \ ++ [ -e "$SCENFILES" ] || \ + { + echo "FATAL: missing scenario file $SCENFILES" + exit 1 +@@ -319,7 +319,7 @@ main() + ${LTPROOT}/runtest/rpc \ + ${LTPROOT}/runtest/nfs + do +- [ -a "$SCENFILES" ] || \ ++ [ -e "$SCENFILES" ] || \ + { + echo "FATAL: missing scenario file $SCENFILES" + exit 1 diff --git a/package/ltp/patches/patch-testcases_kernel_syscalls_Makefile b/package/ltp/patches/patch-testcases_kernel_syscalls_Makefile new file mode 100644 index 000000000..a90351258 --- /dev/null +++ b/package/ltp/patches/patch-testcases_kernel_syscalls_Makefile @@ -0,0 +1,13 @@ +$Id$ +excluded pselect for now, as there is no support for it in kernel-2.4 +--- ltp-full-20061121.orig/testcases/kernel/syscalls/Makefile 2006-11-21 21:31:28.000000000 +0100 ++++ ltp-full-20061121/testcases/kernel/syscalls/Makefile 2006-12-06 11:24:39.000000000 +0100 +@@ -25,7 +25,7 @@ EXCLUDE_DIR=epoll + # + # Commented this out since there are directories here we don't want built by default + # +-SUBDIR = `ls */Makefile | sed "s/Makefile//g" | grep -v epoll` ++SUBDIR = `ls */Makefile | sed "s/Makefile//g" | grep -vE "^epoll|pselect"` + UCLINUX_SUBDIR = `ls */Makefile | sed "s/Makefile//g" | grep -vE "^fork|epoll|capget|capset|chmod|chown|llseek|nftw|clone|profil|getcontext"` + + all: diff --git a/package/ltp/patches/patch-testcases_misc_math_Makefile b/package/ltp/patches/patch-testcases_misc_math_Makefile new file mode 100644 index 000000000..ce705b2b3 --- /dev/null +++ b/package/ltp/patches/patch-testcases_misc_math_Makefile @@ -0,0 +1,10 @@ +$Id$ +excluding nextafter, does not build (strange macro is missing) +--- ltp-full-20061121.orig/testcases/misc/math/Makefile 2006-11-21 21:31:27.000000000 +0100 ++++ ltp-full-20061121/testcases/misc/math/Makefile 2006-12-06 11:54:56.000000000 +0100 +@@ -1,4 +1,4 @@ +-SUBDIRS = abs atof float fptests nextafter ++SUBDIRS = abs atof float fptests + + all: + @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i ; done diff --git a/package/ltp/patches/patch-testcases_misc_math_float_Makefile b/package/ltp/patches/patch-testcases_misc_math_float_Makefile new file mode 100644 index 000000000..4b9c41422 --- /dev/null +++ b/package/ltp/patches/patch-testcases_misc_math_float_Makefile @@ -0,0 +1,18 @@ +$Id$ +Excluded bessel tests as they do not compile. +FIXME: needs some asm rework perhaps. +--- ltp-full-20061121.orig/testcases/misc/math/float/Makefile 2006-11-21 21:31:27.000000000 +0100 ++++ ltp-full-20061121/testcases/misc/math/float/Makefile 2006-12-06 11:31:45.000000000 +0100 +@@ -1,10 +1,10 @@ + CFLAGS+= -I../../../../include -Wall -g + LOADLIBES+= -lpthread -lm -L../../../../lib -lltp + +-SRCS=$(wildcard float*.c) ++SRCS=$(patsubst float_bessel.c,,$(wildcard float*.c)) + TARGETS=$(patsubst %.c,%,$(SRCS)) + +-SUBDIRS=bessel exp_log iperb power trigo ++SUBDIRS=exp_log iperb power trigo + + all: $(TARGETS) + @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i ; done -- cgit v1.2.3