[llvm-commits] CVS: llvm/test/Programs/TEST.dsgraph.Makefile

Chris Lattner lattner at cs.uiuc.edu
Fri Aug 22 19:36:57 PDT 2003


Changes in directory llvm/test/Programs:

TEST.dsgraph.Makefile updated: 1.10 -> 1.11

---
Log message:

Print the full program path for programs


---
Diffs of the changes:

Index: llvm/test/Programs/TEST.dsgraph.Makefile
diff -u llvm/test/Programs/TEST.dsgraph.Makefile:1.10 llvm/test/Programs/TEST.dsgraph.Makefile:1.11
--- llvm/test/Programs/TEST.dsgraph.Makefile:1.10	Tue Feb 18 14:40:20 2003
+++ llvm/test/Programs/TEST.dsgraph.Makefile	Fri Aug 22 15:54:41 2003
@@ -5,6 +5,10 @@
 #
 ##===----------------------------------------------------------------------===##
 
+CURDIR  := $(shell cd .; pwd)
+PROGDIR := $(shell cd $(LEVEL)/test/Programs; pwd)/
+RELDIR  := $(subst $(PROGDIR),,$(CURDIR))
+
 # We require the programs to be linked with libdummy
 include $(LEVEL)/test/Programs/Makefile.dummylib
 
@@ -25,7 +29,7 @@
 $(PROGRAMS_TO_TEST:%=test.$(TEST).%): \
 test.$(TEST).%: Output/%.$(TEST).report.txt
 	@echo "---------------------------------------------------------------"
-	@echo ">>> ========= '$*' Program"
+	@echo ">>> ========= '$(RELDIR)/$*' Program"
 	@echo "---------------------------------------------------------------"
 	@cat $<
 





More information about the llvm-commits mailing list