Skip to content

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Mar 1, 2022

Skip tests on ASAN and/or MSAN builds:

  • multiprocessing tests
  • test___all__
  • test_concurrent_futures
  • test_decimal
  • test_peg_generator
  • test_tools

(cherry picked from commit 9204bb7)

https://bugs.python.org/issue46633

@vstinner vstinner changed the title bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) Mar 1, 2022
@vstinner vstinner added the needs backport to 3.9 only security fixes label Mar 1, 2022
pablogsal and others added 3 commits March 1, 2022 18:14
* Refactor sanitizer skip tests into test.support

* fixup! Refactor sanitizer skip tests into test.support

* fixup! fixup! Refactor sanitizer skip tests into test.support

(cherry picked from commit b1cb843)
Skip tests on ASAN and/or MSAN builds:

* multiprocessing tests
* test___all__
* test_concurrent_futures
* test_decimal
* test_peg_generator
* test_tools

(cherry picked from commit 9204bb7)
@vstinner
Copy link
Member Author

vstinner commented Mar 1, 2022

I rewrote the PR to backport 3 changes rather than just 1:

@vstinner vstinner merged commit 9326445 into python:3.10 Mar 2, 2022
@miss-islington
Copy link
Contributor

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9.
🐍🍒⛏🤖

@vstinner vstinner deleted the skip_asan310 branch March 2, 2022 16:05
@miss-islington
Copy link
Contributor

Sorry, @vstinner, I could not cleanly backport this to 3.9 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 93264452d952d9ba604bacf2947c2df5dd477931 3.9

@bedevere-bot
Copy link

GH-31644 is a backport of this pull request to the 3.9 branch.

vstinner added a commit that referenced this pull request Mar 2, 2022
…H-31634) (GH-31644)

* Refactor sanitiser skip tests into test.support (GH-30889)

* Refactor sanitizer skip tests into test.support

(cherry picked from commit b1cb843)

* Add skips to crashing tests under sanitizers instead of manually skipping them (GH-30897)

(cherry picked from commit a275053)

* bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632)

Skip tests on ASAN and/or MSAN builds:

* multiprocessing tests
* test___all__
* test_concurrent_futures
* test_decimal
* test_peg_generator
* test_tools

(cherry picked from commit 9204bb7)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
(cherry picked from commit 9326445)
hello-adam pushed a commit to hello-adam/cpython that referenced this pull request Jun 2, 2022
…) (pythonGH-31634) (pythonGH-31644)

* Refactor sanitiser skip tests into test.support (pythonGH-30889)

* Refactor sanitizer skip tests into test.support

(cherry picked from commit b1cb843)

* Add skips to crashing tests under sanitizers instead of manually skipping them (pythonGH-30897)

(cherry picked from commit a275053)

* bpo-46633: Skip tests on ASAN and/or MSAN builds (pythonGH-31632)

Skip tests on ASAN and/or MSAN builds:

* multiprocessing tests
* test___all__
* test_concurrent_futures
* test_decimal
* test_peg_generator
* test_tools

(cherry picked from commit 9204bb7)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
(cherry picked from commit 9326445)
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants