diff options
author | Andres Noetzli <andres.noetzli@gmail.com> | 2018-03-21 13:10:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-21 13:10:24 -0700 |
commit | b8db52f9bad5b1053810c93f0067de8423349da3 (patch) | |
tree | bd937d795052073645a87032eaf8ecf0be2e11cb /test/regress/regress1/arith | |
parent | be2702490d684c100ba6abe76ee156078a9aa621 (diff) |
Move regression tests to single Makefile.am (#1658)
Until now, regression tests were split across tens of different
Makefile.am, which required a lot of code duplication and does not
really seem to be in the spirit of automake. If we want to change the
LOG_COMPILER/LOG_DRIVER for example, we have to change every single
Makefile.am, which is cumbersome (I was able to get something
semi-working by exporting those variables but it didn't seem very
clean). Additionally, it made the output of the regression tests fairly
verbose and split the output across multiple log files. Finally
it also limited parallelism when running the regression tests (this fix lowers
the time it takes to run regression level 1 from 3m to 1m45s on my
machine with 16 threads).
This commit moves all the regression tests into
test/regress/Makefile.tests and changes test/regress/Makefile.am to deal
with this new structure. Finally, it changes how the test summary in
test/Makefile.am is produced: instead of relying on the log files for
the subdirectories, it greps for the test results in the log files of
the individual tests. Not the most elegant solution but we should
probably anyway delegate that task to a Python script at some point.
Diffstat (limited to 'test/regress/regress1/arith')
-rw-r--r-- | test/regress/regress1/arith/Makefile.am | 139 |
1 files changed, 0 insertions, 139 deletions
diff --git a/test/regress/regress1/arith/Makefile.am b/test/regress/regress1/arith/Makefile.am deleted file mode 100644 index e2b0e93d9..000000000 --- a/test/regress/regress1/arith/Makefile.am +++ /dev/null @@ -1,139 +0,0 @@ -# don't override a BINARY imported from a personal.mk -@mk_if@eq ($(BINARY),) -@mk_empty@BINARY = cvc4 -end@mk_if@ - -LOG_COMPILER = @srcdir@/../../run_regression -AM_LOG_FLAGS = $(RUN_REGRESSION_ARGS) @abs_top_builddir@/src/main/$(BINARY)$(EXEEXT) - -if AUTOMAKE_1_11 -# old-style (pre-automake 1.12) test harness -TESTS_ENVIRONMENT = \ - $(LOG_COMPILER) \ - $(AM_LOG_FLAGS) $(LOG_FLAGS) -endif - -# These are run for all build profiles. -# If a test shouldn't be run in e.g. competition mode, -# put it below in "TESTS +=" -TESTS = \ - arith-int-004.cvc \ - arith-int-011.cvc \ - arith-int-048.cvc \ - arith-int-050.cvc \ - arith-int-084.cvc \ - arith-int-085.cvc \ - arith-int-097.cvc \ - bug716.0.smt2 \ - problem__003.smt2 \ - bug547.1.smt2 \ - bug716.1.cvc \ - div.03.smt2 \ - div.06.smt2 \ - div.08.smt2 \ - div.09.smt2 \ - miplib3.cvc \ - mod.02.smt2 \ - mod.03.smt2 \ - mult.02.smt2 \ - arith-int-012.cvc \ - arith-int-013.cvc \ - arith-int-022.cvc \ - arith-int-024.cvc \ - arith-int-047.cvc - -EXTRA_DIST = $(TESTS) \ - arith-int-008.cvc \ - arith-int-018.cvc \ - arith-int-020.cvc \ - arith-int-026.cvc \ - arith-int-029.cvc \ - arith-int-030.cvc \ - arith-int-043.cvc \ - arith-int-044.cvc \ - arith-int-049.cvc \ - arith-int-061.cvc \ - arith-int-062.cvc \ - arith-int-064.cvc \ - arith-int-065.cvc \ - arith-int-081.cvc \ - arith-int-083.cvc \ - arith-int-090.cvc \ - arith-int-091.cvc \ - arith-int-092.cvc \ - arith-int-094.cvc \ - arith-int-096.cvc \ - arith-int-098.cvc \ - arith-int-001.cvc \ - arith-int-002.cvc \ - arith-int-003.cvc \ - arith-int-005.cvc \ - arith-int-006.cvc \ - arith-int-009.cvc \ - arith-int-010.cvc \ - arith-int-016.cvc \ - arith-int-017.cvc \ - arith-int-019.cvc \ - arith-int-027.cvc \ - arith-int-028.cvc \ - arith-int-031.cvc \ - arith-int-032.cvc \ - arith-int-033.cvc \ - arith-int-034.cvc \ - arith-int-035.cvc \ - arith-int-036.cvc \ - arith-int-037.cvc \ - arith-int-038.cvc \ - arith-int-039.cvc \ - arith-int-040.cvc \ - arith-int-041.cvc \ - arith-int-045.cvc \ - arith-int-046.cvc \ - arith-int-051.cvc \ - arith-int-052.cvc \ - arith-int-053.cvc \ - arith-int-054.cvc \ - arith-int-055.cvc \ - arith-int-056.cvc \ - arith-int-057.cvc \ - arith-int-058.cvc \ - arith-int-059.cvc \ - arith-int-060.cvc \ - arith-int-063.cvc \ - arith-int-066.cvc \ - arith-int-067.cvc \ - arith-int-068.cvc \ - arith-int-069.cvc \ - arith-int-070.cvc \ - arith-int-071.cvc \ - arith-int-072.cvc \ - arith-int-073.cvc \ - arith-int-074.cvc \ - arith-int-075.cvc \ - arith-int-076.cvc \ - arith-int-077.cvc \ - arith-int-078.cvc \ - arith-int-080.cvc \ - arith-int-086.cvc \ - arith-int-087.cvc \ - arith-int-088.cvc \ - arith-int-089.cvc \ - arith-int-093.cvc \ - arith-int-095.cvc \ - arith-int-099.cvc \ - arith-int-100.cvc - -FAILING_TESTS = \ - arith-int-007.cvc \ - arith-int-082.cvc \ - arith-int-098.cvc - -EXTRA_DIST = $(TESTS) - -# synonyms for "check" in this directory -.PHONY: regress regress1 test -regress regress1 test: check - -# do nothing in this subdir -.PHONY: regress0 regress2 regress3 regress4 -regress0 regress2 regress3 regress4: |