In trying to test my installation, I used libtest under examples. I then receive the following output:
python LibTest.py CompileTest Known issue (testClassScopeExceptions/1) : try/catch in class definition scope, issue #593 CompileTest Known issue (testWithFlowControl/2) : Flow control statements inside with, issue #625 CompileTest Known issue (test_bad_import/3) : try: import badcode/except does not catch SyntaxError, #592 CompileTest Known issue (test_bad_import/4) : try: import badcode/except does not catch TranslationError, #592 CompileTest Known issue (test_function_deep_args_unpacking/5) : Bug #527, Function deep args unpacking fails to compile CompileTest: Passed 0 / 5 tests (5 failed) Loop1: 1565038.81/sec Loop2 (float): 12748.64/sec Loop3 (int): 22706.28/sec Loop4 (long): 13939.20/sec LoopTest: Passed 0 / 0 tests NoInlineCodeTest: Passed 59 / 59 tests BoolTest: Passed 90 / 90 tests ListTest Test failed (testExtendedSlicing/56) : Bug #xxx - need better __setitem__ implementation for builtin lists [200000 is not in list] ListTest: Passed 164 / 165 tests (1 failed) TupleTest: Passed 17 / 17 tests FunctionTest: Passed 66 / 66 tests ExceptionTest: Passed 51 / 51 tests ClassTest: Passed 291 / 291 tests StringTest: Passed 127 / 127 tests TemplateStringTest: Passed 6 / 6 tests SetTest: Passed 2045 / 2045 tests FrozenSetTest: Passed 1610 / 1610 tests ArgsTest: Passed 375 / 375 tests VarsTest: Passed 48 / 48 tests AttributeTest: Passed 58 / 58 tests NameTest: Passed 9 / 9 tests DictTest: Passed 79 / 79 tests BuiltinTest Test failed (testImport/54) : Bug #XXX - from X import .. not completely implemented, only considering modules BuiltinTest: Passed 968 / 969 tests (1 failed) GeneratorTest: Passed 61 / 61 tests LongTest: Passed 22 / 22 tests LongTypeTest: Passed 1033 / 1033 tests TypeCompatibilityTest: Passed 0 / 0 tests MD5Test: Passed 16 / 16 tests TimeModuleTest: Passed 41 / 41 tests DatetimeModuleTest: Passed 39 / 39 tests StringIOModuleTest: Passed 2 / 2 tests UrllibModuleTest: Passed 6 / 6 tests Base64ModuleTest: Passed 12 / 12 tests MathModuleTest: Passed 25 / 25 tests ReModuleTest: Passed 129 / 129 tests RandomModuleTest: Passed 10 / 10 tests CsvModuleTest: Passed 11 / 11 tests HashableTest: Passed 1 / 1 tests Syntax27Test Test failed (testSetComprehensions/8) : Bug #XXX - Set equality fails Syntax27Test Test failed (testSetLiteral/10) : Bug #XXX - None not supported in sets Syntax27Test: Passed 8 / 10 tests (2 failed) WithTest Test failed (testSimple/12) : Bug #XXX - With statement fails for unknown reason WithTest: Passed 11 / 12 tests (1 failed) Is this normal or does it indicate that something went wrong during my installation? Thank you, Piet On Saturday, June 2, 2012 12:52:59 PM UTC+2, Piet Stevens wrote: > > I was wondering how I can test my installation after a git pull. > > On the pyjamas directory, there is a test.py file, and I ran it. It > generated this error message: > python test.py > Output will be produced in /tmp/pyjsx0Uhmh > Running `/usr/bin/python LibTest.py` at > "/home/pstevens/pyjamas/examples/libtest" > Running `/usr/bin/python /home/pstevens/pyjamas/pyv8/pyv8run.py -o > /tmp/pyjsx0Uhmh/test_libtest_pyv8 --strict --dynamic '^I18N[.].*.._..' > LibTest I18N/en_US.py` at "/home/pstevens/pyjamas/examples/libtest" > Running `/home/pstevens/pyjamas/bin/pyjsbuild -o > /tmp/pyjsx0Uhmh/test_pyjsbuild --strict LibTest` at > "/home/pstevens/pyjamas/examples/libtest" > Running `/home/pstevens/pyjamas/bin/pyjscompile -o > /tmp/pyjsx0Uhmh/test_pyjscompile/LibTest.js --strict LibTest.py` at > "/home/pstevens/pyjamas/examples/libtest" > Running `/home/pstevens/pyjamas/bin/pyjampiler -r Hello -o > /tmp/pyjsx0Uhmh/test_pyjampiler/hello.js` at > "/home/pstevens/pyjamas/examples/helloworld" > Running `/home/pstevens/pyjamas/bin/pyjampiler -r LibTest -o > /tmp/pyjsx0Uhmh/test_pyjampiler/libtest.js -e "_[^_].*"` at > "/home/pstevens/pyjamas/examples/libtest" > Fetching issues csv from http://code.google.com/p/pyjamas/issues/csv > Traceback (most recent call last): > File "test.py", line 446, in <module> > PyjamasTester() > File "test.py", line 183, in __init__ > self.get_tracker_issues() > File "test.py", line 378, in get_tracker_issues > issue = issue_cls(*row) > TypeError: __new__() takes exactly 9 arguments (2 given) > > I have 2 questions: > a. what kind of tests can I run to check that my installation works. > b. what does the above error mean? > > running on ubuntu 12.04 > 0.8.1~+alpha1 > > Thank you for any help, > > Piet >
