Makefile: Disable testing curds/ and rind/ directories

I want to be able to test the new gtk4 code, but I can't do that with
the legacy code still enabled since gtk3 and gtk4 can't both be loaded
at the same time. The solution is to create a new "tests" target for
testing the new stuff.

Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
This commit is contained in:
Anna Schumaker 2021-06-06 16:38:36 -04:00
parent 6f0d092414
commit 2083d00c23
1 changed files with 6 additions and 0 deletions

View File

@ -10,6 +10,12 @@ trier:
python trier/generate_tracks.py
EMMENTAL_TESTING=1 python -m unittest discover -v
.PHONY: tests
tests:
python trier/generate_tracks.py
find `pwd` -name 'test_*.py' -not -path '*/curds/*' -not -path '*/rind/*' -not -path '*test_emmental.py' \
| EMMENTAL_TESTING=1 xargs python -m unittest -v
.PHONY:cover
cover:
python trier/generate_tracks.py