Results for oil-slice-range.test.sh

statusoshosh_ALT
pass 1010
FAIL 22
total1212
caseoshosh_ALTdescription
0pass pass ranges have higher precedence than comparison (disabled)
1pass pass ranges have lower precedence than bitwise operators
2pass pass subscript and range of array
3pass pass subscript and range of list
4pass pass expressions and negative indices
5pass pass Explicit slice with step
6pass pass Index with a Tuple
7pass pass Index with expression
8pass pass Copy wtih a[:]
9FAIL FAIL Slices with Multiple Dimensions (for QTT)
detailsdetails
10FAIL FAIL Index a list with a range, not a slice. TODO: Figure out semantics
detailsdetails
11pass pass Range with list constructor
20 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped
2 failed under osh

Details on runs that didn't PASS

osh9 Slices with Multiple Dimensions (for QTT)

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

stdout:
stderr: 
  qtt pretty :mytable <<< '''
  ^~~
[ stdin ]:1: 'qtt' not found
  var t1 = mytable[2:, :]
           ^~~~~~~
[ stdin ]:8: fatal: Undefined variable 'mytable'
osh_ALT9 Slices with Multiple Dimensions (for QTT)

[osh_ALT stdout] Expected "(Str) 'TODO: Table Slicing'\n(Str) 'TODO: Table Slicing'\n", got ''
[osh_ALT status] Expected 0, got 1

stdout:
stderr: 
  qtt pretty :mytable <<< '''
  ^~~
[ stdin ]:1: 'qtt' not found
  var t1 = mytable[2:, :]
           ^~~~~~~
[ stdin ]:8: fatal: Undefined variable 'mytable'
osh10 Index a list with a range, not a slice. TODO: Figure out semantics

[osh stdout] Expected 'TODO\n', got ''

stdout:
stderr: 
  var myslice = mylist[r]
  ^~~
[ stdin ]:4: fatal: Type error in expression: list indices must be integers, not xrange
osh_ALT10 Index a list with a range, not a slice. TODO: Figure out semantics

[osh_ALT stdout] Expected 'TODO\n', got ''

stdout:
stderr: 
  var myslice = mylist[r]
  ^~~
[ stdin ]:4: fatal: Type error in expression: list indices must be integers, not xrange