status | ysh | ysh-cpp | |
pass | 8 | 8 | |
FAIL | 3 | 3 | |
total | 11 | 11 | |
case | ysh | ysh-cpp | description |
0 | pass | pass | getFrame() |
1 | FAIL | FAIL | bindFrame() |
details | details | ||
2 | pass | pass | vm.getDebugStack() |
3 | pass | pass | DebugFrame.toString() running file |
4 | pass | pass | DebugFrame.toString() running stdin and -c |
5 | pass | pass | DebugFrame.toString() running eval |
6 | FAIL | FAIL | DebugFrame.toString() running eval methods |
details | details | ||
7 | FAIL | FAIL | DebugFrame.toString() running YSH functions |
details | details | ||
8 | pass | pass | DebugFrame.toString() with 'use' builtin |
9 | pass | pass | FUNCNAME BASH_LINENO BASH_SOURCE not available with YSH functions |
10 | pass | pass | DebugFrame.toString() with trap ERR |
16 passed, 0 OK, 0 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped 3 failed under osh
ysh | 1 bindFrame() [ysh stdout] Expected '', got '<Command>\n(Null) null\n' stdout: <Command> (Null) nullstderr: |
ysh-cpp | 1 bindFrame() [ysh-cpp stdout] Expected '', got '<Command>\n(Null) null\n' stdout: <Command> (Null) nullstderr: |
ysh | 6 DebugFrame.toString() running eval methods [ysh stdout] Expected 'z\n', got ' %1 [ -c flag ]:3\n var b = ^(my-proc a b)\n ^~~~~~~\n %2 MYROOT/spec/testdata/debug-frame-lib.ysh:15\n print-stack\n ^~~~~~~~~~~\n' stdout: %1 [ -c flag ]:3 var b = ^(my-proc a b) ^~~~~~~ %2 MYROOT/spec/testdata/debug-frame-lib.ysh:15 print-stack ^~~~~~~~~~~stderr: |
ysh-cpp | 6 DebugFrame.toString() running eval methods [ysh-cpp stdout] Expected 'z\n', got ' %1 [ -c flag ]:3\n var b = ^(my-proc a b)\n ^~~~~~~\n %2 MYROOT/spec/testdata/debug-frame-lib.ysh:15\n print-stack\n ^~~~~~~~~~~\n' stdout: %1 [ -c flag ]:3 var b = ^(my-proc a b) ^~~~~~~ %2 MYROOT/spec/testdata/debug-frame-lib.ysh:15 print-stack ^~~~~~~~~~~stderr: |
ysh | 7 DebugFrame.toString() running YSH functions [ysh stdout] Expected 'z\n', got ' #1 [ -c flag ]:1\n source $[ENV.REPO_ROOT]/spec/testdata/debug-frame-lib.ysh; call-func\n ^~~~~~~~~\n #2 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:19\n var x = myfunc(99)\n ^\n #3 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:29\n return (myfunc2(x+1, 42))\n ^~~~~~\n #4 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:24\n print-stack\n ^~~~~~~~~~~\n142\n\n' stdout: #1 [ -c flag ]:1 source $[ENV.REPO_ROOT]/spec/testdata/debug-frame-lib.ysh; call-func ^~~~~~~~~ #2 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:19 var x = myfunc(99) ^ #3 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:29 return (myfunc2(x+1, 42)) ^~~~~~ #4 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:24 print-stack ^~~~~~~~~~~ 142stderr: |
ysh-cpp | 7 DebugFrame.toString() running YSH functions [ysh-cpp stdout] Expected 'z\n', got ' #1 [ -c flag ]:1\n source $[ENV.REPO_ROOT]/spec/testdata/debug-frame-lib.ysh; call-func\n ^~~~~~~~~\n #2 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:19\n var x = myfunc(99)\n ^\n #3 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:29\n return (myfunc2(x+1, 42))\n ^~~~~~\n #4 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:24\n print-stack\n ^~~~~~~~~~~\n142\n\n' stdout: #1 [ -c flag ]:1 source $[ENV.REPO_ROOT]/spec/testdata/debug-frame-lib.ysh; call-func ^~~~~~~~~ #2 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:19 var x = myfunc(99) ^ #3 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:29 return (myfunc2(x+1, 42)) ^~~~~~ #4 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:24 print-stack ^~~~~~~~~~~ 142stderr: |