- export CCACHE_COMPILERCHECK=content
- ccache --zero-stats || true
- ccache --show-stats || true
- - python3 -m pip install --user pytest-xdist
+ - python3 -m pip install --user pytest-xdist==3.3.1 pytest==7.3.1
script:
- git clone --depth 1 -b yosys-0.17 https://github.com/YosysHQ/yosys.git yosys
- pushd yosys
- python3 setup.py develop
- popd
+ - git clone --depth 1 https://git.libre-soc.org/git/pytest-output-to-files.git pytest-output-to-files
+ - pushd pytest-output-to-files
+ - git rev-parse HEAD
+ - python3 setup.py develop
+ - popd
+
- python3 setup.py develop
- make generate &> generate.log || { cat generate.log; false; }
- - SILENCELOG='!*,default' pytest -n auto -v src/openpower --maxfail=10
+ - SILENCELOG='!*,default' pytest -v --maxfail=10
--- /dev/null
+[tool.pytest.ini_options]
+minversion = "6.0"
+python_classes = ""
+python_functions = ""
+testpaths = ["src/openpower"]
+required_plugins = ["pytest-xdist>=1.0.0", "pytest-output-to-files>=0.1.0"]
+addopts = [
+ "-n",
+ "auto",
+ "--shorten-output-dir=test-out",
+]