Skip to content

Commit

Permalink
ci: disable subprocess in rpython jit tests for pypy+linux
Browse files Browse the repository at this point in the history
currently the subprocess hangs waiting on stdin when we run a lot of
tests back-to-back (suggesting there is possibly a race condition) but
tests pass when disabling this
olliemath committed Jan 5, 2024
1 parent e8a32e5 commit 5f91cb7
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/rpython-unit-tets.yml
Original file line number Diff line number Diff line change
@@ -76,7 +76,11 @@ jobs:
sudo apt-get install -y libgc-dev
pypy2 -m pip install --user hypothesis==4.39.3
- name: Test Jit - X86
run: pypy2 pytest.py -vs rpython/jit/backend/x86
# FIXME: PYPY_DONT_RUN_SUBPROCESS is needed to prevent tests
# hanging forever while a subprocess waits on stdin
run: |
export PYPY_DONT_RUN_SUBPROCESS=1
pypy2 pytest.py -vs rpython/jit/backend/x86
test-jit-other:
runs-on: ${{ matrix.os }}
@@ -95,7 +99,11 @@ jobs:
sudo apt-get install -y libgc-dev
pypy2 -m pip install --user hypothesis==4.39.3
- name: Test Jit - Other
run: pypy2 pytest.py -vs rpython/jit --ignore=rpython/jit/backend/x86
# FIXME: PYPY_DONT_RUN_SUBPROCESS is needed to prevent tests
# hanging forever while a subprocess waits on stdin
run: |
export PYPY_DONT_RUN_SUBPROCESS=1
pypy2 pytest.py -vs rpython/jit --ignore=rpython/jit/backend/x86
test-memory:
runs-on: ${{ matrix.os }}

0 comments on commit 5f91cb7

Please sign in to comment.