From: Cyril H. <su...@li...> - 2011-04-29 12:52:59
|
The branch, master, has been updated via 71723df940e140f493cc2be55df7bef36b3d43d3 (commit) via ccf1c8e1c188c42578ff105ad7498abbd53d0d10 (commit) from 384b3f54ca5158c993a3e9c8644493c2149db7e1 (commit) - Log ----------------------------------------------------------------- commit 71723df940e140f493cc2be55df7bef36b3d43d3 Author: Cyril Hrubis <ch...@su...> Date: Fri Apr 29 14:43:38 2011 +0200 Open Posix Testsuite: added missing LDLIBS Some of the speculative directories enabled in previous commit were missing LDLIBS (-lrt and/or -lpthread) Signed-off-by: Cyril Hrubis <ch...@su...> commit ccf1c8e1c188c42578ff105ad7498abbd53d0d10 Author: Cyril Hrubis <ch...@su...> Date: Fri Apr 29 14:05:44 2011 +0200 Open Posix Testsuite: enable build for speculative testcases. There are testcases in $DIR/$SYSCALL/speculative/ directories that aren't build (also Makefiles was generated). This quick hack enables the build for targets all, clean and install. Signed-off-by: Cyril Hrubis <ch...@su...> ----------------------------------------------------------------------- Summary of changes: .../clock_settime/speculative}/LDLIBS | 0 .../mq_getattr/speculative}/LDLIBS | 0 .../mq_open/speculative}/LDLIBS | 0 .../mq_timedreceive/speculative}/LDLIBS | 0 .../mq_timedsend/speculative}/LDLIBS | 0 .../mq_unlink/speculative}/LDLIBS | 0 .../speculative}/LDLIBS | 0 .../pthread_cond_destroy/speculative}/LDLIBS | 0 .../pthread_getcpuclockid/speculative}/LDLIBS | 0 .../pthread_join/speculative}/LDLIBS | 0 .../pthread_key_create/speculative}/LDLIBS | 0 .../pthread_mutex_destroy/speculative}/LDLIBS | 0 .../pthread_mutexattr_gettype/speculative}/LDLIBS | 0 .../pthread_rwlock_trywrlock/speculative}/LDLIBS | 0 .../timer_create/speculative}/LDLIBS | 0 .../timer_delete/speculative}/LDLIBS | 0 .../timer_getoverrun/speculative}/LDLIBS | 0 .../timer_gettime/speculative}/LDLIBS | 0 .../timer_settime/speculative}/LDLIBS | 0 .../scripts/generate-makefiles.sh | 3 +++ 20 files changed, 3 insertions(+), 0 deletions(-) copy testcases/open_posix_testsuite/conformance/{behavior/timers => interfaces/clock_settime/speculative}/LDLIBS (100%) copy testcases/open_posix_testsuite/conformance/{behavior/timers => interfaces/mq_getattr/speculative}/LDLIBS (100%) copy testcases/open_posix_testsuite/conformance/{behavior/timers => interfaces/mq_open/speculative}/LDLIBS (100%) copy testcases/open_posix_testsuite/conformance/{behavior/timers => interfaces/mq_timedreceive/speculative}/LDLIBS (100%) copy testcases/open_posix_testsuite/conformance/{behavior/timers => interfaces/mq_timedsend/speculative}/LDLIBS (100%) copy testcases/open_posix_testsuite/conformance/{behavior/timers => interfaces/mq_unlink/speculative}/LDLIBS (100%) copy testcases/open_posix_testsuite/conformance/{definitions/signal_h => interfaces/pthread_attr_setschedpolicy/speculative}/LDLIBS (100%) copy testcases/open_posix_testsuite/conformance/{definitions/signal_h => interfaces/pthread_cond_destroy/speculative}/LDLIBS (100%) copy testcases/open_posix_testsuite/conformance/{definitions/signal_h => interfaces/pthread_getcpuclockid/speculative}/LDLIBS (100%) copy testcases/open_posix_testsuite/conformance/{definitions/signal_h => interfaces/pthread_join/speculative}/LDLIBS (100%) copy testcases/open_posix_testsuite/conformance/{definitions/signal_h => interfaces/pthread_key_create/speculative}/LDLIBS (100%) copy testcases/open_posix_testsuite/conformance/{definitions/signal_h => interfaces/pthread_mutex_destroy/speculative}/LDLIBS (100%) copy testcases/open_posix_testsuite/conformance/{definitions/signal_h => interfaces/pthread_mutexattr_gettype/speculative}/LDLIBS (100%) copy testcases/open_posix_testsuite/conformance/{definitions/signal_h => interfaces/pthread_rwlock_trywrlock/speculative}/LDLIBS (100%) copy testcases/open_posix_testsuite/conformance/{behavior/timers => interfaces/timer_create/speculative}/LDLIBS (100%) copy testcases/open_posix_testsuite/conformance/{behavior/timers => interfaces/timer_delete/speculative}/LDLIBS (100%) copy testcases/open_posix_testsuite/conformance/{behavior/timers => interfaces/timer_getoverrun/speculative}/LDLIBS (100%) copy testcases/open_posix_testsuite/conformance/{behavior/timers => interfaces/timer_gettime/speculative}/LDLIBS (100%) copy testcases/open_posix_testsuite/conformance/{behavior/timers => interfaces/timer_settime/speculative}/LDLIBS (100%) diff --git a/testcases/open_posix_testsuite/conformance/behavior/timers/LDLIBS b/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/speculative/LDLIBS similarity index 100% copy from testcases/open_posix_testsuite/conformance/behavior/timers/LDLIBS copy to testcases/open_posix_testsuite/conformance/interfaces/clock_settime/speculative/LDLIBS diff --git a/testcases/open_posix_testsuite/conformance/behavior/timers/LDLIBS b/testcases/open_posix_testsuite/conformance/interfaces/mq_getattr/speculative/LDLIBS similarity index 100% copy from testcases/open_posix_testsuite/conformance/behavior/timers/LDLIBS copy to testcases/open_posix_testsuite/conformance/interfaces/mq_getattr/speculative/LDLIBS diff --git a/testcases/open_posix_testsuite/conformance/behavior/timers/LDLIBS b/testcases/open_posix_testsuite/conformance/interfaces/mq_open/speculative/LDLIBS similarity index 100% copy from testcases/open_posix_testsuite/conformance/behavior/timers/LDLIBS copy to testcases/open_posix_testsuite/conformance/interfaces/mq_open/speculative/LDLIBS diff --git a/testcases/open_posix_testsuite/conformance/behavior/timers/LDLIBS b/testcases/open_posix_testsuite/conformance/interfaces/mq_timedreceive/speculative/LDLIBS similarity index 100% copy from testcases/open_posix_testsuite/conformance/behavior/timers/LDLIBS copy to testcases/open_posix_testsuite/conformance/interfaces/mq_timedreceive/speculative/LDLIBS diff --git a/testcases/open_posix_testsuite/conformance/behavior/timers/LDLIBS b/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/speculative/LDLIBS similarity index 100% copy from testcases/open_posix_testsuite/conformance/behavior/timers/LDLIBS copy to testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/speculative/LDLIBS diff --git a/testcases/open_posix_testsuite/conformance/behavior/timers/LDLIBS b/testcases/open_posix_testsuite/conformance/interfaces/mq_unlink/speculative/LDLIBS similarity index 100% copy from testcases/open_posix_testsuite/conformance/behavior/timers/LDLIBS copy to testcases/open_posix_testsuite/conformance/interfaces/mq_unlink/speculative/LDLIBS diff --git a/testcases/open_posix_testsuite/conformance/definitions/signal_h/LDLIBS b/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedpolicy/speculative/LDLIBS similarity index 100% copy from testcases/open_posix_testsuite/conformance/definitions/signal_h/LDLIBS copy to testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedpolicy/speculative/LDLIBS diff --git a/testcases/open_posix_testsuite/conformance/definitions/signal_h/LDLIBS b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/speculative/LDLIBS similarity index 100% copy from testcases/open_posix_testsuite/conformance/definitions/signal_h/LDLIBS copy to testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/speculative/LDLIBS diff --git a/testcases/open_posix_testsuite/conformance/definitions/signal_h/LDLIBS b/testcases/open_posix_testsuite/conformance/interfaces/pthread_getcpuclockid/speculative/LDLIBS similarity index 100% copy from testcases/open_posix_testsuite/conformance/definitions/signal_h/LDLIBS copy to testcases/open_posix_testsuite/conformance/interfaces/pthread_getcpuclockid/speculative/LDLIBS diff --git a/testcases/open_posix_testsuite/conformance/definitions/signal_h/LDLIBS b/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/speculative/LDLIBS similarity index 100% copy from testcases/open_posix_testsuite/conformance/definitions/signal_h/LDLIBS copy to testcases/open_posix_testsuite/conformance/interfaces/pthread_join/speculative/LDLIBS diff --git a/testcases/open_posix_testsuite/conformance/definitions/signal_h/LDLIBS b/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_create/speculative/LDLIBS similarity index 100% copy from testcases/open_posix_testsuite/conformance/definitions/signal_h/LDLIBS copy to testcases/open_posix_testsuite/conformance/interfaces/pthread_key_create/speculative/LDLIBS diff --git a/testcases/open_posix_testsuite/conformance/definitions/signal_h/LDLIBS b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_destroy/speculative/LDLIBS similarity index 100% copy from testcases/open_posix_testsuite/conformance/definitions/signal_h/LDLIBS copy to testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_destroy/speculative/LDLIBS diff --git a/testcases/open_posix_testsuite/conformance/definitions/signal_h/LDLIBS b/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/speculative/LDLIBS similarity index 100% copy from testcases/open_posix_testsuite/conformance/definitions/signal_h/LDLIBS copy to testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/speculative/LDLIBS diff --git a/testcases/open_posix_testsuite/conformance/definitions/signal_h/LDLIBS b/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_trywrlock/speculative/LDLIBS similarity index 100% copy from testcases/open_posix_testsuite/conformance/definitions/signal_h/LDLIBS copy to testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_trywrlock/speculative/LDLIBS diff --git a/testcases/open_posix_testsuite/conformance/behavior/timers/LDLIBS b/testcases/open_posix_testsuite/conformance/interfaces/timer_create/speculative/LDLIBS similarity index 100% copy from testcases/open_posix_testsuite/conformance/behavior/timers/LDLIBS copy to testcases/open_posix_testsuite/conformance/interfaces/timer_create/speculative/LDLIBS diff --git a/testcases/open_posix_testsuite/conformance/behavior/timers/LDLIBS b/testcases/open_posix_testsuite/conformance/interfaces/timer_delete/speculative/LDLIBS similarity index 100% copy from testcases/open_posix_testsuite/conformance/behavior/timers/LDLIBS copy to testcases/open_posix_testsuite/conformance/interfaces/timer_delete/speculative/LDLIBS diff --git a/testcases/open_posix_testsuite/conformance/behavior/timers/LDLIBS b/testcases/open_posix_testsuite/conformance/interfaces/timer_getoverrun/speculative/LDLIBS similarity index 100% copy from testcases/open_posix_testsuite/conformance/behavior/timers/LDLIBS copy to testcases/open_posix_testsuite/conformance/interfaces/timer_getoverrun/speculative/LDLIBS diff --git a/testcases/open_posix_testsuite/conformance/behavior/timers/LDLIBS b/testcases/open_posix_testsuite/conformance/interfaces/timer_gettime/speculative/LDLIBS similarity index 100% copy from testcases/open_posix_testsuite/conformance/behavior/timers/LDLIBS copy to testcases/open_posix_testsuite/conformance/interfaces/timer_gettime/speculative/LDLIBS diff --git a/testcases/open_posix_testsuite/conformance/behavior/timers/LDLIBS b/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/speculative/LDLIBS similarity index 100% copy from testcases/open_posix_testsuite/conformance/behavior/timers/LDLIBS copy to testcases/open_posix_testsuite/conformance/interfaces/timer_settime/speculative/LDLIBS diff --git a/testcases/open_posix_testsuite/scripts/generate-makefiles.sh b/testcases/open_posix_testsuite/scripts/generate-makefiles.sh index 8bf70c1..cf6b76b 100755 --- a/testcases/open_posix_testsuite/scripts/generate-makefiles.sh +++ b/testcases/open_posix_testsuite/scripts/generate-makefiles.sh @@ -130,9 +130,11 @@ EOF cat > "$makefile.3" <<EOF all: \$(MAKE_TARGETS) + @if [ -d speculative ]; then \$(MAKE) -C speculative all; fi clean: rm -f \$(MAKE_TARGETS) logfile* run.sh *.core + @if [ -d speculative ]; then \$(MAKE) -C speculative clean; fi install: \$(INSTALL_DIR) run.sh set -e; for file in \$(INSTALL_TARGETS) run.sh; do \\ @@ -141,6 +143,7 @@ install: \$(INSTALL_DIR) run.sh \$(INSTALL_DIR)/\$\$file; \\ fi; \\ done + @if [ -d speculative ]; then \$(MAKE) -C speculative install; fi test: run.sh @./run.sh hooks/post-receive -- ltp |