aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Linker/Makefile2
-rw-r--r--test/Linker/testlink2.ll3
2 files changed, 4 insertions, 1 deletions
diff --git a/test/Linker/Makefile b/test/Linker/Makefile
index 3853e85983..c18a877bee 100644
--- a/test/Linker/Makefile
+++ b/test/Linker/Makefile
@@ -5,5 +5,5 @@ TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
-Output/%.ll.out: %.ll Output/.dir $(LOPT)
+Output/%.ll.out: %.ll Output/.dir $(LLINK)
-$(TESTRUNR) $<
diff --git a/test/Linker/testlink2.ll b/test/Linker/testlink2.ll
index 5aacf1a95b..4e5d7d560b 100644
--- a/test/Linker/testlink2.ll
+++ b/test/Linker/testlink2.ll
@@ -1,3 +1,6 @@
+; This file is used by testlink1.ll, so it doesn't actually do anything itself
+;
+; RUN: echo
%MyVar = global int 4
%MyIntList = uninitialized global { \2 *, int }