Skip to content

Commit

Permalink
Update websynth to use CVC4 for testing for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
emina committed Dec 10, 2020
1 parent f1acc83 commit 57034f5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion sdsl/websynth/websynthlib.rkt
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
#lang rosette

(require "dom.rkt")
(require "dom.rkt" (rename-in rosette [solve rosette/solve]))
(provide (except-out (all-defined-out) tags))

(require rosette/solver/smt/cvc4 rosette/solver/smt/boolector)


(define-syntax-rule (solve e)
(begin
(current-solver (cvc4))
;(current-solver (boolector))
;(current-bitwidth 16)
(rosette/solve e)))

(define-syntax-rule (define-tags ts)
(tags ts))

Expand Down
2 changes: 1 addition & 1 deletion test/all-sdsl-tests.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
(error-print-width 4)

(test-groups [test fast]
;"../sdsl/websynth/test/all-tests.rkt" ; WebSynth
"../sdsl/websynth/test/all-tests.rkt" ; WebSynth
"../sdsl/bv/test/all-tests.rkt" ; BV
(submod "../sdsl/ifc/test.rkt") ; IFC tests
(submod "../sdsl/synthcl/test/all-tests.rkt") ; SynthCL tests
Expand Down

0 comments on commit 57034f5

Please sign in to comment.