-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Manual merging of ∑ stuff to version 2.1. Hide tests folder temporarily.
- Loading branch information
Visa
committed
Aug 7, 2023
1 parent
977766e
commit 5507a59
Showing
20 changed files
with
86 additions
and
104 deletions.
There are no files selected for viewing
0
tests/benchpress.sexp → .tests/benchpress.sexp
100755 → 100644
File renamed without changes.
0
tests/dune → .tests/dune
100755 → 100644
File renamed without changes.
0
tests/helpers.ml → .tests/helpers.ml
100755 → 100644
File renamed without changes.
0
tests/run_tests.ml → .tests/run_tests.ml
100755 → 100644
File renamed without changes.
0
tests/run_tests.sh → .tests/run_tests.sh
100755 → 100644
File renamed without changes.
0
tests/testCNF.ml → .tests/testCNF.ml
100755 → 100644
File renamed without changes.
0
tests/testCongruence.ml → .tests/testCongruence.ml
100755 → 100644
File renamed without changes.
0
tests/testIndex.ml → .tests/testIndex.ml
100755 → 100644
File renamed without changes.
0
tests/testMultiset.ml → .tests/testMultiset.ml
100755 → 100644
File renamed without changes.
0
tests/testOrdering.ml → .tests/testOrdering.ml
100755 → 100644
File renamed without changes.
0
tests/testSubsts.ml → .tests/testSubsts.ml
100755 → 100644
File renamed without changes.
0
tests/testTerm.ml → .tests/testTerm.ml
100755 → 100644
File renamed without changes.
0
tests/testType.ml → .tests/testType.ml
100755 → 100644
File renamed without changes.
0
tests/testUnif.ml → .tests/testUnif.ml
100755 → 100644
File renamed without changes.
0
tests/test_theory_detect.p → .tests/test_theory_detect.p
100755 → 100644
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,27 @@ | ||
|
||
(* This file is free software, part of Zipperposition. See file "license" for more details. *) | ||
|
||
(** {1 Main file for the prover} *) | ||
|
||
(** This module just calls the main {!Phases} runner that processes files | ||
passed as arguments on the command line. *) | ||
|
||
open Logtk | ||
open Libzipperposition_phases | ||
|
||
let section = Libzipperposition.Const.section | ||
|
||
let phases = Phases_impl.main_cli ~setup_gc:true () | ||
|
||
let () = | ||
ZProf.setup(); | ||
begin match Phases.run phases with | ||
| CCResult.Error msg -> | ||
print_endline msg; | ||
exit 1 | ||
| CCResult.Ok (_, 0) -> () | ||
| CCResult.Ok (_, errcode) -> exit errcode (* failure *) | ||
end | ||
|
||
let _ = | ||
at_exit | ||
(fun () -> | ||
Util.debugf ~section 1 "run time: %.3f" (fun k->k (Util.total_time_s ())); | ||
Signal.send Libzipperposition.Signals.on_exit 0) | ||
|
||
(* This file is free software, part of Zipperposition. See file "license" for more details. *) | ||
|
||
(** {1 Main file for the prover} *) | ||
|
||
(** This module just calls the main {!Phases} runner that processes files | ||
passed as arguments on the command line. *) | ||
|
||
open Logtk | ||
open Libzipperposition_phases | ||
|
||
let section = Libzipperposition.Const.section | ||
|
||
let () = | ||
begin match main_cli() with | ||
| CCResult.Error msg -> | ||
print_endline msg; | ||
exit 1 | ||
| CCResult.Ok 0 -> () | ||
| CCResult.Ok errcode -> exit errcode (* failure *) | ||
end | ||
|
||
let _ = | ||
at_exit | ||
(fun () -> | ||
Util.debugf ~section 1 "run time: %.3f" (fun k->k (Util.total_time_s ())); | ||
Signal.send Libzipperposition.Signals.on_exit 0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters