Skip to content

Commit

Permalink
Added mcsat regress (#491)
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Hader <[email protected]>
  • Loading branch information
Ovascos and Thomas Hader authored Feb 29, 2024
1 parent 5326f0d commit 553897f
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions Makefile.build
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ srcsubdirs = mt io terms utils solvers solvers/floyd_warshall \

testdir = tests/unit
regressdir = tests/regress
regressdir_mcsat = tests/regress/mcsat
apitestdir = tests/api

#
Expand Down Expand Up @@ -302,7 +303,7 @@ static-check-api: static_build_subdirs version
# Regressions
#
check: regress

mcsat-check: mcsat-regress
static-check: static-regress

regress: build_subdirs version
Expand All @@ -312,11 +313,25 @@ regress: build_subdirs version
+@ $(regressdir)/check.sh $(regressdir) $(build_dir)/bin


mcsat-regress: build_subdirs version
@ echo "=== Building binaries ==="
@ $(MAKE) -C $(srcdir) BUILD=../$(build_dir) bin
@ echo "=== Running regressions ==="
+@ $(regressdir)/check.sh $(regressdir_mcsat) $(build_dir)/bin


static-regress: static_build_subdirs version
@ echo "=== Building binaries ==="
@ $(MAKE) -C $(srcdir) BUILD=../$(build_dir) static-bin
@ echo "=== Running regressions ==="
@ $(regressdir)/check.sh -j $(regressdir) $(build_dir)/static_bin
+@ $(regressdir)/check.sh $(regressdir) $(build_dir)/static_bin


static-mcsat-regress: static_build_subdirs version
@ echo "=== Building binaries ==="
@ $(MAKE) -C $(srcdir) BUILD=../$(build_dir) static-bin
@ echo "=== Running regressions ==="
+@ $(regressdir)/check.sh $(regressdir_mcsat) $(build_dir)/static_bin


.PHONY: all obj static-obj lib static-lib bin static-bin test static-test \
Expand Down

0 comments on commit 553897f

Please sign in to comment.