tests: run parallel tests in separate processes

library compilation and execution failing the second time if not
This commit is contained in:
youben11
2022-04-08 12:14:20 +01:00
committed by Ayoub Benaissa
parent 7e535f33db
commit e6cb1f2073
2 changed files with 3 additions and 1 deletions

View File

@@ -266,7 +266,7 @@ jobs:
echo "Debug: ccache statistics (prior to the build):"
ccache -s
cd /compiler
pip install pytest
pip install pytest pytest-forked
rm -rf /build
export PYTHONPATH=""
make PARALLEL_EXECUTION_ENABLED=ON CCACHE=ON BUILD_DIR=/build test test-dataflow

View File

@@ -193,6 +193,8 @@ def test_lib_compile_reload_and_run(mlir_input, args, expected_result, keyset_ca
pytest.param(LibrarySupport, id="Library"),
],
)
# TODO: #505
@pytest.mark.forked
def test_compile_and_run_auto_parallelize(
mlir_input, args, expected_result, keyset_cache, EngineClass
):