Results for hay.test.sh

statusoshosh-cpp
pass 192
FAIL 219
total2121
caseoshosh-cppdescription
0pass pass use bin
1pass pass use dialect
2pass FAIL hay builtin usage
details
3pass FAIL hay reset
details
4pass FAIL hay eval can't be nested
details
5pass FAIL hay names at top level
details
6pass FAIL Parsing Nested Attributes nodes (bug fix)
details
7pass FAIL hay eval attr node, and JSON
details
8pass FAIL hay eval shell node, and JSON
details
9pass FAIL _hay() register
details
10pass FAIL haynode builtin can define nodes
details
11pass FAIL haynode: usage errors (name or block required)
details
12pass FAIL haynode: shell nodes require block args; attribute nodes don't
details
13pass FAIL hay eval with shopt -s oil:all
details
14pass FAIL Scope of Variables Inside Hay Blocks
details
15pass FAIL hay define and then an error
details
16pass FAIL parse_hay()
details
17pass FAIL Code Blocks: parse_hay() then shvar _DIALECT= { eval_hay() }
details
18pass FAIL Attribute / Data Blocks (package-manager)
details
19FAIL FAIL Typed Args to Hay Node
detailsdetails
20FAIL FAIL OSH and hay (dynamic parsing)
detailsdetails
21 passed, 0 OK, 0 not implemented, 0 BUG, 21 failed, 0 timeouts, 0 cases skipped
2 failed under osh

Details on runs that didn't PASS

osh-cpp2 hay builtin usage

[osh-cpp stdout] Expected 'status=2\nstatus=0\nread 0\ngreater 0\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'KeyError*'
timeout: the monitored command dumped core
osh-cpp3 hay reset

[osh-cpp stdout] Expected 'package 0\nreset 0\n', got ''
[osh-cpp status] Expected 127, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'KeyError*'
timeout: the monitored command dumped core
osh-cpp4 hay eval can't be nested

[osh-cpp stdout] Expected 'foo\n', got ''
[osh-cpp status] Expected 127, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'KeyError*'
timeout: the monitored command dumped core
osh-cpp5 hay names at top level

[osh-cpp stdout] Expected 'status=0\n1 one\nstatus=0\n1 two\nstatus=0\n1 three\n' Got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'KeyError*'
timeout: the monitored command dumped core
osh-cpp6 Parsing Nested Attributes nodes (bug fix)

[osh-cpp status] Expected 2, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'KeyError*'
timeout: the monitored command dumped core
osh-cpp7 hay eval attr node, and JSON

[osh-cpp stdout] Expected 'diff 0\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'KeyError*'
timeout: the monitored command dumped core
osh-cpp8 hay eval shell node, and JSON

[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'KeyError*'
timeout: the monitored command dumped core
osh-cpp9 _hay() register

[osh-cpp stdout] Expected '1\n2\n0\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'KeyError*'
timeout: the monitored command dumped core
osh-cpp10 haynode builtin can define nodes

[osh-cpp stdout] Expected 'level 0 children\n1\nlevel 1 children\n2\nlevel 0 children\n2\n' Got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'KeyError*'
timeout: the monitored command dumped core
osh-cpp11 haynode: usage errors (name or block required)

[osh-cpp stdout] Expected 'haynode attr 2\nLEN 0\nhaynode code 2\nLEN 0\n---\ndefine attr 2\nLEN 0\ndefine code 2\nLEN 0\n' Got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'KeyError*'
timeout: the monitored command dumped core
osh-cpp12 haynode: shell nodes require block args; attribute nodes don't

[osh-cpp stdout] Expected 'status 0\nstatus 2\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'KeyError*'
timeout: the monitored command dumped core
osh-cpp13 hay eval with shopt -s oil:all

[osh-cpp stdout] Expected 'foo bar\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'KeyError*'
timeout: the monitored command dumped core
osh-cpp14 Scope of Variables Inside Hay Blocks

[osh-cpp stdout] Expected 'location = https://example.com/downloads/foo.tar.gz\nbackup = https://archive.example.com/downloads/foo.tar.gz\ndeps location https://example.com/downloads/spam.tar.gz\ndeps backup https://archive.example.com/downloads/spam.tar.xz\nAFTER downloads/foo.tar.gz\n' Got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'KeyError*'
timeout: the monitored command dumped core
osh-cpp15 hay define and then an error

[osh-cpp stdout] Expected 'user 0\npackage 0\nTASK 0\ninside\nlicense 0\nlicense 0\n' Got ''
[osh-cpp status] Expected 127, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'KeyError*'
timeout: the monitored command dumped core
osh-cpp16 parse_hay()

[osh-cpp stdout] Expected 'OK\n', got ''

stdout:
stderr: 
osh-cpp17 Code Blocks: parse_hay() then shvar _DIALECT= { eval_hay() }

[osh-cpp stdout] Expected 'level 0 children\n2\n---\nchild 0\nTASK\ncpp\n---\nchild 1\nTASK\npublish-html\n---\n' Got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'KeyError*'
timeout: the monitored command dumped core
osh-cpp18 Attribute / Data Blocks (package-manager)

[osh-cpp stdout] Expected 'level 0 children\n3\nlevel 1 children\n0\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'KeyError*'
timeout: the monitored command dumped core
osh19 Typed Args to Hay Node

[osh status] Expected 0, got 2

stdout:
stderr: 
  when NAME (x > 0) {
            ^
[ stdin ]:6: 'when' Too many typed args (expected one block)
[ stdin ]:6: errexit PID 25958: command.Simple failed with status 2
osh-cpp19 Typed Args to Hay Node

[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'KeyError*'
timeout: the monitored command dumped core
osh20 OSH and hay (dynamic parsing)

[osh stdout] Expected "backticks\neval\nTYPE TASK\nCODE \n echo `echo task backticks`\n eval 'echo task eval'\n ___\n" Got 'backticks\neval\n'
[osh status] Expected 0, got 3

stdout:
backticks
eval
stderr:
  const children = _hay()->children[0]->children
        ^~~~~~~~
'/home/andy/git/oilshell/oil/spec/testdata/config/osh-hay.osh':27: fatal: Expression eval error: 'OrderedDict' object has no attribute 'children'
  source $REPO_ROOT/spec/testdata/config/osh-hay.osh
  ^~~~~~
[ stdin ]:1: errexit PID 26187: command.Simple failed with status 3
osh-cpp20 OSH and hay (dynamic parsing)

[osh-cpp stdout] Expected "backticks\neval\nTYPE TASK\nCODE \n echo `echo task backticks`\n eval 'echo task eval'\n ___\n" Got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'KeyError*'
timeout: the monitored command dumped core