spec test index / oilshell.org
status | ysh | ysh-cpp | |
pass | 16 | 0 | |
FAIL | 0 | 16 | |
total | 16 | 16 | |
case | ysh | ysh-cpp | description |
0 | pass | FAIL | Bool() |
details | |||
1 | pass | FAIL | Int() |
details | |||
2 | pass | FAIL | Float() |
details | |||
3 | pass | FAIL | Str() |
details | |||
4 | pass | FAIL | Dict() |
details | |||
5 | pass | FAIL | join() |
details | |||
6 | pass | FAIL | abs |
details | |||
7 | pass | FAIL | any() and all() |
details | |||
8 | pass | FAIL | sum() |
details | |||
9 | pass | FAIL | sorted() |
details | |||
10 | pass | FAIL | reversed() |
details | |||
11 | pass | FAIL | @[split(x)] respects IFS |
details | |||
12 | pass | FAIL | @[maybe(x)] |
details | |||
13 | pass | FAIL | maybe() on invalid type is fatal error |
details | |||
14 | pass | FAIL | split() on invalid type is fatal error |
details | |||
15 | pass | FAIL | @[glob(x)] |
details |
16 passed, 0 OK, 0 not implemented, 0 BUG, 16 failed, 0 timeouts, 0 cases skipped
ysh-cpp | 0 Bool() [ysh-cpp stdout] Expected 'false\ntrue\n', got '' [ysh-cpp status] Expected 0, got 1 stdout: stderr: write $a $b ^~ [ stdin ]:3: fatal: Undefined variable 'a' |
ysh-cpp | 1 Int() [ysh-cpp stdout] Expected '3\n-35\n', got '' [ysh-cpp status] Expected 3, got 1 stdout: stderr: write $a $b ^~ [ stdin ]:3: fatal: Undefined variable 'a' |
ysh-cpp | 2 Float() [ysh-cpp stdout] Expected '1.2\n3.4\n', got '' [ysh-cpp status] Expected 0, got 1 stdout: stderr: write $a $b ^~ [ stdin ]:3: fatal: Undefined variable 'a' |
ysh-cpp | 3 Str() [ysh-cpp stdout] Expected '5\n42\n', got '' [ysh-cpp status] Expected 0, got 1 stdout: stderr: write $a $b ^~ [ stdin ]:3: fatal: Undefined variable 'a' |
ysh-cpp | 4 Dict() [ysh-cpp stdout] Expected '0\n', got '\n' stdout: stderr: |
ysh-cpp | 5 join() [ysh-cpp stdout] Expected "['abc d']\n['a:b:c d']\n", got '' [ysh-cpp status] Expected 0, got 1 stdout: stderr: argv.py $y ^~ [ stdin ]:4: fatal: Undefined variable 'y' |
ysh-cpp | 6 abs [ysh-cpp stdout] Expected '505\n5\n0\n5\n', got '\n\n' stdout: stderr: |
ysh-cpp | 7 any() and all() [ysh-cpp stdout] Expected 'true\nfalse\nfalse\n__\ntrue\ntrue\nfalse\n', got '' [ysh-cpp status] Expected 0, got 1 stdout: stderr: write $a1 $a2 $a3 ^~~ [ stdin ]:4: fatal: Undefined variable 'a1' |
ysh-cpp | 8 sum() [ysh-cpp stdout] Expected '3\n45\n42\n', got '\n\n\n' stdout: stderr: |
ysh-cpp | 9 sorted() [ysh-cpp stdout] Expected '0\n1\n2\n', got '' [ysh-cpp status] Expected 0, got 1 stdout: stderr: write @x ^~ [ stdin ]:2: fatal: Can't splice 'x' |
ysh-cpp | 10 reversed() [ysh-cpp stdout] Expected '2\n1\n0\n', got '' [ysh-cpp status] Expected 0, got 1 stdout: stderr: write @x ^~ [ stdin ]:2: fatal: Can't splice 'x' |
ysh-cpp | 11 @[split(x)] respects IFS [ysh-cpp stdout] Expected "['one', 'two', 'three']\n", got '[]\n' stdout: []stderr: |
ysh-cpp | 12 @[maybe(x)] [ysh-cpp stdout] Expected "['a', 'X', 'b']\n['a', 'b']\n", got "['a', 'b']\n['a', 'b']\n" stdout: ['a', 'b'] ['a', 'b']stderr: |
ysh-cpp | 13 maybe() on invalid type is fatal error [ysh-cpp stdout] Expected '', got "['a', 'b']\ndone\n" [ysh-cpp status] Expected 3, got 0 stdout: ['a', 'b'] donestderr: |
ysh-cpp | 14 split() on invalid type is fatal error [ysh-cpp stdout] Expected '--all\n--long\n', got '\n\n' [ysh-cpp status] Expected 3, got 0 stdout: stderr: |
ysh-cpp | 15 @[glob(x)] [ysh-cpp stdout] Expected 'A\nB\n___\na.z\nb.z\n___\n-.z\na.z\nb.z\n', got 'A\nB\n___\n\n___\n\n' stdout: A B ___ ___stderr: |