aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/alpha/Makefile.target
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/alpha/Makefile.target')
-rw-r--r--tests/tcg/alpha/Makefile.target12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/tcg/alpha/Makefile.target b/tests/tcg/alpha/Makefile.target
index bedf1b6444..a585080328 100644
--- a/tests/tcg/alpha/Makefile.target
+++ b/tests/tcg/alpha/Makefile.target
@@ -2,5 +2,17 @@
#
# Alpha specific tweaks
+ALPHA_SRC=$(SRC_PATH)/tests/tcg/alpha
+VPATH+=$(ALPHA_SRC)
+
+ALPHA_TESTS=hello-alpha test-cond test-cmov test-ovf
+TESTS+=$(ALPHA_TESTS)
+
+test-cmov: EXTRA_CFLAGS=-DTEST_CMOV
+test-cmov: test-cond.c
+ $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $< -o $@ $(LDFLAGS)
+
+run-test-cmov: test-cmov
+
# On Alpha Linux only supports 8k pages
EXTRA_RUNS+=run-test-mmap-8192