nbd: Tolerate some server non-compliance in NBD_CMD_BLOCK_STATUS
[qemu/ar7.git] / tests / tcg / multiarch / Makefile.target
blobb77084c146095009b132db29d53ba4b9974e8f8f
1 # -*- Mode: makefile -*-
3 # Multiarch Tests - included from tests/tcg/Makefile.target
5 # These tests are plain C and built without any architecture specific code.
8 MULTIARCH_SRC=$(SRC_PATH)/tests/tcg/multiarch
10 # Set search path for all sources
11 VPATH           += $(MULTIARCH_SRC)
12 MULTIARCH_SRCS   =$(notdir $(wildcard $(MULTIARCH_SRC)/*.c))
13 MULTIARCH_TESTS  =$(MULTIARCH_SRCS:.c=)
15 # Update TESTS
16 TESTS           +=$(MULTIARCH_TESTS)
19 # The following are any additional rules needed to build things
22 testthread: LDFLAGS+=-lpthread
24 # We define the runner for test-mmap after the individual
25 # architectures have defined their supported pages sizes. If no
26 # additional page sizes are defined we only run the default test.
28 # default case (host page size)
29 run-test-mmap: test-mmap
30         $(call run-test, test-mmap, $(QEMU) $<, \
31                 "$< (default) on $(TARGET_NAME)")
33 # additional page sizes (defined by each architecture adding to EXTRA_RUNS)
34 run-test-mmap-%: test-mmap
35         $(call run-test, test-mmap-$*, $(QEMU) -p $* $<,\
36                 "$< ($* byte pages) on $(TARGET_NAME)")