Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r893:1140c01acd00 Date: 2014-02-27 17:02 +0100 http://bitbucket.org/pypy/stmgc/changeset/1140c01acd00/
Log: A Makefile to run all *.duh files, or to measure their run-time diff --git a/duhton/demo/Makefile b/duhton/demo/Makefile new file mode 100644 --- /dev/null +++ b/duhton/demo/Makefile @@ -0,0 +1,21 @@ + +TESTS = $(wildcard *.duh) + +DEBUG = $(addprefix debug-,$(TESTS)) +BUILD = $(addprefix build-,$(TESTS)) +TIMER = $(addprefix timer-,$(TESTS)) + +all: $(DEBUG) $(BUILD) + +timer: $(TIMER) + + +debug-%: + ../duhton_debug $* + +build-%: + ../duhton $* + +timer-%: + bash -c "time ../duhton $*" > /dev/null + @echo _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit