spec test index / oilshell.org
status | ysh | ysh-cpp | |
pass | 7 | 7 | |
FAIL | 1 | 1 | |
total | 8 | 8 | |
case | ysh | ysh-cpp | description |
0 | pass | pass | ctx push and set |
1 | pass | pass | ctx emit |
2 | pass | pass | nested ctx |
3 | pass | pass | error in context |
4 | pass | pass | no context, set |
5 | pass | pass | no context, emit |
6 | FAIL | FAIL | mini-parseArgs |
details | details | ||
7 | pass | pass | ctx with value.Place, not List/Dict (error location bug fix) |
14 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
ysh | 6 mini-parseArgs [ysh stdout] Expected '{\n "flag": [\n {\n "short_name": "-t",\n "long_name": "--tsv",\n "type": "Bool",\n "help": "Output as a TSV"\n },\n {\n "short_name": "-r",\n "long_name": "--recursive",\n "type": "Bool",\n "help": "Recurse into the given directory"\n },\n {\n "short_name": "-N",\n "long_name": "--count",\n "type": "Int",\n "help": "Process no more than N files"\n }\n ],\n "arg": [\n {\n "name": "path"\n }\n ]\n}\n' Got '' [ysh status] Expected 0, got 1 stdout: stderr: flag -t --tsv (Bool, help='Output as a TSV') ^ [ stdin ]:18: fatal: 'flag' appears to be external. External commands don't accept typed args (OILS-ERR-200) |
ysh-cpp | 6 mini-parseArgs [ysh-cpp stdout] Expected '{\n "flag": [\n {\n "short_name": "-t",\n "long_name": "--tsv",\n "type": "Bool",\n "help": "Output as a TSV"\n },\n {\n "short_name": "-r",\n "long_name": "--recursive",\n "type": "Bool",\n "help": "Recurse into the given directory"\n },\n {\n "short_name": "-N",\n "long_name": "--count",\n "type": "Int",\n "help": "Process no more than N files"\n }\n ],\n "arg": [\n {\n "name": "path"\n }\n ]\n}\n' Got '' [ysh-cpp status] Expected 0, got 1 stdout: stderr: flag -t --tsv (Bool, help='Output as a TSV') ^ [ stdin ]:18: fatal: 'flag' appears to be external. External commands don't accept typed args (OILS-ERR-200) |