Skip to content

Commit 37a6bd0

Browse files
committed
Adding more targets
One for OOMMF, one that doesn't work (test2)
1 parent 74b4382 commit 37a6bd0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ clean:
2121
test:
2222
cd tests && py.test -v -m "not slow and not run_oommf"
2323

24+
test2:
25+
# like test, but run also outside the 'tests' directory.
26+
# Doesn't work on Hans laptop.
27+
py.test -v -m "not slow and not run_oommf"
28+
2429
test-all: create-dirs
2530
py.test -v --junitxml=$(PROJECT_DIR)/test-reports/junit/test-pytest.xml
2631

@@ -41,6 +46,9 @@ test-quick:
4146
test-ipynb: create-dirs
4247
cd doc/ipynb && py.test . -v --ipynb --sanitize-with sanitize_file --junitxml=$(PROJECT_DIR)/test-reports/junit/test-ipynb-pytest.xml
4348

49+
test-oommf:
50+
py.test -v -m "oommf"
51+
4452
create-dirs:
4553
mkdir -p test-reports/junit
4654

0 commit comments

Comments
 (0)