[llvm-commits] CVS: llvm/test/DSGraphs/Makefile Makefile.DSGraphs
Vikram Adve
vadve at cs.uiuc.edu
Sun Nov 3 11:56:01 PST 2002
Changes in directory llvm/test/DSGraphs:
Makefile updated: 1.1 -> 1.2
Makefile.DSGraphs updated: 1.2 -> 1.3
---
Log message:
Fail gracefully if bytecode file $(PROGSOURCE) does not exist.
---
Diffs of the changes:
Index: llvm/test/DSGraphs/Makefile
diff -u llvm/test/DSGraphs/Makefile:1.1 llvm/test/DSGraphs/Makefile:1.2
--- llvm/test/DSGraphs/Makefile:1.1 Sun Nov 3 06:37:14 2002
+++ llvm/test/DSGraphs/Makefile Sun Nov 3 09:31:45 2002
@@ -1,6 +1,6 @@
LEVEL = ../..
-DIRS = \
+PARALLEL_DIRS = \
ackermann \
ary3 \
fib2 \
Index: llvm/test/DSGraphs/Makefile.DSGraphs
diff -u llvm/test/DSGraphs/Makefile.DSGraphs:1.2 llvm/test/DSGraphs/Makefile.DSGraphs:1.3
--- llvm/test/DSGraphs/Makefile.DSGraphs:1.2 Sun Nov 3 09:01:20 2002
+++ llvm/test/DSGraphs/Makefile.DSGraphs Sun Nov 3 09:31:45 2002
@@ -1,4 +1,4 @@
-## $Id: Makefile.DSGraphs,v 1.2 2002/11/03 15:01:20 vadve Exp $
+## $Id: Makefile.DSGraphs,v 1.3 2002/11/03 15:31:45 vadve Exp $
##----------------------------------------------------------------------------
## Common makefile rules for testing DSGraph analysis.
##
@@ -16,7 +16,11 @@
llvmgcc -c $<
$(PROG): $(PROGPATH)
- /bin/cp -p $(PROGPATH) $(PROG)
+ test -f $(PROGPATH) && /bin/cp -p $(PROGPATH) $(PROG)
+
+ $(PROGPATH):
+ @echo "Bytecode file does not exist: Ignoring test $(PROG)."
+ @exit 1 ## force make to discontinue
.PRECIOUS: %.lib.bc
More information about the llvm-commits
mailing list