spec test index / oilshell.org
status | osh | osh_.py | osh_.cc | |
pass | 10 | 9 | 5 | |
FAIL | 0 | 1 | 5 | |
total | 10 | 10 | 10 | |
case | osh | osh_.py | osh_.cc | description |
0 | pass | pass | pass | Multiple right brackets inside expression |
1 | pass | pass | FAIL | Slicing of string with constants |
details | ||||
2 | pass | pass | FAIL | Slicing of string with variables |
details | ||||
3 | pass | pass | pass | Array index on LHS of assignment |
4 | pass | pass | pass | Array index on LHS with indices |
5 | pass | pass | FAIL | Slicing of string with expressions |
details | ||||
6 | pass | pass | FAIL | Ambiguous colon in slice |
details | ||||
7 | pass | pass | pass | Triple parens should be disambiguated |
8 | pass | pass | pass | Quadruple parens should be disambiguated |
9 | pass | FAIL | FAIL | ExprSub $[] happpens to behave the same on simple cases |
details | details |
24 passed, 0 OK, 0 not implemented, 0 BUG, 6 failed, 0 timeouts, 0 cases skipped
osh_.cc | 1 Slicing of string with constants [osh_.cc stdout] Expected 'abcd abcd b\n', got 'abcd abcd abcd\n' stdout: abcd abcd abcdstderr: |
osh_.cc | 2 Slicing of string with variables [osh_.cc stdout] Expected 'abcd abcd b\n', got 'abcd abcd abcd\n' stdout: abcd abcd abcdstderr: |
osh_.cc | 5 Slicing of string with expressions [osh_.cc stdout] Expected 'abcd abcd b\n', got 'abcd abcd abcd\n' stdout: abcd abcd abcdstderr: |
osh_.cc | 6 Ambiguous colon in slice [osh_.cc stdout] Expected u'2\nc\n', got '2\nabcd\n' stdout: 2 abcdstderr: |
osh_.py | 9 ExprSub $[] happpens to behave the same on simple cases [osh_.py stdout] Expected '3 12\n', got '' [osh_.py status] Expected 0, got 1 [osh_.py stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 341, in <module> status = main(sys.argv) File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 228, in main status = main_loop.Batch(cmd_ev, c_parser, arena, is_main=True) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 165, in Batch is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, optimize=optimize) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1450, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1334, in _Execute status, check_errexit = self._Dispatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 538, in _Dispatch cmd_val = self.word_ev.EvalWordSequence2(words, allow_assign=True) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1854, in EvalWordSequence2 self._EvalWordToParts(w, False, part_vals) # not double quoted File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1441, in _EvalWordToParts self._EvalWordPart(p, part_vals, quoted=quoted, is_subst=is_subst) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1421, in _EvalWordPart py_val = self.expr_ev.EvalExpr(part.child) AttributeError: 'NoneType' object has no attribute 'EvalExpr' |
osh_.cc | 9 ExprSub $[] happpens to behave the same on simple cases [osh_.cc stdout] Expected '3 12\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/pgen2_parse.cc:8: void parse::Parser::setup(int): Assertion `0' failed. |