@@ -549,6 +549,10 @@ def exclude_tests_below(path):
549549 exclude_test ('tests/cpychecker/refcounts/use_after_dealloc' )
550550 exclude_test ('tests/examples/spelling-checker' )
551551
552+ # The debug build probably doesn't have lxml available:
553+ if hasattr (sys , 'gettotalrefcount' ):
554+ exclude_tests_below ('tests/cpychecker' )
555+
552556# This test is unreliable, due to differences in the dictionary:
553557exclude_test ('tests/examples/spelling-checker' )
554558
@@ -678,6 +682,51 @@ def exclude_tests_below(path):
678682 exclude_test ('tests/examples/hello-world' )
679683 exclude_test ('tests/plugin/rtl' )
680684
685+ # Various tests failing with Python 3 with GCC 5:
686+ if six .PY3 :
687+ exclude_test ('tests/cpychecker/absinterp/arithmetic/division-by-zero/definite' )
688+ exclude_test ('tests/cpychecker/absinterp/arithmetic/division-by-zero/possible' )
689+ exclude_test ('tests/cpychecker/absinterp/arithmetic/negative-shift/possible' )
690+ exclude_test ('tests/cpychecker/absinterp/arrays3' )
691+ exclude_test ('tests/cpychecker/absinterp/arrays6' )
692+ exclude_test ('tests/cpychecker/absinterp/arrays7' )
693+ exclude_test ('tests/cpychecker/absinterp/bitfields/reading' )
694+ exclude_test ('tests/cpychecker/absinterp/custom-strdup' )
695+ exclude_test ('tests/cpychecker/absinterp/function-pointers' )
696+ exclude_test ('tests/cpychecker/absinterp/nested-fields2' )
697+ exclude_test ('tests/cpychecker/absinterp/nested-fields3' )
698+ exclude_test ('tests/cpychecker/absinterp/read-through-global-ptr-unchecked' )
699+ exclude_test ('tests/cpychecker/absinterp/read-through-uninitialized-ptr' )
700+ exclude_test ('tests/cpychecker/absinterp/uninitialized-data' )
701+ exclude_test ('tests/cpychecker/absinterp/write-through-arg-unchecked' )
702+ exclude_test ('tests/cpychecker/absinterp/write-through-global-ptr-unchecked' )
703+ exclude_test ('tests/cpychecker/refcounts/PyArg_UnpackTuple/missing-initialization' )
704+ exclude_test ('tests/cpychecker/refcounts/PyArg_UnpackTuple/wrong-number-of-varargs' )
705+ exclude_test ('tests/cpychecker/refcounts/PyDict_GetItem/correct' )
706+ exclude_test ('tests/cpychecker/refcounts/PyDict_GetItem/incorrect' )
707+ exclude_test ('tests/cpychecker/refcounts/PyDict_GetItemString/correct' )
708+ exclude_test ('tests/cpychecker/refcounts/PyDict_GetItemString/incorrect' )
709+ exclude_test ('tests/cpychecker/refcounts/PyDict_SetItem/incorrect' )
710+ exclude_test ('tests/cpychecker/refcounts/PyErr_NewException/basic' )
711+ exclude_test ('tests/cpychecker/refcounts/PyEval_CallMethod/incorrect' )
712+ exclude_test ('tests/cpychecker/refcounts/PyList_Append/ticket-19' )
713+ exclude_test ('tests/cpychecker/refcounts/PyList_GetItem/correct' )
714+ exclude_test ('tests/cpychecker/refcounts/PyObject_GetAttr/incorrect' )
715+ exclude_test ('tests/cpychecker/refcounts/PyObject_GetAttrString/incorrect' )
716+ exclude_test ('tests/cpychecker/refcounts/PyObject_HasAttrString/incorrect' )
717+ exclude_test ('tests/cpychecker/refcounts/PyTuple_GetItem/correct' )
718+ exclude_test ('tests/cpychecker/refcounts/PyTuple_GetItem/incorrect' )
719+ exclude_test ('tests/cpychecker/refcounts/PyTuple_Size/incorrect' )
720+ exclude_test ('tests/cpychecker/refcounts/passing_dead_object' )
721+ exclude_test ('tests/cpychecker/refcounts/too_many_increfs' )
722+ exclude_test ('tests/cpychecker/refcounts/uninitialized_data/comparison' )
723+ exclude_test ('tests/cpychecker/refcounts/uninitialized_data/function_arg' )
724+ exclude_test ('tests/cpychecker/refcounts/use_after_dealloc' )
725+
726+ # Tests failing on Python 3.4:
727+ if sys .version_info [:2 ] == (3 , 4 ):
728+ exclude_test ('tests/plugin/callgraph' )
729+
681730def run_one_test (testdir ):
682731 try :
683732 sys .stdout .write ('%s: ' % testdir )
0 commit comments