Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add tests to exclude file
  • Loading branch information
savannahostrowski committed May 3, 2024
commit 856c1c31842aef9c38f8fefb92dbe5a76916cdfb
7 changes: 4 additions & 3 deletions .github/workflows/jit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
SDKROOT="$(xcrun --show-sdk-path)" \
./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '--enable-optimizations --with-lto' }}
make all --jobs 4
./python.exe -m test --ignorefile=${{github.workspace}}/.github/workflows/skip-tests.txt --multiprocess 0 --timeout 4500 --verbose2 --verbose3
./python.exe -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3

# --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)
- name: Native Linux
Expand All @@ -121,11 +121,12 @@ jobs:
export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH"
./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '--enable-optimizations' }}
make all --jobs 4
./python -m test --exclude ${{ matrix.exclude }} --multiprocess 0 --timeout 4500 --verbose2 --verbose3
./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3

# --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)
- name: Emulated Linux
if: runner.os == 'Linux' && matrix.architecture != 'x86_64'
# The --ignorefile on ./python -m test is used to exclude tests known to fail when running on an emulated Linux.
run: |
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ matrix.llvm }}
export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH"
Expand All @@ -142,4 +143,4 @@ jobs:
HOSTRUNNER=qemu-${{ matrix.architecture }} \
./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
make all --jobs 4
./python -m test --exclude --ignorefile=${{github.workspace}}/.github/workflows/skip-tests.txt --multiprocess 0 --timeout 4500 --verbose2 --verbose3
./python -m test --ignorefile=${{ github.workspace }}/Tools/jit/ignore-tests-emulated-linux.txt --multiprocess 0 --timeout 4500 --verbose2 --verbose3
Comment thread
savannahostrowski marked this conversation as resolved.
Outdated
18 changes: 0 additions & 18 deletions .github/workflows/skip-tests.txt

This file was deleted.

