Use TESTS= instead of tests= to run subset of tests
This commit is contained in:
parent
ca341278e9
commit
5fb65175f5
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
BLACK_FORMAT_CONFIGS = --target-version py37 --line-length 100 --exclude=/docs
|
BLACK_FORMAT_CONFIGS = --target-version py37 --line-length 100 --exclude=/docs
|
||||||
TEST_GAME_DIR = .test_game_dir
|
TEST_GAME_DIR = .test_game_dir
|
||||||
tests?=evennia
|
TESTS ?= evennia
|
||||||
|
|
||||||
default:
|
default:
|
||||||
@echo " Usage: "
|
@echo " Usage: "
|
||||||
|
|
@ -29,10 +29,10 @@ test:
|
||||||
evennia --init $(TEST_GAME_DIR);\
|
evennia --init $(TEST_GAME_DIR);\
|
||||||
cd $(TEST_GAME_DIR);\
|
cd $(TEST_GAME_DIR);\
|
||||||
evennia migrate;\
|
evennia migrate;\
|
||||||
evennia test --keepdb $(tests);\
|
evennia test --keepdb $(TESTS);\
|
||||||
|
|
||||||
testp:
|
testp:
|
||||||
evennia --init $(TEST_GAME_DIR);\
|
evennia --init $(TEST_GAME_DIR);\
|
||||||
cd $(TEST_GAME_DIR);\
|
cd $(TEST_GAME_DIR);\
|
||||||
evennia migrate;\
|
evennia migrate;\
|
||||||
evennia test --keepdb --parallel 4 $(tests);\
|
evennia test --keepdb --parallel 4 $(TESTS);\
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue