[cfe-dev] tests of bindings/python fail?

Douglas Gregor dgregor at apple.com
Sat Jul 2 08:16:13 PDT 2011


On Jul 1, 2011, at 11:14 PM, Eli Bendersky wrote:

> On a clean checkout + build of Clang from trunk, taken yesterday, I run:
> 
> ~/test/llvm/tools/clang/bindings/python$ nosetests -v
> 
> tests.cindex.test_cursor.test_get_children ... FAIL
> tests.cindex.test_cursor_kind.test_name ... ok
> tests.cindex.test_cursor_kind.test_get_all_kinds ... ok
> Check that every kind classifies to exactly one group. ... FAIL
> tests.cindex.test_diagnostics.test_diagnostic_warning ... ok
> tests.cindex.test_diagnostics.test_diagnostic_note ... ok
> tests.cindex.test_diagnostics.test_diagnostic_fixit ... ok
> tests.cindex.test_diagnostics.test_diagnostic_range ... ok
> tests.cindex.test_index.test_create ... ok
> tests.cindex.test_index.test_parse ... ok
> tests.cindex.test_translation_unit.test_spelling ... ok
> tests.cindex.test_translation_unit.test_cursor ... ok
> tests.cindex.test_translation_unit.test_parse_arguments ... ok
> tests.cindex.test_translation_unit.test_reparse_arguments ... ok
> tests.cindex.test_translation_unit.test_unsaved_files ... ok
> tests.cindex.test_translation_unit.test_unsaved_files_2 ... ok
> tests.cindex.test_translation_unit.test_includes ... FAIL
> ...
> <snip detailed failure reports>
> 
> Is this something with my setup, or do others see these failures as well?


I see the same failures.

The Python bindings haven't been maintained and aren't regularly tested, so they've suffered some bit-rot.

	- Doug



More information about the cfe-dev mailing list