79 changes: 79 additions & 0 deletions Tools/jit/ignore-tests-emulated-linux.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
test_multiprocessing_fork
test.test_asyncio.test_unix_events.TestFork.test_fork_asyncio_run
test.test_asyncio.test_unix_events.TestFork.test_fork_asyncio_subprocess
test.test_asyncio.test_unix_events.TestFork.test_fork_signal_handling
test.test_cmd_line.CmdLineTest.test_no_std_streams
test.test_cmd_line.CmdLineTest.test_no_stdin
test.test_concurrent_futures.test_init.ProcessPoolForkFailingInitializerTest.test_initializer
test.test_concurrent_futures.test_process_pool.ProcessPoolForkProcessPoolExecutorTest.test_ressources_gced_in_workers
test.test_external_inspection.TestGetStackTrace.test_remote_stack_trace
test.test_external_inspection.TestGetStackTrace.test_self_trace
test.test_faulthandler.FaultHandlerTests.test_enable_fd
test.test_faulthandler.FaultHandlerTests.test_enable_file
test.test_init.ProcessPoolForkFailingInitializerTest.test_initializer
test.test_os.ForkTests.test_fork_warns_when_non_python_thread_exists
test.test_os.TimerfdTests.test_timerfd_initval
test.test_os.TimerfdTests.test_timerfd_interval
test.test_os.TimerfdTests.test_timerfd_TFD_TIMER_ABSTIME
test.test_pathlib.PathSubclassTest.test_is_mount_root
test.test_pathlib.PathTest.test_is_mount_root
test.test_pathlib.PosixPathTest.test_is_mount_root
test.test_pathlib.test_pathlib.PathSubclassTest.test_is_mount_root
test.test_pathlib.test_pathlib.PathTest.test_is_mount_root
test.test_pathlib.test_pathlib.PosixPathTest.test_is_mount_root
test.test_posix.TestPosixSpawn.test_close_file
test.test_posix.TestPosixSpawnP.test_close_file
test.test_posixpath.PosixPathTest.test_ismount
test.test_signal.StressTest.test_stress_modifying_handlers
test.test_socket.BasicCANTest.testFilter
test.test_socket.BasicCANTest.testLoopback
test.test_socket.LinuxKernelCryptoAPI.test_aead_aes_gcm
test.test_socket.LinuxKernelCryptoAPI.test_aes_cbc
test.test_socket.RecvmsgIntoRFC3542AncillaryUDP6Test.testSecondCmsgTrunc1
test.test_socket.RecvmsgIntoRFC3542AncillaryUDP6Test.testSecondCmsgTrunc2Int
test.test_socket.RecvmsgIntoRFC3542AncillaryUDP6Test.testSecondCmsgTruncInData
test.test_socket.RecvmsgIntoRFC3542AncillaryUDP6Test.testSecondCmsgTruncLen0Minus1
test.test_socket.RecvmsgIntoRFC3542AncillaryUDP6Test.testSingleCmsgTruncInData
test.test_socket.RecvmsgIntoRFC3542AncillaryUDP6Test.testSingleCmsgTruncLen0Minus1
test.test_socket.RecvmsgIntoRFC3542AncillaryUDPLITE6Test.testSecondCmsgTrunc1
test.test_socket.RecvmsgIntoRFC3542AncillaryUDPLITE6Test.testSecondCmsgTrunc2Int
test.test_socket.RecvmsgIntoRFC3542AncillaryUDPLITE6Test.testSecondCmsgTruncInData
test.test_socket.RecvmsgIntoRFC3542AncillaryUDPLITE6Test.testSecondCmsgTruncLen0Minus1
test.test_socket.RecvmsgIntoRFC3542AncillaryUDPLITE6Test.testSingleCmsgTruncInData
test.test_socket.RecvmsgIntoRFC3542AncillaryUDPLITE6Test.testSingleCmsgTruncLen0Minus1
test.test_socket.RecvmsgIntoSCMRightsStreamTest.testCmsgTruncLen0
test.test_socket.RecvmsgIntoSCMRightsStreamTest.testCmsgTruncLen0Minus1
test.test_socket.RecvmsgIntoSCMRightsStreamTest.testCmsgTruncLen0Plus1
test.test_socket.RecvmsgIntoSCMRightsStreamTest.testCmsgTruncLen1
test.test_socket.RecvmsgIntoSCMRightsStreamTest.testCmsgTruncLen2Minus1
test.test_socket.RecvmsgRFC3542AncillaryUDP6Test.testSecondCmsgTrunc1
test.test_socket.RecvmsgRFC3542AncillaryUDP6Test.testSecondCmsgTrunc2Int
test.test_socket.RecvmsgRFC3542AncillaryUDP6Test.testSecondCmsgTruncInData
test.test_socket.RecvmsgRFC3542AncillaryUDP6Test.testSecondCmsgTruncLen0Minus1
test.test_socket.RecvmsgRFC3542AncillaryUDP6Test.testSingleCmsgTruncInData
test.test_socket.RecvmsgRFC3542AncillaryUDP6Test.testSingleCmsgTruncLen0Minus1
test.test_socket.RecvmsgRFC3542AncillaryUDPLITE6Test.testSecondCmsgTrunc1
test.test_socket.RecvmsgRFC3542AncillaryUDPLITE6Test.testSecondCmsgTrunc2Int
test.test_socket.RecvmsgRFC3542AncillaryUDPLITE6Test.testSecondCmsgTruncInData
test.test_socket.RecvmsgRFC3542AncillaryUDPLITE6Test.testSecondCmsgTruncLen0Minus1
test.test_socket.RecvmsgRFC3542AncillaryUDPLITE6Test.testSingleCmsgTruncInData
test.test_socket.RecvmsgRFC3542AncillaryUDPLITE6Test.testSingleCmsgTruncLen0Minus1
test.test_socket.RecvmsgRFC3542AncillaryUDPLITE6Test.testSingleCmsgTruncLen0Minus1
test.test_socket.RecvmsgSCMRightsStreamTest.testCmsgTruncLen0
test.test_socket.RecvmsgSCMRightsStreamTest.testCmsgTruncLen0Minus1
test.test_socket.RecvmsgSCMRightsStreamTest.testCmsgTruncLen0Plus1
test.test_socket.RecvmsgSCMRightsStreamTest.testCmsgTruncLen1
test.test_socket.RecvmsgSCMRightsStreamTest.testCmsgTruncLen2Minus1
test.test_subprocess.POSIXProcessTestCase.test_exception_bad_args_0
test.test_subprocess.POSIXProcessTestCase.test_exception_bad_executable
test.test_subprocess.ProcessTestCase.test_cwd_with_relative_arg
test.test_subprocess.ProcessTestCase.test_cwd_with_relative_executable
test.test_subprocess.ProcessTestCase.test_empty_env
test.test_subprocess.ProcessTestCase.test_file_not_found_includes_filename
test.test_subprocess.ProcessTestCase.test_one_environment_variable
test.test_subprocess.ProcessTestCaseNoPoll.test_cwd_with_relative_arg
test.test_subprocess.ProcessTestCaseNoPoll.test_cwd_with_relative_executable
test.test_subprocess.ProcessTestCaseNoPoll.test_empty_env
test.test_subprocess.ProcessTestCaseNoPoll.test_file_not_found_includes_filename
test.test_subprocess.ProcessTestCaseNoPoll.test_one_environment_variable
test.test_venv.BasicTest.test_zippath_from_non_installed_posix