Skip to content

Commit

Permalink
Updating compliance tests to use prune-unused OPA compiler flag
Browse files Browse the repository at this point in the history
WIP: Need to figure out if use of this flag has negative impact on test coverage

Partially fixes #110

Signed-off-by: Johan Fylling <johan.dev@fylling.se>
  • Loading branch information
johanfylling committed Aug 23, 2022
1 parent 710a08b commit b922705
Show file tree
Hide file tree
Showing 210 changed files with 47,063 additions and 37,144 deletions.
77 changes: 0 additions & 77 deletions src/test/resources/compliance/aggregates/test-aggregates-0002.json
Original file line number Diff line number Diff line change
Expand Up @@ -658,83 +658,6 @@
}
],
"name": "generated"
},
{
"blocks": [
{
"stmts": [
{
"stmt": {
"args": [
{
"type": "local",
"value": 0
},
{
"type": "local",
"value": 1
}
],
"col": 0,
"file": 0,
"func": "g0.data.generated.p",
"result": 9,
"row": 0
},
"type": "CallStmt"
},
{
"stmt": {
"col": 0,
"file": 0,
"row": 0,
"source": {
"type": "local",
"value": 9
},
"target": 10
},
"type": "AssignVarStmt"
},
{
"stmt": {
"col": 0,
"file": 0,
"row": 0,
"target": 11
},
"type": "MakeObjectStmt"
},
{
"stmt": {
"col": 0,
"file": 0,
"key": {
"type": "string_index",
"value": 0
},
"object": 11,
"row": 0,
"value": {
"type": "local",
"value": 10
}
},
"type": "ObjectInsertStmt"
},
{
"stmt": {
"col": 0,
"file": 0,
"row": 0,
"value": 11
},
"type": "ResultSetAddStmt"
}
]
}
],
"name": "generated/p"
}
]
},
Expand Down
77 changes: 0 additions & 77 deletions src/test/resources/compliance/aggregates/test-aggregates-0004.json
Original file line number Diff line number Diff line change
Expand Up @@ -657,83 +657,6 @@
}
],
"name": "generated"
},
{
"blocks": [
{
"stmts": [
{
"stmt": {
"args": [
{
"type": "local",
"value": 0
},
{
"type": "local",
"value": 1
}
],
"col": 0,
"file": 0,
"func": "g0.data.generated.p",
"result": 9,
"row": 0
},
"type": "CallStmt"
},
{
"stmt": {
"col": 0,
"file": 0,
"row": 0,
"source": {
"type": "local",
"value": 9
},
"target": 10
},
"type": "AssignVarStmt"
},
{
"stmt": {
"col": 0,
"file": 0,
"row": 0,
"target": 11
},
"type": "MakeObjectStmt"
},
{
"stmt": {
"col": 0,
"file": 0,
"key": {
"type": "string_index",
"value": 0
},
"object": 11,
"row": 0,
"value": {
"type": "local",
"value": 10
}
},
"type": "ObjectInsertStmt"
},
{
"stmt": {
"col": 0,
"file": 0,
"row": 0,
"value": 11
},
"type": "ResultSetAddStmt"
}
]
}
],
"name": "generated/p"
}
]
},
Expand Down
77 changes: 0 additions & 77 deletions src/test/resources/compliance/aggregates/test-aggregates-0005.json
Original file line number Diff line number Diff line change
Expand Up @@ -587,83 +587,6 @@
}
],
"name": "generated"
},
{
"blocks": [
{
"stmts": [
{
"stmt": {
"args": [
{
"type": "local",
"value": 0
},
{
"type": "local",
"value": 1
}
],
"col": 0,
"file": 0,
"func": "g0.data.generated.p",
"result": 9,
"row": 0
},
"type": "CallStmt"
},
{
"stmt": {
"col": 0,
"file": 0,
"row": 0,
"source": {
"type": "local",
"value": 9
},
"target": 10
},
"type": "AssignVarStmt"
},
{
"stmt": {
"col": 0,
"file": 0,
"row": 0,
"target": 11
},
"type": "MakeObjectStmt"
},
{
"stmt": {
"col": 0,
"file": 0,
"key": {
"type": "string_index",
"value": 0
},
"object": 11,
"row": 0,
"value": {
"type": "local",
"value": 10
}
},
"type": "ObjectInsertStmt"
},
{
"stmt": {
"col": 0,
"file": 0,
"row": 0,
"value": 11
},
"type": "ResultSetAddStmt"
}
]
}
],
"name": "generated/p"
}
]
},
Expand Down
77 changes: 0 additions & 77 deletions src/test/resources/compliance/aggregates/test-aggregates-0008.json
Original file line number Diff line number Diff line change
Expand Up @@ -658,83 +658,6 @@
}
],
"name": "generated"
},
{
"blocks": [
{
"stmts": [
{
"stmt": {
"args": [
{
"type": "local",
"value": 0
},
{
"type": "local",
"value": 1
}
],
"col": 0,
"file": 0,
"func": "g0.data.generated.p",
"result": 9,
"row": 0
},
"type": "CallStmt"
},
{
"stmt": {
"col": 0,
"file": 0,
"row": 0,
"source": {
"type": "local",
"value": 9
},
"target": 10
},
"type": "AssignVarStmt"
},
{
"stmt": {
"col": 0,
"file": 0,
"row": 0,
"target": 11
},
"type": "MakeObjectStmt"
},
{
"stmt": {
"col": 0,
"file": 0,
"key": {
"type": "string_index",
"value": 0
},
"object": 11,
"row": 0,
"value": {
"type": "local",
"value": 10
}
},
"type": "ObjectInsertStmt"
},
{
"stmt": {
"col": 0,
"file": 0,
"row": 0,
"value": 11
},
"type": "ResultSetAddStmt"
}
]
}
],
"name": "generated/p"
}
]
},
Expand Down

0 comments on commit b922705

Please sign in to comment.