Results for ysh-case.test.sh

statusyshysh-cpp
pass 41
FAIL 58
total99
caseyshysh-cppdescription
0pass FAIL case syntax, one line
details
1pass FAIL case syntax, multiline
details
2FAIL FAIL case syntax, simple expressions
detailsdetails
3FAIL FAIL case syntax, complex expressions
detailsdetails
4FAIL FAIL case semantics, no match
detailsdetails
5FAIL FAIL case syntax, eggex
detailsdetails
6pass pass empty case statement
7FAIL FAIL typed args
detailsdetails
8pass FAIL old and new case statements
details
5 passed, 0 OK, 0 not implemented, 0 BUG, 13 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

ysh-cpp0 case syntax, one line

[ysh-cpp stdout] Expected 'C++\nheader.h\n', got 'other\n'

stdout:
other
stderr:
ysh-cpp1 case syntax, multiline

[ysh-cpp stdout] Expected 'Python\n', got ''

stdout:
stderr: 
ysh2 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-cpp2 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
ysh3 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-cpp3 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
ysh4 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-cpp4 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
ysh5 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-cpp5 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
ysh7 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-cpp7 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-cpp8 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: