diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2019-04-16 16:47:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-16 16:47:50 -0700 |
commit | 4d81752204fede13d6513def4195aabe66c5586f (patch) | |
tree | f6322eaa40e0fc38beaa7ca68dc3b55b8629f473 /test/unit/test_memory_packing.py | |
parent | 698fddca4e598cb4f72fe61557c9f91ed879a289 (diff) | |
download | binaryen-4d81752204fede13d6513def4195aabe66c5586f.tar.gz binaryen-4d81752204fede13d6513def4195aabe66c5586f.tar.bz2 binaryen-4d81752204fede13d6513def4195aabe66c5586f.zip |
Change default feature set to MVP (#1993)
In the absence of the target features section or command line flags. When there are command line flags, it is an error if they do not exactly match the target features section, except if --detect-features has been provided.
Also adds a --print-features pass to print the command line flags for all enabled options and uses it to make the feature tests more rigorous.
Diffstat (limited to 'test/unit/test_memory_packing.py')
-rw-r--r-- | test/unit/test_memory_packing.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/test_memory_packing.py b/test/unit/test_memory_packing.py index 0d62b0ed5..a0ccd3006 100644 --- a/test/unit/test_memory_packing.py +++ b/test/unit/test_memory_packing.py @@ -1,12 +1,12 @@ import os -import unittest from scripts.test.shared import WASM_OPT, run_process +from utils import BinaryenTestCase '''Test that MemoryPacking correctly respects the web limitations by not generating more than 100K data segments''' -class MemoryPackingTest(unittest.TestCase): +class MemoryPackingTest(BinaryenTestCase): def test_large_segment(self): data = '"' + (('A' + ('\\00' * 9)) * 100001) + '"' module = ''' |