spec test index / oilshell.org
status | osh | osh_ALT | |
pass | 3 | 0 | |
FAIL | 0 | 3 | |
total | 3 | 3 | |
case | osh | osh_ALT | description |
0 | pass | FAIL | --builtin flag |
details | |||
1 | pass | FAIL | no path passed with --builtin flag |
details | |||
2 | pass | FAIL | non-existent path passed to --builtin flag |
details |
3 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
osh_ALT | 0 --builtin flag [osh_ALT stdout] Expected '2\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 69, in <module> tb = sys.exc_info()[2] AttributeError: 'module' object has no attribute 'exc_info' 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 no path passed with --builtin flag [osh_ALT status] Expected 2, 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 69, in <module> tb = sys.exc_info()[2] AttributeError: 'module' object has no attribute 'exc_info' 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 non-existent path passed to --builtin flag [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 69, in <module> tb = sys.exc_info()[2] AttributeError: 'module' object has no attribute 'exc_info' 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 |