File: README

package info (click to toggle)
dolfin 2018.1.0.post1-16
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 28,764 kB
  • sloc: xml: 104,040; cpp: 98,856; python: 22,511; makefile: 204; sh: 182
file content (23 lines) | stat: -rw-r--r-- 446 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Standard run:

  cd <testdir>
  py.test

Show stdout:

  py.test -s

Run serial tests in parallel python processes (needs xdist):

  py.test -n 4

Run tests in parallel with MPI:

  mpirun -np 3 python -B -m pytest

Debugging random test deadlocks under MPI:

  cd <testdir>
  while true; do git clean -fdx . && mpirun -n 3 xterm -e gdb -ex r -ex q -args python -m pytest -sv; done

See 'man pytest' for how to use pdb, profiling, coverage, etc.