File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -444,6 +444,7 @@ jobs:
444
444
brew upgrade --force
445
445
brew install eigen
446
446
brew install boost
447
+ brew install gnu-sed
447
448
pip install distro pytest
448
449
449
450
@@ -580,14 +581,14 @@ jobs:
580
581
echo ::group::Crashing Test Logs
581
582
# See if we don't have a crash that went away
582
583
# Comment out all xfails but the ones that have a run=False condition.
583
- find . -name "*.py" -exec sed -i '/run=False/!s/^ *@mark.xfail\(.*\)/#&/' {} \;
584
+ find . -name "*.py" -exec gsed -i '/run=False/!s/^ *@mark.xfail\(.*\)/#&/' {} \;
584
585
python -m pytest -n 1 -m "xfail" --runxfail -sv -ra --max-worker-restart 512 | tee test_crashed.log 2>&1 || true
585
586
git checkout .
586
587
echo ::endgroup::
587
588
echo ::group::XFAIL Test Logs
588
589
# Rewrite all xfails that have a run clause to skipif. This way we will
589
590
# avoid conditionally crashing xfails
590
- find . -name "*.py" -exec sed -i -E 's/(^ *)@mark.xfail\(run=(.*)/\[email protected] (condition=not \2/g' {} \;
591
+ find . -name "*.py" -exec gsed -i -E 's/(^ *)@mark.xfail\(run=(.*)/\[email protected] (condition=not \2/g' {} \;
591
592
# See if we don't have an xfail that went away
592
593
python -m pytest --runxfail -sv -ra | tee test_xfailed.log 2>&1 || true
593
594
git checkout .
You can’t perform that action at this time.
0 commit comments