Skip to content

Commit

Permalink
Add pthread mutex regression tests.
Browse files Browse the repository at this point in the history
Change-Id: I7a0ed8928dfc61ebe8f027327a3f34e90cad04fb
  • Loading branch information
digit-android committed Mar 23, 2010
1 parent bea2ba0 commit 8e88ea5
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 8e88ea5

Please sign in to comment.