Skip to content

Commit

Permalink
Merge pull request #1629 from GaloisInc/heapster/prover-tests-ci
Browse files Browse the repository at this point in the history
Add prover tests to CI
  • Loading branch information
abakst authored Apr 20, 2022
2 parents 09889af + 342bb74 commit 28d8675
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ jobs:
targets: |
integration_tests
cryptol-saw-core-tc-test
prover_tests
dest: dist-tests

- uses: actions/upload-artifact@v2
Expand Down
4 changes: 2 additions & 2 deletions heapster-saw/proverTests/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@ int32array :: (ArrayIndexExpr a1, ArrayIndexExpr a2) => a1 -> a2 -> AtomicPerm (
int32array off len = Perm_LLVMArray (int32ArrayPerm off len)

int64ArrayPerm :: (ArrayIndexExpr a1, ArrayIndexExpr a2) => a1 -> a2 -> LLVMArrayPerm 64
int64ArrayPerm off len = arrayPerm (toIdx off) (toIdx len) 8 (fieldShape (intValuePerm @ 64))
int64ArrayPerm off len = arrayPerm (toIdx off) (toIdx len) 8 (fieldShape (intValuePerm @64))

int32ArrayPerm :: (ArrayIndexExpr a1, ArrayIndexExpr a2) => a1 -> a2 -> LLVMArrayPerm 64
int32ArrayPerm off len = arrayPerm (toIdx off) (toIdx len) 4 (fieldShape (intValuePerm @ 32))
int32ArrayPerm off len = arrayPerm (toIdx off) (toIdx len) 4 (fieldShape (intValuePerm @32))

arrayPerm ::
PermExpr (BVType w) ->
Expand Down

0 comments on commit 28d8675

Please sign in to comment.