[llvm-commits] CVS: llvm/test/Programs/TEST.vtl.Makefile
John Criswell
criswell at cs.uiuc.edu
Mon Mar 1 14:44:01 PST 2004
Changes in directory llvm/test/Programs:
TEST.vtl.Makefile updated: 1.2 -> 1.3
---
Log message:
Added support for STDIN_FILENAME and RUN_OPTIONS.
---
Diffs of the changes: (+10 -2)
Index: llvm/test/Programs/TEST.vtl.Makefile
diff -u llvm/test/Programs/TEST.vtl.Makefile:1.2 llvm/test/Programs/TEST.vtl.Makefile:1.3
--- llvm/test/Programs/TEST.vtl.Makefile:1.2 Mon Mar 1 11:45:32 2004
+++ llvm/test/Programs/TEST.vtl.Makefile Mon Mar 1 14:43:13 2004
@@ -39,7 +39,11 @@
test.$(TEST).pa.%: Output/%.poolalloc.cbe
@echo "========================================="
@echo "Running '$(TEST)' test on '$(TESTNAME)' program"
- $(VERB) $(VTL) activity $* -d 50 -c sampling -o $(EVENTS) -app $<
+ifeq ($(RUN_OPTIONS),)
+ $(VERB) cat $(STDIN_FILENAME) | $(VTL) activity $* -d 50 -c sampling -o $(EVENTS) -app $<
+else
+ $(VERB) cat $(STDIN_FILENAME) | $(VTL) activity $* -d 50 -c sampling -o $(EVENTS) -app $<,"$(RUN_OPTIONS)"
+endif
-$(VERB) $(VTL) run $*
-$(VERB) $(VTL) view > $@
$(VERB) $(VTL) delete $* -f
@@ -51,7 +55,11 @@
test.$(TEST).%: Output/%.cbe
@echo "========================================="
@echo "Running '$(TEST)' test on '$(TESTNAME)' program"
- $(VERB) $(VTL) activity $* -d 50 -c sampling -o $(EVENTS) -app $<
+ifeq ($(RUN_OPTIONS),)
+ $(VERB) cat $(STDIN_FILENAME) | $(VTL) activity $* -d 50 -c sampling -o $(EVENTS) -app $<
+else
+ $(VERB) cat $(STDIN_FILENAME) | $(VTL) activity $* -d 50 -c sampling -o $(EVENTS) -app $<,"$(RUN_OPTIONS)"
+endif
-$(VERB) $(VTL) run $*
-$(VERB) $(VTL) view > $@
$(VERB) $(VTL) delete $* -f
More information about the llvm-commits
mailing list