diff options
author | Emilio López <emilio.lopez@collabora.co.uk> | 2016-10-19 09:49:48 -0300 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2016-12-01 18:12:50 -0700 |
commit | 82208160ae35ca00b5494c5c90c1a8721b15bdb1 (patch) | |
tree | f68d64530389429e4aa09225b35eb0ec8fa1c3f1 /tools/testing/selftests/sync/Makefile | |
parent | 1001354ca34179f3db924eb66672442a173147dc (diff) |
selftest: sync: basic tests for sw_sync framework
These tests are based on the libsync test suite from Android.
This commit lays the ground for future tests, as well as includes
tests for a variety of basic allocation commands.
Signed-off-by: Emilio López <emilio.lopez@collabora.co.uk>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/sync/Makefile')
-rw-r--r-- | tools/testing/selftests/sync/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/testing/selftests/sync/Makefile b/tools/testing/selftests/sync/Makefile new file mode 100644 index 000000000000..620a59ae2dab --- /dev/null +++ b/tools/testing/selftests/sync/Makefile @@ -0,0 +1,18 @@ +CFLAGS += -O2 -g -std=gnu89 -pthread -Wall -Wextra +CFLAGS += -I../../../../usr/include/ +LDFLAGS += -pthread + +TEST_PROGS = sync_test + +all: $(TEST_PROGS) + +include ../lib.mk + +OBJS = sync_test.o sync.o + +TESTS += sync_alloc.o + +sync_test: $(OBJS) $(TESTS) + +clean: + $(RM) sync_test $(OBJS) $(TESTS) |