Skip to content

Commit b78518b

Browse files
authored
Update README.md
1 parent f194d3b commit b78518b

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,21 +103,25 @@ pytest Tests/SystemTests --relativeExePath="../svOneDSolver_build/bin/OneDSolver
103103
If the binary is in a different location, specify the correct location.
104104

105105
<details>
106+
<summary>Running system tests in parallel</summary>
107+
<br>
106108

107-
<summary>Running system tests in parallel</summary>
108-
This offers some details for how to set up a python environment and install the relevant packages on linux, and then run the tests in parallel. Note that depending on the OS this setup process will vary, but the basic steps will remain the same.
109+
This offers some details for how to set up a python environment and install the relevant packages on linux, and then run the tests in parallel. Note that depending on the OS this setup process will vary, but the basic steps will remain the same.
109110

110-
Navigate to the source folder, and run the following:
111-
```sudo apt install python3-venv
111+
Navigate to the source folder, and run the following:
112+
113+
```
114+
sudo apt install python3-venv
112115
python3 -m venv venv
113116
source venv/bin/activate
114117
pip install numpy pytest-xdist
115118
```
116119

117-
With `xdist` available, run the tests in parallel (`-n <number of cores>`).
118-
```pytest Tests/SystemTests --relativeExePath="../svOneDSolver_build/bin/OneDSolver" -n 6
120+
With `xdist` available, run the tests in parallel (`-n <number of cores>`).
121+
122+
```
123+
pytest Tests/SystemTests --relativeExePath="../svOneDSolver_build/bin/OneDSolver" -n auto
119124
```
120-
121125
</details>
122126

123127

0 commit comments

Comments
 (0)