summaryrefslogtreecommitdiffstats
path: root/compiler-rt/make/test
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-01-18 06:49:33 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-01-18 06:49:33 +0000
commitefd84e770b66944ccf54f26e13db32636fb44453 (patch)
tree776d14a2409d0bb0b623bb826055faa2ff503624 /compiler-rt/make/test
parent16c5071c6d5d4977a9f1a16c7c1cc05b9301b2ee (diff)
downloadbcm5719-llvm-efd84e770b66944ccf54f26e13db32636fb44453.tar.gz
bcm5719-llvm-efd84e770b66944ccf54f26e13db32636fb44453.zip
Add support for "platform" configurations, which define a suite of compiler-rt
libraries to generate. - Each library may be built with different flags and for different architectures, and there is support for building Darwin style fat archives. - Uses an ambituous amount of make programming, but should be hidden to users and developers. llvm-svn: 93720
Diffstat (limited to 'compiler-rt/make/test')
-rw-r--r--compiler-rt/make/test/test-util.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler-rt/make/test/test-util.mk b/compiler-rt/make/test/test-util.mk
index 13e702a9464..c80c28d0342 100644
--- a/compiler-rt/make/test/test-util.mk
+++ b/compiler-rt/make/test/test-util.mk
@@ -53,6 +53,13 @@ varordefault_t1_var.opt := 2
varordefault_t1 = $(call VarOrDefault,varordefault_t1_var.opt,$(varordefault_t1_var))
$(call AssertEqual,varordefault_t1,2)
+$(call CopyVariable,copyvariable_t0_src,copyvariable_t0_dst)
+copyvariable_t0 = $(call IsUndefined,copyvariable_t0_dst)
+$(call AssertEqual,copyvariable_t0,true)
+copyvariable_t1_src = 1
+$(call CopyVariable,copyvariable_t1_src,copyvariable_t1)
+$(call AssertEqual,copyvariable_t1,1)
+
all:
@true
.PHONY: all
OpenPOWER on IntegriCloud