Results for ysh-slice-range.test.sh

statusoshosh_ALT
pass 55
FAIL 55
total1010
caseoshosh_ALTdescription
0FAIL FAIL precedence of 1:3 vs comparison
detailsdetails
1FAIL FAIL precedence of 1:3 vs bitwise operator
detailsdetails
2pass pass subscript and slice :| 1 2 3 4 |
3pass pass subscript and slice of List
4pass pass expressions and negative indices
5pass pass Index with expression
6pass pass Copy wtih a[:]
7FAIL FAIL Slices with Multiple Dimensions (for QTT)
detailsdetails
8FAIL FAIL Index a list with a range, not a slice. TODO: Figure out semantics
detailsdetails
9FAIL FAIL List(0:3) should copy the list?
detailsdetails
10 passed, 0 OK, 0 not implemented, 0 BUG, 5 failed, 0 timeouts, 0 cases skipped
5 failed under osh

Details on runs that didn't PASS

osh0 precedence of 1:3 vs comparison

[osh stdout] Expected '(xrange) xrange(1, 3)\n', got ''
[osh status] Expected 0, got 2

stdout:
stderr: 
[??? no location ???] Ranges not implemented
osh_ALT0 precedence of 1:3 vs comparison

[osh_ALT stdout] Expected '(xrange) xrange(1, 3)\n', got ''
[osh_ALT status] Expected 0, got 2

stdout:
stderr: 
[??? no location ???] Ranges not implemented
osh1 precedence of 1:3 vs bitwise operator

[osh stdout] Expected '(xrange) xrange(3, 7)\n', got ''
[osh status] Expected 0, got 2

stdout:
stderr: 
[??? no location ???] Ranges not implemented
osh_ALT1 precedence of 1:3 vs bitwise operator

[osh_ALT stdout] Expected '(xrange) xrange(3, 7)\n', got ''
[osh_ALT status] Expected 0, got 2

stdout:
stderr: 
[??? no location ???] Ranges not implemented
osh7 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 2

stdout:
stderr: 
  qtt pretty :mytable <<< '''
  ^~~
[ stdin ]:1: 'qtt' not found
  var t1 = mytable[2:, :]
                     ^
[ stdin ]:8: Only 1 subscript is accepted
osh_ALT7 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 2

stdout:
stderr: 
  qtt pretty :mytable <<< '''
  ^~~
[ stdin ]:1: 'qtt' not found
  var t1 = mytable[2:, :]
                     ^
[ stdin ]:8: Only 1 subscript is accepted
osh8 Index a list with a range, not a slice. TODO: Figure out semantics

[osh stdout] Expected 'TODO\n', got ''
[osh status] Expected 3, got 2

stdout:
stderr: 
[??? no location ???] Ranges not implemented
osh_ALT8 Index a list with a range, not a slice. TODO: Figure out semantics

[osh_ALT stdout] Expected 'TODO\n', got ''
[osh_ALT status] Expected 3, got 2

stdout:
stderr: 
[??? no location ???] Ranges not implemented
osh9 List(0:3) should copy the list?

[osh stdout] Expected '0\n1\n2\n', got ''
[osh status] Expected 0, got 2

stdout:
stderr: 
[??? no location ???] Ranges not implemented
osh_ALT9 List(0:3) should copy the list?

[osh_ALT stdout] Expected '0\n1\n2\n', got ''
[osh_ALT status] Expected 0, got 2

stdout:
stderr: 
[??? no location ???] Ranges not implemented