From 2083d00c2375a9ca0b105965b9c042562b405dfd Mon Sep 17 00:00:00 2001 From: Anna Schumaker Date: Sun, 6 Jun 2021 16:38:36 -0400 Subject: [PATCH] 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 --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 0c08532..481d6bd 100644 --- a/Makefile +++ b/Makefile @@ -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