spec test index / oilshell.org
status | ysh | ysh_ALT | |
pass | 12 | 0 | |
FAIL | 0 | 12 | |
total | 12 | 12 | |
case | ysh | ysh_ALT | description |
0 | pass | FAIL | shell array :| a 'b c' | |
details | |||
1 | pass | FAIL | empty array and simple_word_eval (regression test) |
details | |||
2 | pass | FAIL | Empty array and assignment builtin (regression) |
details | |||
3 | pass | FAIL | Shell arrays support tilde detection, static globbing, brace detection |
details | |||
4 | pass | FAIL | Basic List, a[42] a['42'] allowed |
details | |||
5 | pass | FAIL | Mutate List entries, a[42] a['42'] allowed |
details | |||
6 | pass | FAIL | string array with command sub, varsub, etc. |
details | |||
7 | pass | FAIL | Can print type of List with pp |
details | |||
8 | pass | FAIL | splice and stringify array |
details | |||
9 | pass | FAIL | List->extend() |
details | |||
10 | pass | FAIL | List append()/extend() should return null |
details | |||
11 | pass | FAIL | List pop() |
details |
12 passed, 0 OK, 0 not implemented, 0 BUG, 12 failed, 0 timeouts, 0 cases skipped
ysh_ALT | 0 shell array :| a 'b c' | [ysh_ALT stdout] Expected "['/', 'a', 'b c', '/']\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 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/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 1 empty array and simple_word_eval (regression test) [ysh_ALT stdout] Expected "len=0\n['/', '/']\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 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/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 2 Empty array and assignment builtin (regression) [ysh_ALT stdout] Expected 'z=1\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 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/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 3 Shell arrays support tilde detection, static globbing, brace detection [ysh_ALT stdout] Expected "['/home/bob/src', 'bar.py', 'foo.py', 'andy@example.com', 'bob@example.com', '*.py']\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 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/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 4 Basic List, a[42] a['42'] allowed [ysh_ALT stdout] Expected 'len=3\n(Str) "2"\n(Str) "3"\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 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/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 5 Mutate List entries, a[42] a['42'] allowed [ysh_ALT stdout] Expected '(List) ["2",1,"4"]\n(List) ["2",1,9]\n(List) ["2",1,99]\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 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/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 6 string array with command sub, varsub, etc. [ysh_ALT stdout] Expected 'len=4\n1\nhi\nsq\ndq 1\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 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/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 7 Can print type of List with pp [ysh_ALT stdout] Expected '(List) ["true"]\n(List) []\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 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/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 8 splice and stringify array [ysh_ALT stdout] Expected "['a b', 'c']\n", got '' [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 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/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 9 List->extend() [ysh_ALT stdout] Expected '2\n5\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 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/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 10 List append()/extend() should return null [ysh_ALT stdout] Expected 'pass\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 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/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
ysh_ALT | 11 List pop() [ysh_ALT stdout] Expected 'pass\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 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/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |