spec test index / oilshell.org
| status | osh | osh_.py | osh_.cc | |
| pass | 11 | 11 | 10 | |
| FAIL | 0 | 0 | 1 | |
| total | 11 | 11 | 11 | |
| case | osh | osh_.py | osh_.cc | description |
| 0 | pass | pass | pass | recursive arith: one level |
| 1 | pass | pass | pass | recursive arith: two levels |
| 2 | pass | pass | pass | recursive arith: short circuit &&, || |
| 3 | pass | pass | pass | recursive arith: short circuit ?: |
| 4 | pass | pass | pass | recursive arith: side effects |
| 5 | pass | pass | FAIL | recursive arith: recursion |
| details | ||||
| 6 | pass | pass | pass | recursive arith: array elements |
| 7 | pass | pass | pass | dynamic arith varname: assign |
| 8 | pass | pass | pass | dynamic arith varname: read |
| 9 | pass | pass | pass | dynamic arith varname: copy/add |
| 10 | pass | pass | pass | is-array with ${var@a} |
32 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped
| osh_.cc | 5 recursive arith: recursion [osh_.cc stdout] Expected '5050\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: mycpp/gc_heap.h:226: void gc_heap::Heap::PushRoot(gc_heap::Obj**): Assertion `roots_top_ < kMaxRoots' failed. |