Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-46913: Skip test_ctypes.test_shorts() on UBSan#31674

Merged
vstinner merged 1 commit into
python:mainpython/cpython:mainfrom
vstinner:ctypes_ubsanCopy head branch name to clipboard
Mar 3, 2022
Merged

bpo-46913: Skip test_ctypes.test_shorts() on UBSan#31674
vstinner merged 1 commit into
python:mainpython/cpython:mainfrom
vstinner:ctypes_ubsanCopy head branch name to clipboard

Conversation

@vstinner

@vstinner vstinner commented Mar 3, 2022

Copy link
Copy Markdown
Member

If Python is built with UBSan, test_ctypes now skips test_shorts().
This change allows to run test_ctypes to check for UBSan regression,
but the test_shorts() undefined behavior must be fixed.

https://bugs.python.org/issue46913

If Python is built with UBSan, test_ctypes now skips test_shorts().
This change allows to run test_ctypes to check for UBSan regression,
but the test_shorts() undefined behavior must be fixed.
@vstinner

vstinner commented Mar 3, 2022

Copy link
Copy Markdown
Member Author

Previously, the whole test_ctypes file was skipped on the UBSan buildbot. With this change, we can run more tests on the UBSan buildbot.

@vstinner vstinner merged commit ad1b044 into python:main Mar 3, 2022
@vstinner vstinner deleted the ctypes_ubsan branch March 3, 2022 23:41
vstinner added a commit that referenced this pull request Mar 4, 2022
… UBSan (GH-31675)

* bpo-46913: Fix test_faulthandler.test_sigfpe() on UBSAN (GH-31662)

Disable undefined behavior sanitizer (UBSAN) on
faulthandler_sigfpe().

(cherry picked from commit 4173d67)

* bpo-46913: Fix test_faulthandler.test_read_null() on UBSan (GH31672)

Disable undefined behavior sanitizer (UBSan) on
faulthandler._read_null().

(cherry picked from commit 65b92cc)

* bpo-46913: test_hashlib skips _sha3 tests on UBSan (GH-31673)

If Python is built with UBSan, test_hashlib skips tests on the _sha3
extension which currently has undefined behaviors.

This change allows to run test_hashlib to check for new UBSan regression,
but the known _sha3 undefined behavior must be fixed.

(cherry picked from commit 6d0d7d2)

* bpo-46913: Skip test_ctypes.test_shorts() on UBSan (GH-31674)

If Python is built with UBSan, test_ctypes now skips test_shorts().
This change allows to run test_ctypes to check for new UBSan regression,
but the known test_shorts() undefined behavior must be fixed.

(cherry picked from commit ad1b044)
vstinner added a commit that referenced this pull request Mar 4, 2022
…H-31675) (GH-31676)

* bpo-46913: Fix test_faulthandler.test_sigfpe() on UBSAN (GH-31662)

Disable undefined behavior sanitizer (UBSAN) on
faulthandler_sigfpe().

(cherry picked from commit 4173d67)

* bpo-46913: Fix test_faulthandler.test_read_null() on UBSan (GH31672)

Disable undefined behavior sanitizer (UBSan) on
faulthandler._read_null().

(cherry picked from commit 65b92cc)

* bpo-46913: test_hashlib skips _sha3 tests on UBSan (GH-31673)

If Python is built with UBSan, test_hashlib skips tests on the _sha3
extension which currently has undefined behaviors.

This change allows to run test_hashlib to check for new UBSan regression,
but the known _sha3 undefined behavior must be fixed.

(cherry picked from commit 6d0d7d2)

* bpo-46913: Skip test_ctypes.test_shorts() on UBSan (GH-31674)

If Python is built with UBSan, test_ctypes now skips test_shorts().
This change allows to run test_ctypes to check for new UBSan regression,
but the known test_shorts() undefined behavior must be fixed.

(cherry picked from commit ad1b044)
(cherry picked from commit 7b5b429)
hello-adam pushed a commit to hello-adam/cpython that referenced this pull request Jun 2, 2022
…ythonGH-31675) (pythonGH-31676)

* bpo-46913: Fix test_faulthandler.test_sigfpe() on UBSAN (pythonGH-31662)

Disable undefined behavior sanitizer (UBSAN) on
faulthandler_sigfpe().

(cherry picked from commit 4173d67)

* bpo-46913: Fix test_faulthandler.test_read_null() on UBSan (GH31672)

Disable undefined behavior sanitizer (UBSan) on
faulthandler._read_null().

(cherry picked from commit 65b92cc)

* bpo-46913: test_hashlib skips _sha3 tests on UBSan (pythonGH-31673)

If Python is built with UBSan, test_hashlib skips tests on the _sha3
extension which currently has undefined behaviors.

This change allows to run test_hashlib to check for new UBSan regression,
but the known _sha3 undefined behavior must be fixed.

(cherry picked from commit 6d0d7d2)

* bpo-46913: Skip test_ctypes.test_shorts() on UBSan (pythonGH-31674)

If Python is built with UBSan, test_ctypes now skips test_shorts().
This change allows to run test_ctypes to check for new UBSan regression,
but the known test_shorts() undefined behavior must be fixed.

(cherry picked from commit ad1b044)
(cherry picked from commit 7b5b429)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.