spec test index / oilshell.org
status | osh | osh_ALT | |
pass | 12 | 0 | |
FAIL | 0 | 12 | |
total | 12 | 12 | |
case | osh | osh_ALT | description |
0 | pass | FAIL | bool() conversion |
details | |||
1 | pass | FAIL | bool() more |
details | |||
2 | pass | FAIL | int() conversion |
details | |||
3 | pass | FAIL | int() more |
details | |||
4 | pass | FAIL | float() conversion |
details | |||
5 | pass | FAIL | float() overflow / underflow |
details | |||
6 | pass | FAIL | str() conversion |
details | |||
7 | pass | FAIL | dict() converts from BashAssoc to Dict |
details | |||
8 | pass | FAIL | dict() does shallow copy |
details | |||
9 | pass | FAIL | list() does shallow copy |
details | |||
10 | pass | FAIL | list() from Dict |
details | |||
11 | pass | FAIL | list() from range |
details |
12 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
osh_ALT | 0 bool() conversion [osh_ALT stdout] Expected 'true\nfalse\ntrue\ntrue\ntrue\nfalse\nfalse\nfalse\ntrue\ntrue\ntrue\n' Got '' [osh_ALT status] Expected 0, got 1 [osh_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 3, in <module> import abc File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module> import types File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 86, in <module> __all__ = list(n for n in globals() if n[:1] != '_') NameError: name 'globals' is not defined FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 1 bool() more [osh_ALT stdout] Expected 'false\ntrue\n', got '' [osh_ALT status] Expected 0, got 1 [osh_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 3, in <module> import abc File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module> import types File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 86, in <module> __all__ = list(n for n in globals() if n[:1] != '_') NameError: name 'globals' is not defined FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 2 int() conversion [osh_ALT stdout] Expected '1234\n1234\n1\n', got '' [osh_ALT status] Expected 0, got 1 [osh_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 3, in <module> import abc File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module> import types File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 86, in <module> __all__ = list(n for n in globals() if n[:1] != '_') NameError: name 'globals' is not defined FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 3 int() more [osh_ALT stdout] Expected '(Int) 3\n(Int) -35\n(Int) 56\ncode=3\n' Got '' [osh_ALT status] Expected 0, got 1 [osh_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 3, in <module> import abc File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module> import types File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 86, in <module> __all__ = list(n for n in globals() if n[:1] != '_') NameError: name 'globals' is not defined FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 4 float() conversion [osh_ALT stdout] Expected '1234.0\n1.234\n2.345\n', got '' [osh_ALT status] Expected 0, got 1 [osh_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 3, in <module> import abc File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module> import types File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 86, in <module> __all__ = list(n for n in globals() if n[:1] != '_') NameError: name 'globals' is not defined FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 5 float() overflow / underflow [osh_ALT stdout] Expected '1.2\n3.4\ninf\n-inf\n', got '' [osh_ALT status] Expected 0, got 1 [osh_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 3, in <module> import abc File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module> import types File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 86, in <module> __all__ = list(n for n in globals() if n[:1] != '_') NameError: name 'globals' is not defined FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 6 str() conversion [osh_ALT stdout] Expected '1234\n1.234\nfoo\n\ntrue\nnull\n[[:digit:]]+\n', got '' [osh_ALT status] Expected 3, got 1 [osh_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 3, in <module> import abc File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module> import types File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 86, in <module> __all__ = list(n for n in globals() if n[:1] != '_') NameError: name 'globals' is not defined FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 7 dict() converts from BashAssoc to Dict [osh_ALT stdout] Expected '"BashAssoc"\n{\n "a": "1",\n "b": "2",\n "c": "3"\n}\n' Got '' [osh_ALT status] Expected 0, got 1 [osh_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 3, in <module> import abc File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module> import types File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 86, in <module> __all__ = list(n for n in globals() if n[:1] != '_') NameError: name 'globals' is not defined FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 8 dict() does shallow copy [osh_ALT stdout] Expected 'true\nfalse\ntrue\n', got '' [osh_ALT status] Expected 0, got 1 [osh_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 3, in <module> import abc File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module> import types File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 86, in <module> __all__ = list(n for n in globals() if n[:1] != '_') NameError: name 'globals' is not defined FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 9 list() does shallow copy [osh_ALT stdout] Expected '2\n2\n3\n', got '' [osh_ALT status] Expected 0, got 1 [osh_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 3, in <module> import abc File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module> import types File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 86, in <module> __all__ = list(n for n in globals() if n[:1] != '_') NameError: name 'globals' is not defined FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 10 list() from Dict [osh_ALT stdout] Expected 'a\nfoo\n', got '' [osh_ALT status] Expected 0, got 1 [osh_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 3, in <module> import abc File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module> import types File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 86, in <module> __all__ = list(n for n in globals() if n[:1] != '_') NameError: name 'globals' is not defined FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh_ALT | 11 list() from range [osh_ALT stdout] Expected '0\n1\n2\n', got '' [osh_ALT status] Expected 0, got 1 [osh_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 3, in <module> import abc File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module> import types File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 86, in <module> __all__ = list(n for n in globals() if n[:1] != '_') NameError: name 'globals' is not defined FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |