mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 15:10:38 +00:00
1c5839c6ee
These tests are based on the libsync test suite from Android. This commit includes tests for basic merge operations. Signed-off-by: Emilio López <emilio.lopez@collabora.co.uk> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
21 lines
336 B
Makefile
21 lines
336 B
Makefile
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
|
|
TESTS += sync_fence.o
|
|
TESTS += sync_merge.o
|
|
|
|
sync_test: $(OBJS) $(TESTS)
|
|
|
|
clean:
|
|
$(RM) sync_test $(OBJS) $(TESTS)
|