Move regression tests to single Makefile.am (#1658)
authorAndres Noetzli <andres.noetzli@gmail.com>
Wed, 21 Mar 2018 20:10:24 +0000 (13:10 -0700)
committerGitHub <noreply@github.com>
Wed, 21 Mar 2018 20:10:24 +0000 (13:10 -0700)
commitb8db52f9bad5b1053810c93f0067de8423349da3
treebd937d795052073645a87032eaf8ecf0be2e11cb
parentbe2702490d684c100ba6abe76ee156078a9aa621
 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.
111 files changed:
test/Makefile.am
test/regress/Makefile.am
test/regress/Makefile.levels
test/regress/Makefile.tests [new file with mode: 0644]
test/regress/regress0/Makefile [deleted file]
test/regress/regress0/Makefile.am [deleted file]
test/regress/regress0/arith/Makefile [deleted file]
test/regress/regress0/arith/Makefile.am [deleted file]
test/regress/regress0/arith/integers/Makefile [deleted file]
test/regress/regress0/arith/integers/Makefile.am [deleted file]
test/regress/regress0/arrays/Makefile [deleted file]
test/regress/regress0/arrays/Makefile.am [deleted file]
test/regress/regress0/aufbv/Makefile [deleted file]
test/regress/regress0/aufbv/Makefile.am [deleted file]
test/regress/regress0/auflia/Makefile [deleted file]
test/regress/regress0/auflia/Makefile.am [deleted file]
test/regress/regress0/bv/Makefile [deleted file]
test/regress/regress0/bv/Makefile.am [deleted file]
test/regress/regress0/bv/core/Makefile [deleted file]
test/regress/regress0/bv/core/Makefile.am [deleted file]
test/regress/regress0/datatypes/Makefile [deleted file]
test/regress/regress0/datatypes/Makefile.am [deleted file]
test/regress/regress0/decision/Makefile [deleted file]
test/regress/regress0/decision/Makefile.am [deleted file]
test/regress/regress0/expect/Makefile.am [deleted file]
test/regress/regress0/fmf/Makefile [deleted file]
test/regress/regress0/fmf/Makefile.am [deleted file]
test/regress/regress0/ho/Makefile.am [deleted file]
test/regress/regress0/lemmas/Makefile [deleted file]
test/regress/regress0/lemmas/Makefile.am [deleted file]
test/regress/regress0/nl/Makefile [deleted file]
test/regress/regress0/nl/Makefile.am [deleted file]
test/regress/regress0/parser/Makefile [deleted file]
test/regress/regress0/parser/Makefile.am [deleted file]
test/regress/regress0/precedence/Makefile [deleted file]
test/regress/regress0/precedence/Makefile.am [deleted file]
test/regress/regress0/preprocess/Makefile [deleted file]
test/regress/regress0/preprocess/Makefile.am [deleted file]
test/regress/regress0/push-pop/Makefile [deleted file]
test/regress/regress0/push-pop/Makefile.am [deleted file]
test/regress/regress0/push-pop/boolean/Makefile [deleted file]
test/regress/regress0/push-pop/boolean/Makefile.am [deleted file]
test/regress/regress0/quantifiers/Makefile [deleted file]
test/regress/regress0/quantifiers/Makefile.am [deleted file]
test/regress/regress0/rels/Makefile [deleted file]
test/regress/regress0/rels/Makefile.am [deleted file]
test/regress/regress0/rewriterules/Makefile [deleted file]
test/regress/regress0/rewriterules/Makefile.am [deleted file]
test/regress/regress0/sep/Makefile.am [deleted file]
test/regress/regress0/sets/Makefile [deleted file]
test/regress/regress0/sets/Makefile.am [deleted file]
test/regress/regress0/strings/Makefile [deleted file]
test/regress/regress0/strings/Makefile.am [deleted file]
test/regress/regress0/sygus/Makefile [deleted file]
test/regress/regress0/sygus/Makefile.am [deleted file]
test/regress/regress0/tptp/Makefile [deleted file]
test/regress/regress0/tptp/Makefile.am [deleted file]
test/regress/regress0/uf/Makefile [deleted file]
test/regress/regress0/uf/Makefile.am [deleted file]
test/regress/regress0/uflia/Makefile [deleted file]
test/regress/regress0/uflia/Makefile.am [deleted file]
test/regress/regress0/uflra/Makefile [deleted file]
test/regress/regress0/uflra/Makefile.am [deleted file]
test/regress/regress0/unconstrained/Makefile [deleted file]
test/regress/regress0/unconstrained/Makefile.am [deleted file]
test/regress/regress1/Makefile [deleted file]
test/regress/regress1/Makefile.am [deleted file]
test/regress/regress1/arith/Makefile.am [deleted file]
test/regress/regress1/aufbv/Makefile [deleted file]
test/regress/regress1/aufbv/Makefile.am [deleted file]
test/regress/regress1/auflia/Makefile [deleted file]
test/regress/regress1/auflia/Makefile.am [deleted file]
test/regress/regress1/bv/Makefile [deleted file]
test/regress/regress1/bv/Makefile.am [deleted file]
test/regress/regress1/datatypes/Makefile [deleted file]
test/regress/regress1/datatypes/Makefile.am [deleted file]
test/regress/regress1/decision/Makefile [deleted file]
test/regress/regress1/decision/Makefile.am [deleted file]
test/regress/regress1/fmf/Makefile [deleted file]
test/regress/regress1/fmf/Makefile.am [deleted file]
test/regress/regress1/ho/Makefile.am [deleted file]
test/regress/regress1/lemmas/Makefile [deleted file]
test/regress/regress1/lemmas/Makefile.am [deleted file]
test/regress/regress1/nl/Makefile.am [deleted file]
test/regress/regress1/push-pop/Makefile.am [deleted file]
test/regress/regress1/quantifiers/Makefile [deleted file]
test/regress/regress1/quantifiers/Makefile.am [deleted file]
test/regress/regress1/rels/Makefile.am [deleted file]
test/regress/regress1/rewriterules/Makefile [deleted file]
test/regress/regress1/rewriterules/Makefile.am [deleted file]
test/regress/regress1/sep/Makefile [deleted file]
test/regress/regress1/sep/Makefile.am [deleted file]
test/regress/regress1/sets/Makefile [deleted file]
test/regress/regress1/sets/Makefile.am [deleted file]
test/regress/regress1/strings/Makefile [deleted file]
test/regress/regress1/strings/Makefile.am [deleted file]
test/regress/regress1/sygus/Makefile [deleted file]
test/regress/regress1/sygus/Makefile.am [deleted file]
test/regress/regress1/uflia/Makefile.am [deleted file]
test/regress/regress2/Makefile [deleted file]
test/regress/regress2/Makefile.am [deleted file]
test/regress/regress2/arith/Makefile [deleted file]
test/regress/regress2/arith/Makefile.am [deleted file]
test/regress/regress2/nl/Makefile.am [deleted file]
test/regress/regress2/quantifiers/Makefile.am [deleted file]
test/regress/regress2/strings/Makefile.am [deleted file]
test/regress/regress2/sygus/Makefile.am [deleted file]
test/regress/regress3/Makefile [deleted file]
test/regress/regress3/Makefile.am [deleted file]
test/regress/regress4/Makefile [deleted file]
test/regress/regress4/Makefile.am [deleted file]