Created
February 23, 2014 00:17
-
-
Save scopatz/9164580 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scopatz@ares ~/xdress/tests feature/union-support $ nosetests | |
........F.EE................................................................................................................................................................................................................................................................................................................................. | |
====================================================================== | |
ERROR: test_cproj.test_all('/usr/bin/python setup.py install --prefix="/home/scopatz/xdress/tests/cproj/install-pycparser" --root="/" -- --', '/home/scopatz/xdress/tests/cproj', [0]) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest | |
self.test(*self.arg) | |
File "/home/scopatz/xdress/tests/tools.py", line 49, in check_cmd | |
print("STDOUT + STDERR:\n\n" + f.read().decode()) | |
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 4039: ordinal not in range(128) | |
-------------------- >> begin captured stdout << --------------------- | |
TESTING: running command in /home/scopatz/xdress/tests/cproj: | |
/usr/bin/python setup.py install --prefix="/home/scopatz/xdress/tests/cproj/install-pycparser" --root="/" -- -- | |
--------------------- >> end captured stdout << ---------------------- | |
====================================================================== | |
ERROR: Failure: IndexError (list index out of range) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 253, in generate | |
for test in g(): | |
File "/home/scopatz/xdress/tests/test_cproj.py", line 94, in test_all | |
instsite = glob.glob(instsite)[0] | |
IndexError: list index out of range | |
====================================================================== | |
FAIL: test_cppproj.test_all('PYTHONPATH="/home/scopatz/xdress" /usr/bin/python /home/scopatz/xdress/scripts/xdress --debug -p=gccxml --builddir="/home/scopatz/xdress/tests/cppproj/build-gccxml"', '/home/scopatz/xdress/tests/cppproj', [1]) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest | |
self.test(*self.arg) | |
File "/home/scopatz/xdress/tests/tools.py", line 53, in check_cmd | |
assert_equal(rtn, 0) | |
AssertionError: 1 != 0 | |
-------------------- >> begin captured stdout << --------------------- | |
TESTING: running command in /home/scopatz/xdress/tests/cppproj: | |
PYTHONPATH="/home/scopatz/xdress" /usr/bin/python /home/scopatz/xdress/scripts/xdress --debug -p=gccxml --builddir="/home/scopatz/xdress/tests/cppproj/build-gccxml" | |
STDOUT + STDERR: | |
autoall: discovering API names | |
autoall: searching src/discovery.h | |
autoall: found variables: DigitalLove | |
autoall: found functions: face2face | |
autoall: found classes: Crescendoll | |
autoall: searching src/discovery.cpp | |
autoall: found variables: DigitalLove | |
autoall: found functions: face2face | |
autoall: found classes: Crescendoll | |
autodescribe: registering Union0 | |
autodescribe: registering VoidFPStruct | |
autodescribe: registering A | |
autodescribe: registering B | |
autodescribe: registering C | |
autodescribe: registering ('TClass1', 'int32', 0) | |
autodescribe: registering ('TClass1', 'float64', 0) | |
autodescribe: registering ('TClass1', 'float32', 0) | |
autodescribe: registering ('TClass0', 'int32', 0) | |
autodescribe: registering ('TClass0', 'float64', 0) | |
autodescribe: registering ('TClass0', 'bool', 0) | |
autodescribe: registering Untemplated | |
autodescribe: registering ThreeNums | |
autodescribe: registering Crescendoll | |
autodescribe: registering Crescendoll | |
autodescribe: registering ('TClass0', 'float32', 0) | |
autodescribe: registering ('TClass2', 'float32', 0) | |
autodescribe: registering NoDefault | |
autodescribe: registering NoDefaultChild | |
autodescribe: registering ('EnumArg', 'JOAN', 0) | |
dtypes: registering numpy dtypes | |
stlwrap: registering C++ standard library types | |
autodescribe: scraping C/C++ APIs from source | |
autodescribe: describing Union0 | |
Traceback (most recent call last): | |
File "/home/scopatz/xdress/scripts/xdress", line 6, in <module> | |
main() | |
File "/home/scopatz/.local/lib/python2.7/site-packages/xdress-0.4_dev-py2.7-linux-x86_64.egg/xdress/main.py", line 222, in main | |
plugins.execute() | |
File "/home/scopatz/.local/lib/python2.7/site-packages/xdress-0.4_dev-py2.7-linux-x86_64.egg/xdress/plugins.py", line 374, in execute | |
self.exit(e) | |
File "/home/scopatz/.local/lib/python2.7/site-packages/xdress-0.4_dev-py2.7-linux-x86_64.egg/xdress/plugins.py", line 372, in execute | |
plugin.execute(rc) | |
File "/home/scopatz/.local/lib/python2.7/site-packages/xdress-0.4_dev-py2.7-linux-x86_64.egg/xdress/autodescribe.py", line 2286, in execute | |
self.compute_classes(rc) | |
File "/home/scopatz/.local/lib/python2.7/site-packages/xdress-0.4_dev-py2.7-linux-x86_64.egg/xdress/autodescribe.py", line 2453, in compute_classes | |
desc = self.compute_desc(cls, 'class', rc) | |
File "/home/scopatz/.local/lib/python2.7/site-packages/xdress-0.4_dev-py2.7-linux-x86_64.egg/xdress/autodescribe.py", line 2373, in compute_desc | |
clang_includes=rc.clang_includes) | |
File "/home/scopatz/.local/lib/python2.7/site-packages/xdress-0.4_dev-py2.7-linux-x86_64.egg/xdress/autodescribe.py", line 2232, in describe | |
language=language, clang_includes=clang_includes) | |
File "/home/scopatz/.local/lib/python2.7/site-packages/xdress-0.4_dev-py2.7-linux-x86_64.egg/xdress/autodescribe.py", line 426, in gccxml_describe | |
describer.visit() | |
File "/home/scopatz/.local/lib/python2.7/site-packages/xdress-0.4_dev-py2.7-linux-x86_64.egg/xdress/autodescribe.py", line 943, in visit | |
raise RuntimeError("could not find class {0!r}".format(self.name)) | |
RuntimeError: could not find class 'Union0' | |
--------------------- >> end captured stdout << ---------------------- | |
---------------------------------------------------------------------- | |
Ran 333 tests in 6.402s | |
FAILED (errors=2, failures=1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment