summaryrefslogtreecommitdiff
path: root/test/unit/test_features.py
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2020-02-27 09:55:33 -0800
committerGitHub <noreply@github.com>2020-02-27 09:55:33 -0800
commit2105214971e722525c328a23a5d215789fafb24c (patch)
treecfc35dcc8bc4e1268c88793c7028df33cf09ea73 /test/unit/test_features.py
parentf79faeb14e4da75f131c00c26796ae25ee96a7b7 (diff)
downloadbinaryen-2105214971e722525c328a23a5d215789fafb24c.tar.gz
binaryen-2105214971e722525c328a23a5d215789fafb24c.tar.bz2
binaryen-2105214971e722525c328a23a5d215789fafb24c.zip
Add multivalue feature (#2668)
Diffstat (limited to 'test/unit/test_features.py')
-rw-r--r--test/unit/test_features.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/unit/test_features.py b/test/unit/test_features.py
index e77468366..db17c7f9d 100644
--- a/test/unit/test_features.py
+++ b/test/unit/test_features.py
@@ -275,7 +275,7 @@ class TargetFeaturesSectionTest(utils.BinaryenTestCase):
self.assertIn('all used features should be allowed', p.stderr)
def test_explicit_detect_features(self):
- self.check_features('signext_target_feature.wasm', ['sign-ext', 'simd'],
+ self.check_features('signext_target_feature.wasm', ['simd', 'sign-ext'],
opts=['-mvp', '--detect-features', '--enable-simd'])
def test_emit_all_features(self):
@@ -291,12 +291,13 @@ class TargetFeaturesSectionTest(utils.BinaryenTestCase):
self.assertEqual(p2.returncode, 0)
self.assertEqual([
'--enable-threads',
- '--enable-bulk-memory',
- '--enable-exception-handling',
'--enable-mutable-globals',
'--enable-nontrapping-float-to-int',
- '--enable-sign-ext',
'--enable-simd',
+ '--enable-bulk-memory',
+ '--enable-sign-ext',
+ '--enable-exception-handling',
'--enable-tail-call',
- '--enable-reference-types'
+ '--enable-reference-types',
+ '--enable-multivalue'
], p2.stdout.split())