1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
; Copyright (C) 2016, Regents of the University of Texas
; Marijn Heule, Warren A. Hunt, Jr., and Matt Kaufmann
; License: A 3-clause BSD license. See the LICENSE file distributed with ACL2.
; Test driver for the lrat checker.
; (depends-on "../tests/example-4-vars.cnf")
; (depends-on "../tests/example-4-vars.lrat")
; (depends-on "../tests/example-5-vars.cnf")
; (depends-on "../tests/example-5-vars.lrat")
; (depends-on "../tests/uuf-100-1.cnf")
; (depends-on "../tests/uuf-100-1.lrat")
; (depends-on "../tests/uuf-100-2.cnf")
; (depends-on "../tests/uuf-100-2.lrat")
; (depends-on "../tests/uuf-100-3.cnf")
; (depends-on "../tests/uuf-100-3.lrat")
; (depends-on "../tests/uuf-100-4.cnf")
; (depends-on "../tests/uuf-100-4.lrat")
; (depends-on "../tests/uuf-100-5.cnf")
; (depends-on "../tests/uuf-100-5.lrat")
; (depends-on "../tests/uuf-100-5-partial.lrat")
; (depends-on "../tests/uuf-30-1.cnf")
; (depends-on "../tests/uuf-30-1.lrat")
; (depends-on "../tests/uuf-50-2.cnf")
; (depends-on "../tests/uuf-50-2.lrat")
; (depends-on "../tests/uuf-50-3.cnf")
; (depends-on "../tests/uuf-50-3.lrat")
(in-package "LRAT")
(include-book "lrat-parser")
(make-event
(er-let* ((okp (lrat-test
(("example-4-vars.cnf" "example-4-vars.lrat")
("example-5-vars.cnf" "example-5-vars.lrat")
("uuf-100-1.cnf" "uuf-100-1.lrat")
("uuf-100-2.cnf" "uuf-100-2.lrat")
("uuf-100-3.cnf" "uuf-100-3.lrat")
("uuf-100-4.cnf" "uuf-100-4.lrat")
("uuf-100-5.cnf" "uuf-100-5.lrat")
("uuf-100-5.cnf" "uuf-100-5-partial.lrat" t) ; partial proof
("uuf-30-1.cnf" "uuf-30-1.lrat")
("uuf-50-2.cnf" "uuf-50-2.lrat")
("uuf-50-3.cnf" "uuf-50-3.lrat"))
"../tests")))
(if okp
(value '(value-triple :success))
(er soft 'top
"LRAT-TEST failed!"))))
|