Guard regression tests that require libpoly to pass. (#7698)
authorMathias Preiner <mathias.preiner@gmail.com>
Thu, 25 Nov 2021 04:15:00 +0000 (20:15 -0800)
committerGitHub <noreply@github.com>
Thu, 25 Nov 2021 04:15:00 +0000 (04:15 +0000)
Regression tests either timeout or return unknown if cvc5 is configured with --no-poly.

test/regress/regress0/nl/issue3003.smt2
test/regress/regress0/nl/issue3411.smt2
test/regress/regress0/nl/issue3652.smt2
test/regress/regress0/nl/issue3719.smt2
test/regress/regress0/nl/sin-cos-346-b-chunk-0169.smt2
test/regress/regress0/nl/sqrt2-value.smt2
test/regress/regress1/nl/approx-sqrt.smt2
test/regress/regress1/nl/issue3300-approx-sqrt-witness.smt2
test/regress/regress1/nl/solve-eq-small-qf-nra.smt2
test/regress/regress1/quantifiers/issue6607-witness-te.smt2
test/regress/regress1/sqrt2-sort-inf-unk.smt2

index 3247a941aa8f1a7ebdff9e6a9e557e5fd18d408a..5724d7fa70c0aa8da6eaec3e0207800b70b66ff2 100644 (file)
@@ -1,5 +1,6 @@
 ; COMMAND-LINE: --nl-ext=none --no-check-models
 ; EXPECT: sat
+; REQUIRES: poly
 (set-logic QF_NRA)
 (set-info :status sat)
 (declare-fun _substvar_15_ () Real)                                                                                                                                 
index daf69834bf5e118b4ce3748ebab24a3afb30e6f7..cef646f16b6c2c9dcba3d3ec054a9aebabfb7676 100644 (file)
@@ -1,5 +1,6 @@
 ; COMMAND-LINE: --no-check-models
 ; EXPECT: sat
+; REQUIRES: poly
 (set-logic NRA)
 (set-info :status sat)
 (declare-fun a () Real)
index f3429b73decec0a216877ee8977a68ec90a4f5ac..ff496a334a12293f0061a795c625ab278ad0a612 100644 (file)
@@ -1,4 +1,5 @@
 ;COMMAND-LINE: --check-models
+;REQUIRES: poly
 ;EXIT: 1
 ;EXPECT: (error "Cannot run check-model on a model with approximate values.")
 (set-logic QF_NRA)
index c620432f4af49c9d97977eaf71f560df064d119f..382bb1a6a85d975fa41b2d74a9e2426af5d3cba2 100644 (file)
@@ -1,3 +1,4 @@
+; REQUIRES: poly
 (set-logic QF_NRA)
 (set-info :status sat)
 (declare-fun a () Real)
index 2ec7d76f07975962d1fc7b4a0b8e05d2c1b40bb2..96a1d86ba2ab50f5e174d207f28d8e9474228153 100644 (file)
@@ -1,4 +1,5 @@
 ; COMMAND-LINE: --no-check-models --nl-ext-tplanes
+; REQUIRES: poly
 ; EXPECT: sat
 (set-info :smt-lib-version 2.6)
 (set-logic QF_NRA)
index 37dcfaf7ee09d2c82863998b2ea60373d4b413de..915122140252c653127d8e6c622d03040f1d9ae5 100644 (file)
@@ -1,5 +1,6 @@
 ; SCRUBBER: sed -e 's/witness.*/witness/'
 ; COMMAND-LINE: --no-check-models
+; REQUIRES: poly
 ; EXPECT: sat
 ; EXPECT: ((x (witness
 (set-option :produce-models true)
index 4ff659bc18d8ef24593b7d83598755b5d563917a..86e3a6d6f76508f7862b1dbf61b8bfc951b706a7 100644 (file)
@@ -1,4 +1,5 @@
 ; COMMAND-LINE: --no-check-models
+; REQUIRES: poly
 ; EXPECT: sat
 (set-logic QF_NRA)
 (set-info :status sat)
index 512c8d2e17671a536e65d36f57bf64547991397c..16f24ac0d6a9ea05471f5e3beb44f478295f4362 100644 (file)
@@ -1,5 +1,6 @@
 ; SCRUBBER: sed -e 's/BOUND_VARIABLE_[0-9]*/BOUND_VARIABLE/; s/((x (witness ((BOUND_VARIABLE Real)) (.*/SUCCESS/'
 ; COMMAND-LINE: --produce-models --model-witness-value --no-check-models
+; REQUIRES: poly
 ; EXPECT: sat
 ; EXPECT: SUCCESS
 (set-logic QF_NRA)
index fe4625af768ba7a7011a0d5d92b88aa5292b3d05..fde3b9a81ffacb7c6d90661ac2ff207b35b22d1a 100644 (file)
@@ -1,4 +1,5 @@
 ; COMMAND-LINE: --no-check-models
+; REQUIRES: poly
 ; EXPECT: sat
 (set-info :smt-lib-version 2.6)
 (set-logic QF_NRA)
index 431512bf28b162ea8bf62ee763dd70abadcef46f..b428cc52a06c706f396b7575c745986aa1911210 100644 (file)
@@ -1,4 +1,5 @@
 ; COMMAND-LINE: --no-check-models
+; REQUIRES: poly
 (set-logic NRA)
 (set-info :status sat)
 (assert (exists ((skoY Real)) (forall ((skoX Real)) (or (= 0.0 (* skoY skoY)) (and (< skoY 0.0) (or (= skoY skoX) (= 2 (* skoY skoY))))))))
index 00f49dde00839deb7b4bb3c188f96dc43c81dc47..e9b8cb9773735c77187f4f5e9adf17728d157f64 100644 (file)
@@ -1,4 +1,5 @@
 ; COMMAND-LINE: --sort-inference
+; REQUIRES: poly
 ; EXPECT: sat
 (set-logic QF_NRA)
 (declare-fun x () Real)