diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2017-02-08 01:18:11 -0800 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2017-02-09 07:36:32 -0800 |
commit | e748f435e5481b5a44686486e8f467823688b2c0 (patch) | |
tree | d0f05edb06d4ee5a9b278d050082533ff679098a /tests | |
parent | 4bab082a27daa050aa7d704ffdc1b4ee9a3a4c4e (diff) |
tests: Increase the number of translate calls
This should make the test fail on a 32-bit target.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_xpath.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_xpath.cpp b/tests/test_xpath.cpp index 417440b..69513fc 100644 --- a/tests/test_xpath.cpp +++ b/tests/test_xpath.cpp @@ -525,9 +525,9 @@ TEST_XML(xpath_memory_translate_table, "<node>a</node>") { test_runner::_memory_fail_threshold = 32768 + 4096 + 128; - // 128b per table => we need 32 translate calls to exhaust a page + // 128b per table => we need 32+ translate calls to exhaust a page std::basic_string<char_t> query = STR("concat("); - for (int i = 0; i < 32; ++i) + for (int i = 0; i < 64; ++i) query += STR("translate(.,'a','A'),"); query += STR("'')"); |