;;
esac
+AM_CONDITIONAL([CVC4_BUILD_PROFILE_PRODUCTION], [test "$with_build" = production])
+AM_CONDITIONAL([CVC4_BUILD_PROFILE_DEBUG], [test "$with_build" = debug])
+AM_CONDITIONAL([CVC4_BUILD_PROFILE_DEFAULT], [test "$with_build" = default])
+AM_CONDITIONAL([CVC4_BUILD_PROFILE_COMPETITION], [test "$with_build" = competition])
+
# permit a static binary
AC_MSG_CHECKING([whether to build a static binary])
AC_ARG_ENABLE([static-binary],
SUBDIRS = precedence uf
TESTS_ENVIRONMENT = @srcdir@/../run_regression @top_builddir@/src/main/cvc4
+
+# These are run for all build profiles.
+# If a test shouldn't be run in e.g. competition mode,
+# put it below.
TESTS = \
- error.cvc \
boolean-prec.cvc \
distinct.smt \
flet.smt \
wiki.20.cvc \
wiki.21.cvc
+if CVC4_BUILD_PROFILE_COMPETITION
+else
+TESTS += \
+ error.cvc
+endif
+
# synonyms for "check"
.PHONY: regress regress0 test
regress regress0 test: check