spec test index / oilshell.org
status | ysh | ysh_ALT | |
pass | 13 | 0 | |
FAIL | 1 | 14 | |
total | 14 | 14 | |
case | ysh | ysh_ALT | description |
0 | pass | FAIL | New Obj API |
details | |||
1 | pass | FAIL | Object() creates prototype chain |
details | |||
2 | pass | FAIL | prototype() |
details | |||
3 | pass | FAIL | propView() |
details | |||
4 | pass | FAIL | Mutating method lookup with -> |
details | |||
5 | pass | FAIL | Mutating method must be up the prototype chain, not on the object |
details | |||
6 | pass | FAIL | Copy to Dict with dict(), and mutate |
details | |||
7 | pass | FAIL | setvar obj.attr = and += and ... |
details | |||
8 | pass | FAIL | obj['attr'] not allowed (for now) |
details | |||
9 | FAIL | FAIL | setvar obj['attr'] = 3 ? |
details | details | ||
10 | pass | FAIL | can't encode objects as JSON |
details | |||
11 | pass | FAIL | Can all builtin methods with s.upper() |
details | |||
12 | pass | FAIL | invokable Obj must be have prototype containing __invoke__ of value.Proc - type -t |
details | |||
13 | pass | FAIL | Object with longer prototype chain |
details |
13 passed, 0 OK, 0 not implemented, 0 BUG, 15 failed, 0 timeouts, 0 cases skipped 1 failed under osh
ysh_ALT | 0 New Obj API [ysh_ALT stdout] Expected '(Obj) ("x":4)\n0\n(Dict) {"x":4}\n0\n(Null) null\n0\n(Obj) ("y":5)\n' Got '' [ysh_ALT status] Expected 0, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Could not import bin.oil Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 22, in <module> from _devbuild.gen import id_kind File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module> from _devbuild.gen.id_kind_asdl import Id, Kind File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module> from asdl import pybase File "/home/uke/oil/asdl/pybase.py", line 5, in <module> from mycpp import mylib File "/home/uke/oil/mycpp/mylib.py", line 17, in <module> from pylib import collections_ File "/home/uke/oil/pylib/collections_.py", line 9, in <module> from typing import Any File "/home/uke/oil/vendor/typing.py", line 5, in <module> import collections File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module> from dummy_thread import get_ident as _get_ident ImportError: No module named dummy_thread FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 1 Object() creates prototype chain [ysh_ALT stdout] Expected '(List) [3,4]\narea1 = 12\n(List) [10,20]\narea2 = 200\n' Got '' [ysh_ALT status] Expected 0, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Could not import bin.oil Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 22, in <module> from _devbuild.gen import id_kind File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module> from _devbuild.gen.id_kind_asdl import Id, Kind File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module> from asdl import pybase File "/home/uke/oil/asdl/pybase.py", line 5, in <module> from mycpp import mylib File "/home/uke/oil/mycpp/mylib.py", line 17, in <module> from pylib import collections_ File "/home/uke/oil/pylib/collections_.py", line 9, in <module> from typing import Any File "/home/uke/oil/vendor/typing.py", line 5, in <module> import collections File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module> from dummy_thread import get_ident as _get_ident ImportError: No module named dummy_thread FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 2 prototype() [ysh_ALT stdout] Expected '(Null) null\n(Obj) ("area":<Func>)\n', got '' [ysh_ALT status] Expected 0, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Could not import bin.oil Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 22, in <module> from _devbuild.gen import id_kind File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module> from _devbuild.gen.id_kind_asdl import Id, Kind File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module> from asdl import pybase File "/home/uke/oil/asdl/pybase.py", line 5, in <module> from mycpp import mylib File "/home/uke/oil/mycpp/mylib.py", line 17, in <module> from pylib import collections_ File "/home/uke/oil/pylib/collections_.py", line 9, in <module> from typing import Any File "/home/uke/oil/vendor/typing.py", line 5, in <module> import collections File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module> from dummy_thread import get_ident as _get_ident ImportError: No module named dummy_thread FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 3 propView() [ysh_ALT stdout] Expected '(Dict) {"x":3,"y":4}\n(Dict) {"x":99,"y":4}\n' Got '' [ysh_ALT status] Expected 3, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Could not import bin.oil Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 22, in <module> from _devbuild.gen import id_kind File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module> from _devbuild.gen.id_kind_asdl import Id, Kind File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module> from asdl import pybase File "/home/uke/oil/asdl/pybase.py", line 5, in <module> from mycpp import mylib File "/home/uke/oil/mycpp/mylib.py", line 17, in <module> from pylib import collections_ File "/home/uke/oil/pylib/collections_.py", line 9, in <module> from typing import Any File "/home/uke/oil/vendor/typing.py", line 5, in <module> import collections File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module> from dummy_thread import get_ident as _get_ident ImportError: No module named dummy_thread FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 4 Mutating method lookup with -> [ysh_ALT stdout] Expected '5\n8\n', got '' [ysh_ALT status] Expected 0, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Could not import bin.oil Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 22, in <module> from _devbuild.gen import id_kind File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module> from _devbuild.gen.id_kind_asdl import Id, Kind File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module> from asdl import pybase File "/home/uke/oil/asdl/pybase.py", line 5, in <module> from mycpp import mylib File "/home/uke/oil/mycpp/mylib.py", line 17, in <module> from pylib import collections_ File "/home/uke/oil/pylib/collections_.py", line 9, in <module> from typing import Any File "/home/uke/oil/vendor/typing.py", line 5, in <module> import collections File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module> from dummy_thread import get_ident as _get_ident ImportError: No module named dummy_thread FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 5 Mutating method must be up the prototype chain, not on the object [ysh_ALT status] Expected 3, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Could not import bin.oil Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 22, in <module> from _devbuild.gen import id_kind File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module> from _devbuild.gen.id_kind_asdl import Id, Kind File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module> from asdl import pybase File "/home/uke/oil/asdl/pybase.py", line 5, in <module> from mycpp import mylib File "/home/uke/oil/mycpp/mylib.py", line 17, in <module> from pylib import collections_ File "/home/uke/oil/pylib/collections_.py", line 9, in <module> from typing import Any File "/home/uke/oil/vendor/typing.py", line 5, in <module> import collections File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module> from dummy_thread import get_ident as _get_ident ImportError: No module named dummy_thread FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 6 Copy to Dict with dict(), and mutate [ysh_ALT stdout] Expected '(Obj) ("x":3,"y":4)\n(Dict) {"x":3,"y":4}\n(Obj) ("x":99,"y":4)\n(Dict) {"x":100,"y":4}\n' Got '' [ysh_ALT status] Expected 0, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Could not import bin.oil Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 22, in <module> from _devbuild.gen import id_kind File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module> from _devbuild.gen.id_kind_asdl import Id, Kind File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module> from asdl import pybase File "/home/uke/oil/asdl/pybase.py", line 5, in <module> from mycpp import mylib File "/home/uke/oil/mycpp/mylib.py", line 17, in <module> from pylib import collections_ File "/home/uke/oil/pylib/collections_.py", line 9, in <module> from typing import Any File "/home/uke/oil/vendor/typing.py", line 5, in <module> import collections File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module> from dummy_thread import get_ident as _get_ident ImportError: No module named dummy_thread FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 7 setvar obj.attr = and += and ... [ysh_ALT stdout] Expected '(Obj) ("x":3,"y":4)\n(Obj) ("x":3,"y":99)\n(Obj) ("x":3,"y":102)\n(Obj) ("x":15,"y":102)\n' Got '' [ysh_ALT status] Expected 0, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Could not import bin.oil Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 22, in <module> from _devbuild.gen import id_kind File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module> from _devbuild.gen.id_kind_asdl import Id, Kind File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module> from asdl import pybase File "/home/uke/oil/asdl/pybase.py", line 5, in <module> from mycpp import mylib File "/home/uke/oil/mycpp/mylib.py", line 17, in <module> from pylib import collections_ File "/home/uke/oil/pylib/collections_.py", line 9, in <module> from typing import Any File "/home/uke/oil/vendor/typing.py", line 5, in <module> import collections File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module> from dummy_thread import get_ident as _get_ident ImportError: No module named dummy_thread FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 8 obj['attr'] not allowed (for now) [ysh_ALT status] Expected 3, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Could not import bin.oil Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 22, in <module> from _devbuild.gen import id_kind File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module> from _devbuild.gen.id_kind_asdl import Id, Kind File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module> from asdl import pybase File "/home/uke/oil/asdl/pybase.py", line 5, in <module> from mycpp import mylib File "/home/uke/oil/mycpp/mylib.py", line 17, in <module> from pylib import collections_ File "/home/uke/oil/pylib/collections_.py", line 9, in <module> from typing import Any File "/home/uke/oil/vendor/typing.py", line 5, in <module> import collections File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module> from dummy_thread import get_ident as _get_ident ImportError: No module named dummy_thread FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh | 9 setvar obj['attr'] = 3 ? [ysh stdout] Expected '', got '(Obj) ("x":99,"y":4)\n' [ysh status] Expected 3, got 0 stdout: (Obj) ("x":99,"y":4)stderr: |
ysh_ALT | 9 setvar obj['attr'] = 3 ? [ysh_ALT status] Expected 3, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Could not import bin.oil Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 22, in <module> from _devbuild.gen import id_kind File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module> from _devbuild.gen.id_kind_asdl import Id, Kind File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module> from asdl import pybase File "/home/uke/oil/asdl/pybase.py", line 5, in <module> from mycpp import mylib File "/home/uke/oil/mycpp/mylib.py", line 17, in <module> from pylib import collections_ File "/home/uke/oil/pylib/collections_.py", line 9, in <module> from typing import Any File "/home/uke/oil/vendor/typing.py", line 5, in <module> import collections File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module> from dummy_thread import get_ident as _get_ident ImportError: No module named dummy_thread FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 10 can't encode objects as JSON [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Could not import bin.oil Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 22, in <module> from _devbuild.gen import id_kind File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module> from _devbuild.gen.id_kind_asdl import Id, Kind File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module> from asdl import pybase File "/home/uke/oil/asdl/pybase.py", line 5, in <module> from mycpp import mylib File "/home/uke/oil/mycpp/mylib.py", line 17, in <module> from pylib import collections_ File "/home/uke/oil/pylib/collections_.py", line 9, in <module> from typing import Any File "/home/uke/oil/vendor/typing.py", line 5, in <module> import collections File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module> from dummy_thread import get_ident as _get_ident ImportError: No module named dummy_thread FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 11 Can all builtin methods with s.upper() [ysh_ALT stdout] Expected '(Str) "FOO"\n(Str) "--foo"\n', got '' [ysh_ALT status] Expected 0, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Could not import bin.oil Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 22, in <module> from _devbuild.gen import id_kind File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module> from _devbuild.gen.id_kind_asdl import Id, Kind File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module> from asdl import pybase File "/home/uke/oil/asdl/pybase.py", line 5, in <module> from mycpp import mylib File "/home/uke/oil/mycpp/mylib.py", line 17, in <module> from pylib import collections_ File "/home/uke/oil/pylib/collections_.py", line 9, in <module> from typing import Any File "/home/uke/oil/vendor/typing.py", line 5, in <module> import collections File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module> from dummy_thread import get_ident as _get_ident ImportError: No module named dummy_thread FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 12 invokable Obj must be have prototype containing __invoke__ of value.Proc - type -t [ysh_ALT stdout] Expected '(List) ["a",{"x":5,"y":6}]\n\ninvokable\n\nno prototype\nno __invoke__ method in prototype\n__invoke__ of wrong type\n' Got '' [ysh_ALT status] Expected 0, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Could not import bin.oil Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 22, in <module> from _devbuild.gen import id_kind File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module> from _devbuild.gen.id_kind_asdl import Id, Kind File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module> from asdl import pybase File "/home/uke/oil/asdl/pybase.py", line 5, in <module> from mycpp import mylib File "/home/uke/oil/mycpp/mylib.py", line 17, in <module> from pylib import collections_ File "/home/uke/oil/pylib/collections_.py", line 9, in <module> from typing import Any File "/home/uke/oil/vendor/typing.py", line 5, in <module> import collections File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module> from dummy_thread import get_ident as _get_ident ImportError: No module named dummy_thread FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 13 Object with longer prototype chain [ysh_ALT stdout] Expected '(Obj) ("foo":1,"bar":2,"x":3) --> ("foo":42,"bar":[1,2]) --> ("foo":"zz")\n(Obj) (foo: 1, bar: 2, x: 3) --> (foo: 42, bar: [1, 2]) --> (foo: \'zz\')\n' Got '' [ysh_ALT status] Expected 0, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Could not import bin.oil Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 22, in <module> from _devbuild.gen import id_kind File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module> from _devbuild.gen.id_kind_asdl import Id, Kind File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module> from asdl import pybase File "/home/uke/oil/asdl/pybase.py", line 5, in <module> from mycpp import mylib File "/home/uke/oil/mycpp/mylib.py", line 17, in <module> from pylib import collections_ File "/home/uke/oil/pylib/collections_.py", line 9, in <module> from typing import Any File "/home/uke/oil/vendor/typing.py", line 5, in <module> import collections File "/home/uke/tmp/Python-2.7.13/Lib/collections.py", line 32, in <module> from dummy_thread import get_ident as _get_ident ImportError: No module named dummy_thread FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |