mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 15:34:48 +08:00
499a1d11f2
This test is based on the libsync test suite from Android. This commit includes a test to stress merge operations. Signed-off-by: Emilio López <emilio.lopez@collabora.co.uk> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
25 lines
453 B
Makefile
25 lines
453 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
|
|
TESTS += sync_wait.o
|
|
TESTS += sync_stress_parallelism.o
|
|
TESTS += sync_stress_consumer.o
|
|
TESTS += sync_stress_merge.o
|
|
|
|
sync_test: $(OBJS) $(TESTS)
|
|
|
|
clean:
|
|
$(RM) sync_test $(OBJS) $(TESTS)
|