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.target18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/tcg/alpha/Makefile.target b/tests/tcg/alpha/Makefile.target
new file mode 100644
index 0000000000..a585080328
--- /dev/null
+++ b/tests/tcg/alpha/Makefile.target
@@ -0,0 +1,18 @@
+# -*- Mode: makefile -*-
+#
+# 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