diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-12-10 09:09:05 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-10 09:09:05 -0600 |
commit | 37f51226cc8a96fc699648068f8c72a2f0832f51 (patch) | |
tree | 5f1ad22a455622b14e331dba112b2b9110ad0b66 /test/regress/regress3/regex-rrv.sy | |
parent | ad8d70c5481266a58ceefe41fc0ec46083ba5d6e (diff) |
Refactor regressions (#5639)
This adds a net +82 regressions to regress[0-2] and adds several additional disabled regressions to regress3 and regress4. This involved fixing the status on several regressions, and ensuring CMakeLists.txt includes all files (exactly once) in the test/regress/ subdirectory.
It also moves several regressions to the proper regression levels (those that take >30 seconds in debug are moved to regress3+).
Diffstat (limited to 'test/regress/regress3/regex-rrv.sy')
-rw-r--r-- | test/regress/regress3/regex-rrv.sy | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/test/regress/regress3/regex-rrv.sy b/test/regress/regress3/regex-rrv.sy new file mode 100644 index 000000000..2d911e56a --- /dev/null +++ b/test/regress/regress3/regex-rrv.sy @@ -0,0 +1,33 @@ +; COMMAND-LINE: --lang=sygus2 --sygus-rr --sygus-samples=1000 --sygus-abort-size=3 --sygus-rr-verify-abort --no-sygus-sym-break +; EXPECT: (error "Maximum term size (3) for enumerative SyGuS exceeded.") +; SCRUBBER: grep -v -E '(\(define-fun|\(candidate-rewrite)' +; EXIT: 1 + +(set-logic SLIA) + +(synth-fun f ((x String) (y String)) Bool +((Start Bool) (StartRe RegLan) (StartStr String)) ( + +(Start Bool ( + true + false + (= StartStr StartStr) + (str.in_re StartStr StartRe) +)) + +(StartRe RegLan ( + re.allchar + (re.++ StartRe StartRe) + (re.union StartRe StartRe) + (re.* StartRe) + (str.to_re StartStr) +)) + +(StartStr String ( + x y "A" "B" "" + (str.++ StartStr StartStr) +)) + +)) + +(check-synth) |