Skip to content

Commit 52a08d8

Browse files
Setting string-max-length on strings test
The solver can run out of memory in an unpredictable way when string max length is not set.
1 parent 02e42da commit 52a08d8

File tree

185 files changed

+185
-185
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

185 files changed

+185
-185
lines changed

regression/strings-smoke-tests/java_append_int/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FUTURE
22
test_append_int.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

regression/strings-smoke-tests/java_append_object/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FUTURE
22
test_append_object.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

regression/strings-smoke-tests/java_append_string/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
test_append_string.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

regression/strings-smoke-tests/java_char_array/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
test_char_array.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
.*assertion.* test_char_array.java line 9 .* SUCCESS$

regression/strings-smoke-tests/java_char_array_init/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FUTURE
22
test_init.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

regression/strings-smoke-tests/java_char_at/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
test_char_at.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

regression/strings-smoke-tests/java_code_point/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
test_code_point.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

regression/strings-smoke-tests/java_compare/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
test_compare.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

regression/strings-smoke-tests/java_concat/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
test_concat.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
^\[.*assertion.1\].* line 10.* SUCCESS$

regression/strings-smoke-tests/java_delete/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
test_delete.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

regression/strings-smoke-tests/java_delete_char_at/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
test_delete_char_at.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

regression/strings-smoke-tests/java_empty/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
test_empty.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

regression/strings-smoke-tests/java_float/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FUTURE
22
test_float.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

regression/strings-smoke-tests/java_hash_code/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
test_hash_code.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
^\[.*assertion.1\].* line 8.* SUCCESS$

regression/strings-smoke-tests/java_index_of/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
test_index_of.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

regression/strings-smoke-tests/java_index_of2/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
test_index_of2.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
^VERIFICATION FAILED$

regression/strings-smoke-tests/java_index_of_char/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
test_index_of_char.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

regression/strings-smoke-tests/java_int_to_string/test1.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
Test1.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
assertion.* line 7 .* SUCCESS$

regression/strings-smoke-tests/java_int_to_string/test2.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
Test2.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
assertion.* line 7 .* SUCCESS$

regression/strings-smoke-tests/java_int_to_string/test4.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
Test4.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
assertion.* line 7 .* SUCCESS$

regression/strings-smoke-tests/java_int_to_string_knownbug/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
Test.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
assertion.* line 7 .* SUCCESS$

regression/strings-smoke-tests/java_int_to_string_with_radix/test_binary3.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
Test_binary3.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
assertion.* line 7 .* SUCCESS$

regression/strings-smoke-tests/java_int_to_string_with_radix/test_decimal.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
Test_decimal.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
assertion.* line 7 .* SUCCESS$

regression/strings-smoke-tests/java_int_to_string_with_radix/test_octal1.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
Test_octal1.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
assertion.* line 7 .* SUCCESS$

regression/strings-smoke-tests/java_int_to_string_with_radix_knownbug/test_binary.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
Test_binary.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
assertion.* line 7 .* SUCCESS$

regression/strings-smoke-tests/java_int_to_string_with_radix_knownbug/test_hex.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
Test_hex.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
assertion.* line 7 .* SUCCESS$

regression/strings-smoke-tests/java_int_to_string_with_radix_knownbug/test_octal.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
Test_octal.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
assertion.* line 7 .* SUCCESS$

regression/strings-smoke-tests/java_intern/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
test_intern.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=0$
55
^SIGNAL=0$
66
^\[.*assertion.1\].* line 9.* SUCCESS$

regression/strings-smoke-tests/java_last_index_of/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
test_last_index_of.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
^\[.*assertion.1\].* line 8.* SUCCESS$

regression/strings-smoke-tests/java_last_index_of2/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
test_last_index_of2.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

regression/strings-smoke-tests/java_last_index_of_char/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
test_last_index_of_char.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

regression/strings-smoke-tests/java_length/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
test_length.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
^VERIFICATION FAILED$

regression/strings-smoke-tests/java_length2/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FUTURE
22
test.class
3-
--refine-strings --function test.check
3+
--refine-strings --string-max-length 1000 --function test.check
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

regression/strings-smoke-tests/java_long_to_string/test1.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
Test1.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
assertion.* line 7 .* SUCCESS$

regression/strings-smoke-tests/java_long_to_string/test2.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
THOROUGH
22
Test2.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
assertion.* line 7 .* SUCCESS$

regression/strings-smoke-tests/java_long_to_string/test3.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
THOROUGH
22
Test3.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
assertion.* line 7 .* SUCCESS$

regression/strings-smoke-tests/java_long_to_string/test4.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
THOROUGH
22
Test4.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
assertion.* line 7 .* SUCCESS$

regression/strings-smoke-tests/java_long_to_string/test5.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
Test5.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
assertion.* line 7 .* SUCCESS$

regression/strings-smoke-tests/java_long_to_string_with_radix/test_binary1.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
THOROUGH
22
Test_binary1.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
assertion.* line 7 .* SUCCESS$

regression/strings-smoke-tests/java_long_to_string_with_radix/test_binary2.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
THOROUGH
22
Test_binary2.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
assertion.* line 7 .* SUCCESS$

regression/strings-smoke-tests/java_long_to_string_with_radix/test_binary3.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
THOROUGH
22
Test_binary3.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
assertion.* line 7 .* SUCCESS$

regression/strings-smoke-tests/java_long_to_string_with_radix/test_decimal.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
Test_decimal.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
assertion.* line 7 .* SUCCESS$

regression/strings-smoke-tests/java_long_to_string_with_radix/test_hex2.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
Test_hex2.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
assertion.* line 7 .* SUCCESS$

regression/strings-smoke-tests/java_object_allocation/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
test.class
3-
--refine-strings --show-goto-functions
3+
--refine-strings --string-max-length 1000 --show-goto-functions
44
// Enable multi-line checking
55
activate-multi-line-match
66
EXIT=0

regression/strings-smoke-tests/java_parseint/test1.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
Test1.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
^\[.*assertion.1\].* line 8.* SUCCESS$

regression/strings-smoke-tests/java_parseint/test2.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
Test2.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
^\[.*assertion.1\].* line 9.* SUCCESS$
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
Test3.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
^\[.*assertion.1\].* line 7.* FAILURE$

regression/strings-smoke-tests/java_parseint_knownbug/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
Test.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
^\[.*assertion.1\].* line 10.* SUCCESS$

regression/strings-smoke-tests/java_parseint_with_radix/test1.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
Test1.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
^\[.*assertion.1\].* line 8.* SUCCESS$

regression/strings-smoke-tests/java_parseint_with_radix/test2.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
Test2.class
3-
--refine-strings
3+
--refine-strings --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
^\[.*assertion.1\].* line 8.* SUCCESS$

0 commit comments

Comments
 (0)