spec test index / oilshell.org
status | ysh | ysh-cpp | |
pass | 4 | 1 | |
FAIL | 5 | 8 | |
total | 9 | 9 | |
case | ysh | ysh-cpp | description |
0 | pass | FAIL | case syntax, one line |
details | |||
1 | pass | FAIL | case syntax, multiline |
details | |||
2 | FAIL | FAIL | case syntax, simple expressions |
details | details | ||
3 | FAIL | FAIL | case syntax, complex expressions |
details | details | ||
4 | FAIL | FAIL | case semantics, no match |
details | details | ||
5 | FAIL | FAIL | case syntax, eggex |
details | details | ||
6 | pass | pass | empty case statement |
7 | FAIL | FAIL | typed args |
details | details | ||
8 | pass | FAIL | old and new case statements |
details |
5 passed, 0 OK, 0 not implemented, 0 BUG, 13 failed, 0 timeouts, 0 cases skipped
ysh-cpp | 0 case syntax, one line [ysh-cpp stdout] Expected 'C++\nheader.h\n', got 'other\n' stdout: otherstderr: |
ysh-cpp | 1 case syntax, multiline [ysh-cpp stdout] Expected 'Python\n', got '' stdout: stderr: |
ysh | 2 case syntax, simple expressions [ysh stdout] Expected 'three\n', got '' [ysh status] Expected 0, got 1 [ysh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 224, in <module> sys.exit(main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 199, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 143, in AppBundleMain return shell.Main('ysh', arg_r, environ, login_shell, loader, readline) File "/home/andy/git/oilshell/oil/core/shell.py", line 910, in Main cmd_flags=cmd_eval.IsMainProgram) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 348, in Batch is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1790, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1616, in _Execute status = self._Dispatch(node, cmd_st) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1514, in _Dispatch raise NotImplementedError() NotImplementedError |
ysh-cpp | 2 case syntax, simple expressions [ysh-cpp stdout] Expected 'three\n', got '' [ysh-cpp status] Expected 0, got -6 stdout: stderr: ysh: _gen/bin/oils_for_unix.mycpp.cc:25101: int cmd_eval::CommandEvaluator::_Dispatch(syntax_asdl::command_t*, runtime_asdl::CommandStatus*): Assertion `false' failed. timeout: the monitored command dumped core |
ysh | 3 case syntax, complex expressions [ysh status] Expected 0, got 1 [ysh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 224, in <module> sys.exit(main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 199, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 143, in AppBundleMain return shell.Main('ysh', arg_r, environ, login_shell, loader, readline) File "/home/andy/git/oilshell/oil/core/shell.py", line 910, in Main cmd_flags=cmd_eval.IsMainProgram) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 348, in Batch is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1790, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1616, in _Execute status = self._Dispatch(node, cmd_st) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1514, in _Dispatch raise NotImplementedError() NotImplementedError |
ysh-cpp | 3 case syntax, complex expressions [ysh-cpp status] Expected 0, got -6 stdout: stderr: ysh: _gen/bin/oils_for_unix.mycpp.cc:25101: int cmd_eval::CommandEvaluator::_Dispatch(syntax_asdl::command_t*, runtime_asdl::CommandStatus*): Assertion `false' failed. timeout: the monitored command dumped core |
ysh | 4 case semantics, no match [ysh status] Expected 0, got 1 [ysh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 224, in <module> sys.exit(main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 199, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 143, in AppBundleMain return shell.Main('ysh', arg_r, environ, login_shell, loader, readline) File "/home/andy/git/oilshell/oil/core/shell.py", line 910, in Main cmd_flags=cmd_eval.IsMainProgram) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 348, in Batch is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1790, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1616, in _Execute status = self._Dispatch(node, cmd_st) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1514, in _Dispatch raise NotImplementedError() NotImplementedError |
ysh-cpp | 4 case semantics, no match [ysh-cpp status] Expected 0, got -6 stdout: stderr: ysh: _gen/bin/oils_for_unix.mycpp.cc:25101: int cmd_eval::CommandEvaluator::_Dispatch(syntax_asdl::command_t*, runtime_asdl::CommandStatus*): Assertion `false' failed. timeout: the monitored command dumped core |
ysh | 5 case syntax, eggex [ysh status] Expected 0, got 1 [ysh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 224, in <module> sys.exit(main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 199, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 143, in AppBundleMain return shell.Main('ysh', arg_r, environ, login_shell, loader, readline) File "/home/andy/git/oilshell/oil/core/shell.py", line 910, in Main cmd_flags=cmd_eval.IsMainProgram) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 348, in Batch is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1790, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1616, in _Execute status = self._Dispatch(node, cmd_st) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1514, in _Dispatch raise NotImplementedError() NotImplementedError |
ysh-cpp | 5 case syntax, eggex [ysh-cpp status] Expected 0, got -6 stdout: stderr: ysh: _gen/bin/oils_for_unix.mycpp.cc:25101: int cmd_eval::CommandEvaluator::_Dispatch(syntax_asdl::command_t*, runtime_asdl::CommandStatus*): Assertion `false' failed. timeout: the monitored command dumped core |
ysh | 7 typed args [ysh stdout] Expected 'string\n', got '' [ysh status] Expected 0, got 1 [ysh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 224, in <module> sys.exit(main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 199, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 143, in AppBundleMain return shell.Main('ysh', arg_r, environ, login_shell, loader, readline) File "/home/andy/git/oilshell/oil/core/shell.py", line 910, in Main cmd_flags=cmd_eval.IsMainProgram) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 348, in Batch is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1790, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1616, in _Execute status = self._Dispatch(node, cmd_st) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1514, in _Dispatch raise NotImplementedError() NotImplementedError |
ysh-cpp | 7 typed args [ysh-cpp stdout] Expected 'string\n', got '' [ysh-cpp status] Expected 0, got -6 stdout: stderr: ysh: _gen/bin/oils_for_unix.mycpp.cc:25101: int cmd_eval::CommandEvaluator::_Dispatch(syntax_asdl::command_t*, runtime_asdl::CommandStatus*): Assertion `false' failed. timeout: the monitored command dumped core |
ysh-cpp | 8 old and new case statements [ysh-cpp stdout] Expected 'file\nfile\n--\nother\nother\n--\n', got 'file\nother\n--\nother\nother\n--\n' stdout: file other -- other other --stderr: |