diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 848d13fae34e26..ab11122e57dd6a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -82,8 +82,8 @@ jobs: # CPython, so CIFuzz should be run only for code that is likely to be # merged into the main branch; compatibility with older branches may # be broken. - FUZZ_RELEVANT_FILES='(\.c$|\.h$|\.cpp$|^configure$|^\.github/workflows/build\.yml$|^Modules/_xxtestfuzz)' - if [ "$GITHUB_BASE_REF" = "main" ] && [ "$(git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qE $FUZZ_RELEVANT_FILES; echo $?)" ]; then + FUZZ_RELEVANT_FILES='(\.c$|\.h$|\.cpp$|^configure$|^Modules/_xxtestfuzz)' + if [ "$GITHUB_BASE_REF" = "main" ] && [ "$(git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qE $FUZZ_RELEVANT_FILES; echo $?)" -eq 0 ]; then # The tests are pretty slow so they are executed only for PRs # changing relevant files. echo "Run CIFuzz tests" diff --git a/Lib/unittest/case.py b/Lib/unittest/case.py index 811557498bb30e..a63010aa248429 100644 --- a/Lib/unittest/case.py +++ b/Lib/unittest/case.py @@ -1,4 +1,7 @@ -"""Test case implementation""" +"""Test case implementation + +This should not run CIFuzz +""" import sys import functools diff --git a/Modules/_sre/sre.c b/Modules/_sre/sre.c index 07da5da13f70d3..c536df204215d7 100644 --- a/Modules/_sre/sre.c +++ b/Modules/_sre/sre.c @@ -535,6 +535,7 @@ state_fini(SRE_STATE* state) #define STATE_OFFSET(state, member)\ (((char*)(member) - (char*)(state)->beginning) / (state)->charsize) +// Now, CIFuzz should be executed. LOCAL(PyObject*) getslice(int isbytes, const void *ptr, PyObject* string, Py_ssize_t start, Py_ssize_t end) diff --git a/README.rst b/README.rst index 9cbadc8a5725b4..bb62e8aebe2a29 100644 --- a/README.rst +++ b/README.rst @@ -1,4 +1,4 @@ -This is Python version 3.13.0 alpha 0 +This should not run CIFuzz ===================================== .. image:: https://github.com/python/cpython/workflows/Tests/badge.svg