File tree Expand file tree Collapse file tree 1 file changed +20
-7
lines changed
Expand file tree Collapse file tree 1 file changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -17,29 +17,42 @@ clean:
1717# Tests #
1818# ########
1919
20- create-dirs :
21- mkdir -p test-reports/junit
20+ # Quick tests, also not using OOMMF tests
21+ test :
22+ cd tests && py.test -v -m " not slow and not run_oommf"
2223
23- test : create-dirs
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+
29+ test-all : create-dirs
2430 py.test -v --junitxml=$(PROJECT_DIR ) /test-reports/junit/test-pytest.xml
2531
2632test-without-run-oommf : create-dirs
27- py.test -v --junitxml= $( PROJECT_DIR ) /test-reports/junit/test-pytest.xml - m " not run_oommf" --cov=fidimag --cov-report=html
33+ py.test -v -m " not run_oommf" --cov=fidimag --cov-report=html --junitxml= $( PROJECT_DIR ) /test-reports/junit/test-pytest.xml
2834
2935test-basic :
3036 cd tests && py.test -v
3137
3238# Convenience name for commonly used quick running of tests
3339tq :
34- make test-quick
35- # Quick tests, also not using OOMMF tests
40+ $( error This target 'tq' has been removed, please update the code calling this)
41+
3642test-quick :
37- cd tests && py. test -v -m " not slow and not run_oommf "
43+ $( error This target ' test-quick' has been removed, please update the code calling this)
3844
3945
4046test-ipynb : create-dirs
4147 cd doc/ipynb && py.test . -v --ipynb --sanitize-with sanitize_file --junitxml=$(PROJECT_DIR ) /test-reports/junit/test-ipynb-pytest.xml
4248
49+ test-oommf :
50+ py.test -v -m " oommf"
51+
52+ create-dirs :
53+ mkdir -p test-reports/junit
54+
55+
4356# ################
4457# Documentation #
4558# ################
You can’t perform that action at this time.
0 commit comments