spec test index / oilshell.org
status | osh | osh_ALT | |
pass | 11 | 0 | |
FAIL | 0 | 11 | |
total | 11 | 11 | |
case | osh | osh_ALT | description |
0 | pass | FAIL | Float Literals with e-1 |
details | |||
1 | pass | FAIL | Float Literal with _ |
details | |||
2 | pass | FAIL | Period requires digit on either side, not 5. or .5 |
details | |||
3 | pass | FAIL | Big float Literals with _ |
details | |||
4 | pass | FAIL | Big floats like 1e309 and -1e309 go to Inf / -Inf |
details | |||
5 | pass | FAIL | Tiny floats go to zero |
details | |||
6 | pass | FAIL | floatEquals() INFINITY NAN |
details | |||
7 | pass | FAIL | pretty print INFINITY, -INFINITY, NAN |
details | |||
8 | pass | FAIL | can't convert NAN, INFINITY to integer |
details | |||
9 | pass | FAIL | Regression: 1/3 gives 0.3+ |
details | |||
10 | pass | FAIL | Number of digits in 1/3 |
details |
11 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
osh_ALT | 0 Float Literals with e-1 [osh_ALT stdout] Expected 'ok\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 Float Literal with _ [osh_ALT stdout] Expected 'ok\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 | 2 Period requires digit on either side, not 5. or .5 [osh_ALT stdout] Expected '0.5\n5.0\n', got '' [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 | 3 Big float Literals with _ [osh_ALT stdout] Expected '42000.0005\n420000.005\n4200.00005\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 | 4 Big floats like 1e309 and -1e309 go to Inf / -Inf [osh_ALT stdout] Expected 'inf\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 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 | 5 Tiny floats go to zero [osh_ALT stdout] Expected 'float=0.0\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 | 6 floatEquals() INFINITY NAN [osh_ALT stdout] Expected 'inf\nneg_inf\nnan is not nan\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 | 7 pretty print INFINITY, -INFINITY, NAN [osh_ALT stdout] Expected '(List) [INFINITY, -INFINITY, NAN]\n(List) [INFINITY,-INFINITY,NAN]\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 | 8 can't convert NAN, INFINITY to integer [osh_ALT stdout] Expected 'code 3\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 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 | 9 Regression: 1/3 gives 0.3+ [osh_ALT stdout] Expected 'one-third\ntwo-thirds\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 | 10 Number of digits in 1/3 [osh_ALT stdout] Expected 'pass\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 |