aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/loongarch64/Makefile.target
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/loongarch64/Makefile.target')
-rw-r--r--tests/tcg/loongarch64/Makefile.target20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/tcg/loongarch64/Makefile.target b/tests/tcg/loongarch64/Makefile.target
new file mode 100644
index 0000000000..00030a1026
--- /dev/null
+++ b/tests/tcg/loongarch64/Makefile.target
@@ -0,0 +1,20 @@
+# -*- Mode: makefile -*-
+#
+# LoongArch64 specific tweaks
+
+# Loongarch64 doesn't support gdb, so skip the EXTRA_RUNS
+EXTRA_RUNS =
+
+LOONGARCH64_SRC=$(SRC_PATH)/tests/tcg/loongarch64
+VPATH += $(LOONGARCH64_SRC)
+
+LDFLAGS+=-lm
+
+LOONGARCH64_TESTS = test_bit
+LOONGARCH64_TESTS += test_div
+LOONGARCH64_TESTS += test_fclass
+LOONGARCH64_TESTS += test_fpcom
+LOONGARCH64_TESTS += test_pcadd
+LOONGARCH64_TESTS += test_fcsr
+
+TESTS += $(LOONGARCH64_TESTS)