Changeset 641
- Timestamp:
- 08/28/10 15:54:24 (1 year ago)
- Files:
-
- trunk/test/Makefile (modified) (2 diffs)
- trunk/test/do_test.sh (modified) (2 diffs)
- trunk/test/runnable/extra-files/statictor-postscript.sh (added)
- trunk/test/runnable/extra-files/statictor.d.out (added)
- trunk/test/runnable/imports/test41a.d (added)
- trunk/test/runnable/statictor.d (added)
- trunk/test/runnable/test41.d (added)
- trunk/test/runnable/testhtml.html (added)
- trunk/test/runnable/testhtml2.html (added)
- trunk/test/runnable/testhtml3.html (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/test/Makefile
r623 r641 43 43 export ARGS=-inline -release -gc -O -unittest -fPIC 44 44 45 runnable_tests=$(wildcard runnable/*.d) 45 runnable_tests=$(wildcard runnable/*.d) $(wildcard runnable/*.html) 46 46 runnable_test_results=$(addsuffix .out,$(addprefix $(RESULTS_DIR)/,$(runnable_tests))) 47 47 … … 53 53 54 54 $(RESULTS_DIR)/runnable/%.d.out: runnable/%.d $(RESULTS_DIR)/.created $(RESULTS_DIR)/combinations $(DMD) 55 $(QUIET) ./do_test.sh $(<D) $* 55 $(QUIET) ./do_test.sh $(<D) $* d 56 57 $(RESULTS_DIR)/runnable/%.html.out: runnable/%.html $(RESULTS_DIR)/.created $(RESULTS_DIR)/combinations $(DMD) 58 $(QUIET) ./do_test.sh $(<D) $* html 56 59 57 60 $(RESULTS_DIR)/compilable/%.d.out: compilable/%.d $(RESULTS_DIR)/.created $(RESULTS_DIR)/combinations $(DMD) 58 $(QUIET) ./do_test.sh $(<D) $* 61 $(QUIET) ./do_test.sh $(<D) $* d 59 62 60 63 $(RESULTS_DIR)/fail_compilation/%.d.out: fail_compilation/%.d $(RESULTS_DIR)/.created $(RESULTS_DIR)/combinations $(DMD) 61 $(QUIET) ./do_test.sh $(<D) $* 64 $(QUIET) ./do_test.sh $(<D) $* d 62 65 63 66 all: run_tests trunk/test/do_test.sh
r623 r641 7 7 input_dir=$1 # ex: runnable 8 8 test_name=$2 # ex: pi 9 test_extension=$3 # ex: d html or sh 9 10 10 11 # env vars … … 16 17 shopt -s extglob 17 18 18 input_file=${input_dir}/${test_name}. d19 input_file=${input_dir}/${test_name}.${test_extension} 19 20 output_dir=${RESULTS_DIR}/${input_dir} 20 output_file=${output_dir}/${test_name}. d.out21 output_file=${output_dir}/${test_name}.${test_extension}.out 21 22 test_app=${output_dir}/${test_name} 22 23
