else \
./configure --with-build=$@ $(CONFARGS) && $(MAKE); \
fi
+
+.PHONY: regress0 regress1 regress2 regress3
+regress0 regress1 regress2 regress3:
+ (cd test && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1
fi
.PHONY: check
+ifeq ($(srcdir:test/%=test),test)
+# under the test/ directory, additional subtargets
+.PHONY: regress0 regress1 regress2 regress3
+check regress0 regress1 regress2 regress3:
+ @if test -e $(builddir); then \
+ echo cd $(builddir); \
+ cd $(builddir); \
+ echo $(MAKE) $@; \
+ $(MAKE) $@; \
+ else \
+ echo; \
+ echo "** ERROR: could not find testing dir \`$(builddir)'"; \
+ echo; \
+ fi
+else
check:
@if test -e $(unittestdir); then \
echo cd $(unittestdir); \
echo; \
exit 1; \
fi
+endif
# synonyms for "check"
.PHONY: regress test
mk_include=include
-ac_config_files="$ac_config_files Makefile.builds Makefile contrib/Makefile doc/Makefile src/Makefile src/expr/Makefile src/smt/Makefile src/main/Makefile src/prop/minisat/Makefile src/prop/Makefile src/util/Makefile src/context/Makefile src/parser/Makefile src/parser/cvc/Makefile src/parser/smt/Makefile src/theory/Makefile src/theory/bool/Makefile src/theory/uf/Makefile src/theory/arith/Makefile test/Makefile test/regress/Makefile test/system/Makefile test/unit/Makefile"
+ac_config_files="$ac_config_files Makefile.builds Makefile contrib/Makefile doc/Makefile src/Makefile src/expr/Makefile src/smt/Makefile src/main/Makefile src/prop/minisat/Makefile src/prop/Makefile src/util/Makefile src/context/Makefile src/parser/Makefile src/parser/cvc/Makefile src/parser/smt/Makefile src/theory/Makefile src/theory/bool/Makefile src/theory/uf/Makefile src/theory/arith/Makefile test/Makefile test/regress/Makefile test/regress/regress0/Makefile test/regress/regress1/Makefile test/regress/regress2/Makefile test/regress/regress3/Makefile test/system/Makefile test/unit/Makefile"
cat >confcache <<\_ACEOF
"src/theory/arith/Makefile") CONFIG_FILES="$CONFIG_FILES src/theory/arith/Makefile" ;;
"test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
"test/regress/Makefile") CONFIG_FILES="$CONFIG_FILES test/regress/Makefile" ;;
+ "test/regress/regress0/Makefile") CONFIG_FILES="$CONFIG_FILES test/regress/regress0/Makefile" ;;
+ "test/regress/regress1/Makefile") CONFIG_FILES="$CONFIG_FILES test/regress/regress1/Makefile" ;;
+ "test/regress/regress2/Makefile") CONFIG_FILES="$CONFIG_FILES test/regress/regress2/Makefile" ;;
+ "test/regress/regress3/Makefile") CONFIG_FILES="$CONFIG_FILES test/regress/regress3/Makefile" ;;
"test/system/Makefile") CONFIG_FILES="$CONFIG_FILES test/system/Makefile" ;;
"test/unit/Makefile") CONFIG_FILES="$CONFIG_FILES test/unit/Makefile" ;;
SUBDIRS = unit system regress
+.PHONY: regress0 regress1 regress2 regress3
+regress0 regress1 regress2 regress3:
+ for dir in $(SUBDIRS); do \
+ (cd $$dir && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; \
+ done
+
# synonyms for "check"
.PHONY: regress test
regress test: check
-SUBDIRS = regress0 regress1 regress2 regress3
+SUBDIRS = regress0
+DIST_SUBDIRS = regress1 regress2 regress3
+
+.PHONY: regress0 regress1 regress2 regress3
+regress1: regress0
+regress2: regress0 regress1
+regress3: regress0 regress1 regress2
+regress0 regress1 regress2 regress3:
+ cd $@ && $(MAKE) check
# synonyms for "check"
.PHONY: regress test
TESTS_ENVIRONMENT = @srcdir@/../run_regression @top_builddir@/../../bin/cvc4
-TESTS =
+TESTS = boolean.cvc \
+ bug1.cvc \
+ hole6.cvc \
+ logops.cvc \
+ queries0.cvc \
+ simple2.smt \
+ simple.cvc \
+ simple.smt \
+ simple-uf.smt \
+ smallcnf.cvc \
+ test11.cvc \
+ test12.cvc \
+ test9.cvc \
+ uf20-03.cvc \
+ wiki.cvc
# synonyms for "check"
.PHONY: regress regress0 test
TESTS_ENVIRONMENT = @srcdir@/../run_regression @top_builddir@/../../bin/cvc4
-TESTS =
+TESTS = friedman_n4_i5.smt \
+ hole7.cvc \
+ hole8.cvc \
+ instance_1444.smt
# synonyms for "check"
.PHONY: regress regress1 test
TESTS_ENVIRONMENT = @srcdir@/../run_regression @top_builddir@/../../bin/cvc4
-TESTS =
+TESTS = bmc-galileo-8.smt \
+ bmc-galileo-9.smt \
+ bmc-ibm-10.smt \
+ bmc-ibm-11.smt \
+ bmc-ibm-12.smt \
+ bmc-ibm-13.smt \
+ bmc-ibm-1.smt \
+ bmc-ibm-2.smt \
+ bmc-ibm-3.smt \
+ bmc-ibm-4.smt \
+ bmc-ibm-5.smt \
+ bmc-ibm-6.smt \
+ bmc-ibm-7.smt \
+ friedman_n6_i4.smt \
+ hole9.cvc \
+ qwh.35.405.shuffled-as.sat03-1651.smt
# synonyms for "check"
.PHONY: regress regress2 test
TESTS_ENVIRONMENT = @srcdir@/../run_regression @top_builddir@/../../bin/cvc4
-TESTS =
+TESTS = C880mul.miter.shuffled-as.sat03-348.smt \
+ comb2.shuffled-as.sat03-420.smt \
+ hole10.cvc \
+ instance_1151.smt
# synonyms for "check"
.PHONY: regress regress3 test
# synonyms for "check"
.PHONY: regress test
regress test: check
+
+# in system test dir, regressN are also synonyms for check
+.PHONY: regress0 regress1 regress2 regress3
+regress0 regress1 regress2 regress3: check
# synonyms for "check"
.PHONY: regress test
regress test: check
+
+# in unit test dir, regressN are also synonyms for check
+.PHONY: regress0 regress1 regress2 regress3
+regress0 regress1 regress2 regress3: check