ltp-testsuite-enable-openposix-for-nptl.patch 1.7 KB

123456789101112131415161718192021222324252627282930313233
  1. diff -ur ltp-full-20060615/testcases/Makefile ltp-full-20060615-patched/testcases/Makefile
  2. --- ltp-full-20060615/testcases/Makefile 2006-01-31 08:48:38.000000000 -0600
  3. +++ ltp-full-20060615-patched/testcases/Makefile 2006-07-04 22:20:40.298850250 -0500
  4. @@ -1,4 +1,4 @@
  5. -SUBDIRS = `ls */Makefile | sed "s/Makefile//g" | grep -v open | grep -v pounder | grep -v DOTS`
  6. +SUBDIRS = `ls */Makefile | sed "s/Makefile//g" | grep -v open_hpi | grep -v pounder | grep -v DOTS`
  7. UCLINUX_SUBDIRS = kernel
  8. all:
  9. diff -ur ltp-full-20060615/testcases/open_posix_testsuite/LDFLAGS ltp-full-20060615-patched/testcases/open_posix_testsuite/LDFLAGS
  10. --- ltp-full-20060615/testcases/open_posix_testsuite/LDFLAGS 2005-06-03 11:29:49.000000000 -0500
  11. +++ ltp-full-20060615-patched/testcases/open_posix_testsuite/LDFLAGS 2006-07-04 22:21:34.322226500 -0500
  12. @@ -14,3 +14,5 @@
  13. # allow for the NPTL-specific compilation (used in some test cases)
  14. # Note: this sometimes require the package nptl-devel.*.rpm to be installed.
  15. #-I /usr/include/nptl -L /usr/lib/nptl -D_XOPEN_SOURCE=600 -lpthread -lrt -lm
  16. +
  17. +-D_XOPEN_SOURCE=600 -lpthread -lrt -lm -D_GNU_SOURCE
  18. diff -ur ltp-full-20060615/testcases/open_posix_testsuite/Makefile ltp-full-20060615-patched/testcases/open_posix_testsuite/Makefile
  19. --- ltp-full-20060615/testcases/open_posix_testsuite/Makefile 2006-05-21 18:38:52.000000000 -0500
  20. +++ ltp-full-20060615-patched/testcases/open_posix_testsuite/Makefile 2006-07-04 22:22:16.660872500 -0500
  21. @@ -45,7 +45,10 @@
  22. TIMEOUT = $(top_builddir)/t0 $(TIMEOUT_VAL)
  23. -all: build-tests run-tests
  24. +all: build-tests $(top_builddir)/t0
  25. +
  26. +install:
  27. + @echo " "
  28. build-tests: $(BUILD_TESTS:.c=.test)
  29. run-tests: $(RUN_TESTS:.test=.run-test)