Skip to content

Commit

Permalink
Merge pull request swcarpentry#70 from r-gaia-cs/add-unittest-to-make
Browse files Browse the repository at this point in the history
Add Unit Test target to Makefile
  • Loading branch information
Greg Wilson committed Dec 19, 2014
2 parents 383f4b7 + 9ca87a7 commit d6db4f0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ motivation.html : motivation.md _layouts/slides.html
$(INCLUDES) \
-o $@ $<

## unittest : Run unit test (for Python 2 and 3)
unittest: tools/check tools/validation_helpers.py tools/test_check.py
cd tools/ && python2 test_check.py
cd tools/ && python3 test_check.py

## commands : Display available commands.
commands : Makefile
@sed -n 's/^##//p' $<
Expand Down

0 comments on commit d6db4f0

Please sign in to comment.