@@ -75,14 +75,10 @@ jobs:
7575 architecture : aarch64
7676 runner : ubuntu-latest
7777 compiler : gcc
78- # These fail because of emulation, not because of the JIT:
79- exclude : test_pathlib test_posixpath test_unix_events test_init test_process_pool test_shutdown test_multiprocessing_fork test_cmd_line test_faulthandler test_os test_perf_profiler test_posix test_signal test_socket test_subprocess test_threading test_venv test_external_inspection
8078 - target : aarch64-unknown-linux-gnu/clang
8179 architecture : aarch64
8280 runner : ubuntu-latest
8381 compiler : clang
84- # These fail because of emulation, not because of the JIT:
85- exclude : test_pathlib test_posixpath test_unix_events test_init test_process_pool test_shutdown test_multiprocessing_fork test_cmd_line test_faulthandler test_os test_perf_profiler test_posix test_signal test_socket test_subprocess test_threading test_venv test_external_inspection
8682 env :
8783 CC : ${{ matrix.compiler }}
8884 steps :
9793 choco upgrade llvm -y
9894 choco install llvm --allow-downgrade --no-progress --version ${{ matrix.llvm }}
9995 ./PCbuild/build.bat --experimental-jit ${{ matrix.debug && '-d' || '--pgo' }} -p ${{ matrix.architecture }}
100- ./PCbuild/rt.bat ${{ matrix.debug && '-d' }} -p ${{ matrix.architecture }} -q --exclude ${{ matrix.exclude }} --multiprocess 0 --timeout 4500 --verbose2 --verbose3
96+ ./PCbuild/rt.bat ${{ matrix.debug && '-d' || '' }} -p ${{ matrix.architecture }} -q --multiprocess 0 --timeout 4500 --verbose2 --verbose3
10197
10298 # No PGO or tests (yet):
10399 - name : Emulated Windows
@@ -115,7 +111,7 @@ jobs:
115111 SDKROOT="$(xcrun --show-sdk-path)" \
116112 ./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '--enable-optimizations --with-lto' }}
117113 make all --jobs 4
118- ./python.exe -m test --exclude ${{ matrix.exclude }} -- multiprocess 0 --timeout 4500 --verbose2 --verbose3
114+ ./python.exe -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
119115
120116 # --with-lto has been removed temporarily as a result of an open issue in LLVM 18 (see https://github.com/llvm/llvm-project/issues/87553)
121117 - name : Native Linux
@@ -125,11 +121,12 @@ jobs:
125121 export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH"
126122 ./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '--enable-optimizations' }}
127123 make all --jobs 4
128- ./python -m test --exclude ${{ matrix.exclude }} -- multiprocess 0 --timeout 4500 --verbose2 --verbose3
124+ ./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
129125
130126 # --with-lto has been removed temporarily as a result of an open issue in LLVM 18 (see https://github.com/llvm/llvm-project/issues/87553)
131127 - name : Emulated Linux
132128 if : runner.os == 'Linux' && matrix.architecture != 'x86_64'
129+ # The --ignorefile on ./python -m test is used to exclude tests known to fail when running on an emulated Linux.
133130 run : |
134131 sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ matrix.llvm }}
135132 export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH"
@@ -146,4 +143,4 @@ jobs:
146143 HOSTRUNNER=qemu-${{ matrix.architecture }} \
147144 ./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '--enable-optimizations ' }} --build=x86_64-linux-gnu --host="$HOST" --with-build-python=../build/bin/python3 --with-pkg-config=no ac_cv_buggy_getaddrinfo=no ac_cv_file__dev_ptc=no ac_cv_file__dev_ptmx=yes
148145 make all --jobs 4
149- ./python -m test --exclude ${{ matrix.exclude }} --multiprocess 0 --timeout 4500 --verbose2 --verbose3
146+ ./python -m test --ignorefile=Tools/jit/ignore-tests-emulated-linux.txt --multiprocess 0 --timeout 4500 --verbose2 --verbose3
0 commit comments