Skip to content

Commit

Permalink
[makefile] Add new target to run all tests in venv
Browse files Browse the repository at this point in the history
Create a new target in the main Makefile called `test_in_env`
which can be used to run all tests and which will automatically
setup and source a Python virtualenv.
  • Loading branch information
csordasmarton committed Sep 30, 2019
1 parent 8c978c3 commit 3f4ba3a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ pycodestyle_in_env:

test: test_analyzer test_web

test_in_env: test_analyzer_in_env test_web_in_env

test_analyzer:
BUILD_DIR=$(BUILD_DIR) $(MAKE) -C $(CC_ANALYZER) test

Expand Down

0 comments on commit 3f4ba3a

Please sign in to comment.