Results for ysh-augmented.test.sh

statusoshosh_ALT
pass 120
FAIL 012
total1212
caseoshosh_ALTdescription
0pass FAIL Augmented assignment doesn't work on List
details
1pass FAIL Augmented assignment respects command_sub_errexit
details
2pass FAIL Augmented assignment with integers
details
3pass FAIL Augmented assignment on string changes to Int Float
details
4pass FAIL Augmented assignment with floats
details
5pass FAIL Int/Float augmented += -= *= /=
details
6pass FAIL Int Augmented //= %= **= and bitwise ops
details
7pass FAIL Augmented assignment of Dict
details
8pass FAIL Augmented assignment of List
details
9pass FAIL Dict with nonexistent key (bug fix)
details
10pass FAIL List with nonexistent elemnt
details
11pass FAIL Augmented assignment doesn't work with multiple LHS
details
12 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh_ALT0 Augmented assignment doesn't work on List

[osh_ALT stdout] Expected "['a', 'b c']\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_ALT1 Augmented assignment respects command_sub_errexit

[osh_ALT stdout] Expected 'x=45\n', got ''
[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_ALT2 Augmented assignment with integers

[osh_ALT stdout] Expected 'x=7\nx=11\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_ALT3 Augmented assignment on string changes to Int Float

[osh_ALT stdout] Expected '(Str) "42"\n(Int) 46\n(Int) 55\n(Float) 10.5\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_ALT4 Augmented assignment with floats

[osh_ALT stdout] Expected '43.5\n45.0\n48.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 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_ALT5 Int/Float augmented += -= *= /=

[osh_ALT stdout] Expected 'x=7\nx=30\nx=5.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 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_ALT6 Int Augmented //= %= **= and bitwise ops

[osh_ALT stdout] Expected 'x=3\nx=1\nx=1000\n\nbitwise\nx=5\nx=15\nx=3\n\nshift\nx=16\nx=4\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_ALT7 Augmented assignment of Dict

[osh_ALT stdout] Expected '43.5\n45.0\n48.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 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_ALT8 Augmented assignment of List

[osh_ALT stdout] Expected '31 42\n31 21\n31 10.5\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_ALT9 Dict with nonexistent key (bug fix)

[osh_ALT stdout] Expected '44\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_ALT10 List with nonexistent elemnt

[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_ALT11 Augmented assignment doesn't work with multiple LHS

[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 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