spec test index / oilshell.org
102 passed, 0 OK, 0 not implemented, 0 BUG, 5 failed, 0 timeouts, 0 cases skipped 5 failed under osh
osh | 16 Wrong sigil $range() shows representation of iterator? [osh stdout] Expected 'TODO\n', got 'xrange(10, 16, 2)\n' stdout: xrange(10, 16, 2)stderr: |
osh_ALT | 16 Wrong sigil $range() shows representation of iterator? [osh_ALT stdout] Expected 'TODO\n', got 'xrange(10, 16, 2)\n' stdout: xrange(10, 16, 2)stderr: |
osh | 17 Wrong sigil @max(3, 4) [osh stdout] Expected 'TODO\n', got '' [osh status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oil.py", line 917, in <module> sys.exit(main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oil.py", line 875, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oil.py", line 845, in AppBundleMain status = ShellMain('osh', argv0, main_argv, login_shell) File "/home/andy/git/oilshell/oil/bin/oil.py", line 655, in ShellMain status = main_loop.Batch(ex, c_parser, arena, nodes_out=nodes_out) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 162, in Batch is_return, is_fatal = ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1571, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1519, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 830, in _Dispatch cmd_val = self.word_ev.EvalWordSequence2(words, allow_assign=True) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1444, in EvalWordSequence2 return self.StaticEvalWordSequence2(words, allow_assign) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1406, in StaticEvalWordSequence2 self._EvalWordToParts(w, False, part_vals) # not double quoted File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1074, in _EvalWordToParts self._EvalWordPart(p, part_vals, quoted=quoted, is_subst=is_subst) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1049, in _EvalWordPart a = [str(item) for item in func(*pos_args, **named_args)] TypeError: 'int' object is not iterable |
osh_ALT | 17 Wrong sigil @max(3, 4) [osh_ALT stdout] Expected 'TODO\n', got '' [osh_ALT status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oil.py", line 904, in _cpython_main_hook sys.exit(main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oil.py", line 875, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oil.py", line 845, in AppBundleMain status = ShellMain('osh', argv0, main_argv, login_shell) File "/home/andy/git/oilshell/oil/bin/oil.py", line 655, in ShellMain status = main_loop.Batch(ex, c_parser, arena, nodes_out=nodes_out) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 168, in Batch return status File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1571, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1519, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 877, in _Dispatch self.mem.PopTemp() File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1444, in EvalWordSequence2 return self.StaticEvalWordSequence2(words, allow_assign) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1406, in StaticEvalWordSequence2 self._EvalWordToParts(w, False, part_vals) # not double quoted File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1074, in _EvalWordToParts self._EvalWordPart(p, part_vals, quoted=quoted, is_subst=is_subst) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1060, in _EvalWordPart part_vals.append(part_val) TypeError: 'int' object is not iterable FATAL: couldn't import from app bundle '/home/andy/git/oilshell/oil/_tmp/oil-tar-test/oil-0.7.pre6/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh | 18 nested expr contexts [osh stdout] Expected 'len\n3\n', got '' [osh status] Expected 0, got 2 stdout: stderr: [??? no location ???] TODO: can't be nested |
osh_ALT | 18 nested expr contexts [osh_ALT stdout] Expected 'len\n3\n', got '' [osh_ALT status] Expected 0, got 2 stdout: stderr: [??? no location ???] TODO: can't be nested |
osh | 32 Float Literals with _ (requires re2c refinement) [osh stdout] Expected 'less\ngreat\n', got '' [osh status] Expected 0, got 2 stdout: stderr: var x = 1.2 + 2_3.0e-1 # 3.5 ^~~~ [ stdin ]:2: Syntax error in expression |
osh_ALT | 32 Float Literals with _ (requires re2c refinement) [osh_ALT stdout] Expected 'less\ngreat\n', got '' [osh_ALT status] Expected 0, got 2 stdout: stderr: var x = 1.2 + 2_3.0e-1 # 3.5 ^~~~ [ stdin ]:2: Syntax error in expression |
osh | 54 obj.method does NOT give you a bound method [osh stdout] Expected '', got '<built-in method upper of str object at 0x7f8e3c6af6e8>\n' stdout: <built-in method upper of str object at 0x7f8e3c6af6e8>stderr: |
osh_ALT | 54 obj.method does NOT give you a bound method [osh_ALT stdout] Expected '', got '<built-in method upper of str object at 0x7f7f313117b0>\n' stdout: <built-in method upper of str object at 0x7f7f313117b0>stderr: |