1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Create debug option for the unit test makefile.

This commit is contained in:
Kalervo Kujala 2012-01-09 20:51:30 +02:00
parent 37d2d82f59
commit aeaaea35a8

View file

@ -88,7 +88,9 @@ PROG:=java \
--tests all \
--testOutput ./test_reports/
test:
# In case this Makefile needs to be debugged then this rule will provide all
# the information from intermediate steps.
debug:
@echo 'Debug browsers paths: $(BROWSERS_PATHS)'
@echo
@echo 'Debug browsers paths with mac correction: $(BROWSERS_PATHS_WITH_MAC_CORRECTION)'
@ -101,13 +103,13 @@ test:
@echo
@echo 'Debug profiles: $(PROFILES)'
@echo
@echo 'About to run command: mkdir -p $(PROFILES)'
@echo 'Command to be run: $(PROG)'
@echo
# This rule runs the unit tests with the constructed command.
test:
@mkdir -p $(PROFILES)
@echo
@echo 'About to run command: $(PROG)'
$(PROG)
@echo
@echo 'About to run command: @rm -rf $(PROFILES)'
@rm -rf $(PROFILES)
.phony:: test