summaryrefslogtreecommitdiff
path: root/test/unit/test_features.py
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2019-05-03 19:22:58 -0700
committerGitHub <noreply@github.com>2019-05-03 19:22:58 -0700
commit923c6465c97dc22d0eccc6fcbf4c5ae701e92ea8 (patch)
tree448ac0d3b21ff8abae9e30df84e4287f071a0eb3 /test/unit/test_features.py
parent415e8b37c2e570117b17394d4910ca57fa2d11d8 (diff)
downloadbinaryen-923c6465c97dc22d0eccc6fcbf4c5ae701e92ea8.tar.gz
binaryen-923c6465c97dc22d0eccc6fcbf4c5ae701e92ea8.tar.bz2
binaryen-923c6465c97dc22d0eccc6fcbf4c5ae701e92ea8.zip
Add exception handling feature (#2083)
This only adds the feature and its flag and not the instructions yet.
Diffstat (limited to 'test/unit/test_features.py')
-rw-r--r--test/unit/test_features.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/unit/test_features.py b/test/unit/test_features.py
index 8764bef97..6156191a2 100644
--- a/test/unit/test_features.py
+++ b/test/unit/test_features.py
@@ -24,6 +24,9 @@ class FeatureValidationTest(BinaryenTestCase):
def check_bulk_mem(self, module, error):
self.check_feature(module, error, '--enable-bulk-memory')
+ def check_exception_handling(self, module, error):
+ self.check_feature(module, error, '--enable-exception-handling')
+
def test_v128_signature(self):
module = '''
(module