Skip to content

Commit

Permalink
Merge "Add pthread mutex regression tests."
Browse files Browse the repository at this point in the history
  • Loading branch information
digit-android authored and Android (Google) Code Review committed Mar 25, 2010
2 parents 3ab6b6d + 8e88ea5 commit 5d2e48d
Show file tree
Hide file tree
Showing 2 changed files with 391 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/bionic/libc/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ sources := \
common/test_pthread_cleanup_push.c \
common/test_pthread_getcpuclockid.c \
common/test_pthread_join.c \
common/test_pthread_mutex.c \
common/test_pthread_once.c \
common/test_semaphore.c \
common/test_seteuid.c \
Expand All @@ -73,7 +74,10 @@ sources := \
common/test_tm_zone.c \
common/test_udp.c \

# _XOPEN_SOURCE=600 is needed to get pthread_mutexattr_settype() on GLibc
#
EXTRA_LDLIBS := -lpthread -lrt
EXTRA_CFLAGS := -D_XOPEN_SOURCE=600 -DHOST
$(call host-test, $(sources))
$(call device-test, $(sources))

Expand Down
Loading

0 comments on commit 5d2e48d

Please sign in to comment.