ysh-slice-range () { run-file ysh-slice-range "$@" } run-file () { local spec_name=$1; shift; sh-spec spec/$spec_name.test.sh --compare-shells --oils-bin-dir $PWD/bin "$@" } ysh-slice-range: spec test case results

Results for ysh-slice-range.test.sh

statusosh
pass 10
FAIL 1
total11
caseoshdescription
0pass precedence of 1:3 vs comparison
1pass precedence of 1:3 vs bitwise operator
2pass subscript and slice :| 1 2 3 4 |
3pass slice subscripts are adjusted like Python
4pass subscript and slice of List
5pass expressions and negative indices
6pass Index with expression
7pass Copy with a[:]
8pass Iterate over range
9pass Loops over bogus ranges terminate
10FAIL Slices with Multiple Dimensions (for TSV8?)
details
10 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

osh10 Slices with Multiple Dimensions (for TSV8?)

[osh stdout] Expected "(Str) 'TODO: Table Slicing'\n(Str) 'TODO: Table Slicing'\n" Got ''
[osh status] Expected 0, got 2

stdout:
stderr: 
  qtt pretty :mytable <<< '''
  ^~~
[ stdin ]:1: 'qtt' not found (OILS-ERR-100)
  var t1 = mytable[2:, :]
                     ^
[ stdin ]:8: Only 1 subscript is accepted