Results for ysh-stdlib-testing.test.sh

statusyshysh-cpp
FAIL 55
total55
caseyshysh-cppdescription
0FAIL FAIL value.Expr test - positional test
detailsdetails
1FAIL FAIL value.Expr test - named test
detailsdetails
2FAIL FAIL assert builtin
detailsdetails
3FAIL FAIL ysh --tool test file
detailsdetails
4FAIL FAIL Describe Prototype
detailsdetails
0 passed, 0 OK, 0 not implemented, 0 BUG, 5 failed, 0 timeouts, 0 cases skipped
5 failed under osh

Details on runs that didn't PASS

ysh0 value.Expr test - positional test

[ysh stdout] Expected '', got 'parens\n'
[ysh status] Expected 0, got 1

stdout:
parens
stderr:
  module stdlib/testing || return 0
  ^~~~~~
stdlib/testing.ysh:16: 'module' not found (OILS-ERR-100)
  test-expr (42 + 1)
            ^
[ stdin ]:4: fatal: 'test-expr' appears to be external. External commands don't accept typed args (OILS-ERR-200)
ysh-cpp0 value.Expr test - positional test

[ysh-cpp stdout] Expected '', got 'parens\n'
[ysh-cpp status] Expected 0, got 1

stdout:
parens
stderr:
  module stdlib/testing || return 0
  ^~~~~~
stdlib/testing.ysh:16: 'module' not found (OILS-ERR-100)
  test-expr (42 + 1)
            ^
[ stdin ]:4: fatal: 'test-expr' appears to be external. External commands don't accept typed args (OILS-ERR-200)
ysh1 value.Expr test - named test

[ysh stdout] Expected '', got 'parens\n'
[ysh status] Expected 0, got 1

stdout:
parens
stderr:
  module stdlib/testing || return 0
  ^~~~~~
stdlib/testing.ysh:16: 'module' not found (OILS-ERR-100)
  test-named (n=42 + 1)
             ^
[ stdin ]:4: fatal: 'test-named' appears to be external. External commands don't accept typed args (OILS-ERR-200)
ysh-cpp1 value.Expr test - named test

[ysh-cpp stdout] Expected '', got 'parens\n'
[ysh-cpp status] Expected 0, got 1

stdout:
parens
stderr:
  module stdlib/testing || return 0
  ^~~~~~
stdlib/testing.ysh:16: 'module' not found (OILS-ERR-100)
  test-named (n=42 + 1)
             ^
[ stdin ]:4: fatal: 'test-named' appears to be external. External commands don't accept typed args (OILS-ERR-200)
ysh2 assert builtin

[ysh status] Expected 0, got 1

stdout:
stderr: 
  module stdlib/testing || return 0
  ^~~~~~
stdlib/testing.ysh:16: 'module' not found (OILS-ERR-100)
  assert [42 === x]
         ^
[ stdin ]:6: fatal: 'assert' appears to be external. External commands don't accept typed args (OILS-ERR-200)
ysh-cpp2 assert builtin

[ysh-cpp status] Expected 0, got 1

stdout:
stderr: 
  module stdlib/testing || return 0
  ^~~~~~
stdlib/testing.ysh:16: 'module' not found (OILS-ERR-100)
  assert [42 === x]
         ^
[ stdin ]:6: fatal: 'assert' appears to be external. External commands don't accept typed args (OILS-ERR-200)
ysh3 ysh --tool test file

[ysh status] Expected 0, got 1
[ysh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 198, in <module>
    sys.exit(main(sys.argv))
  File "/home/uke/oil/bin/oils_for_unix.py", line 170, in main
    return AppBundleMain(argv)
  File "/home/uke/oil/bin/oils_for_unix.py", line 137, in AppBundleMain
    return shell.Main('ysh', arg_r, environ, login_shell, loader, readline)
  File "/home/uke/oil/core/shell.py", line 1107, in Main
    raise AssertionError('TODO')
AssertionError: TODO
  $SH --tool test mytest.ysh
  ^~~
[ stdin ]:7: errexit PID 32054: command.Simple failed with status 1
ysh-cpp3 ysh --tool test file

[ysh-cpp status] Expected 0, got 134

stdout:
stderr: 
ysh: _gen/bin/oils_for_unix.mycpp.cc:56180: int shell::Main(BigStr*, args::Reader*, Dict<BigStr*, BigStr*>*, bool, pyutil::_ResourceLoader*, py_readline::Readline*): Assertion `0' failed.
  $SH --tool test mytest.ysh
  ^~~
[ stdin ]:7: errexit PID 32070: command.Simple failed with status 134
ysh4 Describe Prototype

[ysh stdout] Expected 'TODO\n', got ''
[ysh status] Expected 0, got 1

stdout:
stderr: 
  module stdlib/testing || return 0
  ^~~~~~
stdlib/testing.ysh:16: 'module' not found (OILS-ERR-100)
  describe p {
             ^
[ stdin ]:9: fatal: 'describe' appears to be external. External commands don't accept typed args (OILS-ERR-200)
ysh-cpp4 Describe Prototype

[ysh-cpp stdout] Expected 'TODO\n', got ''
[ysh-cpp status] Expected 0, got 1

stdout:
stderr: 
  module stdlib/testing || return 0
  ^~~~~~
stdlib/testing.ysh:16: 'module' not found (OILS-ERR-100)
  describe p {
             ^
[ stdin ]:9: fatal: 'describe' appears to be external. External commands don't accept typed args (OILS-ERR-200)