This is an automated email from the ASF dual-hosted git repository.

astitcher pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git


The following commit(s) were added to refs/heads/main by this push:
     new 2847000fb NO-JIRA: Fix up python tests so that tox tests fail correctly
2847000fb is described below

commit 2847000fbb3732e80537e3c3ff5e097bb95bfae0
Author: Andrew Stitcher <astitc...@apache.org>
AuthorDate: Wed Feb 19 12:33:36 2025 -0500

    NO-JIRA: Fix up python tests so that tox tests fail correctly
---
 python/CMakeLists.txt | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt
index d9a3e4568..42874571f 100644
--- a/python/CMakeLists.txt
+++ b/python/CMakeLists.txt
@@ -268,7 +268,6 @@ if (BUILD_TESTING)
         "PYTHONPATH=."
         "SASLPASSWD=${CyrusSASL_Saslpasswd_EXECUTABLE}"
       COMMAND ${pytest_executable} ${python_coverage_options} -- 
"${py_tests}/proton-test")
-    set_tests_properties(python-test PROPERTIES PASS_REGULAR_EXPRESSION 
"Totals: .* 0 failed")
 
     set(PYTHON_TEST_COMMAND "-m" "unittest")
     pn_add_test(
@@ -327,9 +326,7 @@ if (BUILD_TESTING)
       COMMAND ${Python_EXECUTABLE} -m tox)
     set_tests_properties(python-tox-test
       PROPERTIES
-      REQUIRED_FILES tox.ini
-      PASS_REGULAR_EXPRESSION "Totals: .* ignored, 0 failed"
-      FAIL_REGULAR_EXPRESSION "ERROR:.*commands failed")
+      REQUIRED_FILES tox.ini)
   endif (DO_TOX_TEST)
 
 endif(BUILD_TESTING)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to