I've been trying to do something small and simple while the directory
restructuring takes shape.
i.e. to get scripts/test.py to run with pip install and run all the tests
currently available and this
is what I see is the following. Forget the pyjampiler for now.
Are folks aware of the failed tests in examples/libtest. Does it need
fixing or does the tests need to be removed?
Are these tests being run on commits currently?
---------------
(lpython)sarvi-mac:pyjs sarvi$ scripts/test.py
Output will be produced in
/var/folders/dj/6hjh0rl51c7_p25xc_dyjscr0000gn/T/pyjsofkyk7
Running `/Users/sarvi/Workspace/pyjs/lpython/bin/python LibTest.py` at
"/Users/sarvi/Workspace/pyjs/examples/libtest"
Running `/Users/sarvi/Workspace/pyjs/lpython/bin/python
/Users/sarvi/Workspace/pyjs/pyjs/pyv8/pyv8run.py -o
/var/folders/dj/6hjh0rl51c7_p25xc_dyjscr0000gn/T/pyjsofkyk7/test_libtest_pyv8
--enable-strict --dynamic '^I18N[.].*.._..' LibTest I18N/en_US.py` at
"/Users/sarvi/Workspace/pyjs/examples/libtest"
Running `/Users/sarvi/Workspace/pyjs/bin/pyjsbuild -o
/var/folders/dj/6hjh0rl51c7_p25xc_dyjscr0000gn/T/pyjsofkyk7/test_pyjsbuild
--enable-strict LibTest` at "/Users/sarvi/Workspace/pyjs/examples/libtest"
Running `/Users/sarvi/Workspace/pyjs/bin/pyjscompile -o
/var/folders/dj/6hjh0rl51c7_p25xc_dyjscr0000gn/T/pyjsofkyk7/test_pyjscompile/LibTest.js
--enable-strict LibTest.py` at
"/Users/sarvi/Workspace/pyjs/examples/libtest"
Running `/Users/sarvi/Workspace/pyjs/bin/pyjampiler -r Hello -o
/var/folders/dj/6hjh0rl51c7_p25xc_dyjscr0000gn/T/pyjsofkyk7/test_pyjampiler/hello.js`
at "/Users/sarvi/Workspace/pyjs/examples/helloworld"
Running `/Users/sarvi/Workspace/pyjs/bin/pyjampiler -r LibTest -o
/var/folders/dj/6hjh0rl51c7_p25xc_dyjscr0000gn/T/pyjsofkyk7/test_pyjampiler/libtest.js
-e "_[^_].*"` at "/Users/sarvi/Workspace/pyjs/examples/libtest"
==============================
Test results
==============================
test_libtest_cpython: total 1, passed 0, known 0, failed 1
test_libtest_pyv8: total 7501, passed 7432, known 55, failed 14
test_pyjsbuild: total 1, passed 1, known 0, failed 0
test_pyjscompile: total 1, passed 1, known 0, failed 0
test_pyjampiler: total 2, passed 2, known 0, failed 0
------------------------------
test_libtest_cpython failed tests:
[!] command.execution: Traceback (most recent call last):
File "LibTest.py", line 42, in <module>
from WindowTest import WindowTest
File "/Users/sarvi/Workspace/pyjs/examples/libtest/WindowTest.py", line
2, in <module>
from pyjamas import Window
ImportError: No module named pyjamas
------------------------------
test_libtest_pyv8 failed tests:
[!] ListTest.testExtendedSlicing/163: Bug #xxx - need better __setitem__
implementation for builtin lists
[!] ClassTest.testDynamicLoading/267: 'This is an example' != 'This is an
en_US example'
[!] ClassTest.testDynamicLoading/269: 'This is a domain example' != 'This
is a domain en_US example'
[!] ClassTest.testDynamicLoading/271: 'This is a subdomain example' !=
'This is a subdomain en_US example'
[!] ClassTest.testDynamicLoading/273: 'This is another example' != 'This is
en_US another example'
[!] ClassTest.testDynamicLoading/275: 'This is another example' != 'This is
en_US another example'
[!] BuiltinTest.testImport/351: Bug #XXX - from X import .. not completely
implemented, only considering modules
[!] Syntax27Test.testSetComprehensions/5: set([3]) != set([3])
[!] Syntax27Test.testSetComprehensions/15: set([0, 1, 2, 3, 4]) != set([0,
1, 2, 3, 4])
[!] Syntax27Test.testSetComprehensions/17: set([4]) != set([4])
[!] Syntax27Test.testSetComprehensions/19: set([2]) != set([2])
[!] Syntax27Test.testSetComprehensions/21: set([0, 1, 2, 3, 4]) != set([0,
1, 2, 3, 4])
[!] WithTest.testSimple/4: Bug #XXX - With statement fails for unknown
reason
[!] command.execution: WARNING:root:[--dynamic] is deprecated, see
[--dynamic-load]
(lpython)sarvi-mac:pyjs sarvi$
Sarvi
--
---
You received this message because you are subscribed to the Google Groups
"Pyjs.org Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.