From b6903b803243bd31d11093611142ae9b19d3c100 Mon Sep 17 00:00:00 2001 From: Wanming Lin Date: Mon, 23 Dec 2019 16:04:03 +0800 Subject: [PATCH] [test] Rename test files of integer min/max ops A followup for https://github.com/WebAssembly/simd/pull/163#discussion_r360507711 --- test/core/simd/meta/gen_tests.py | 2 +- .../simd/meta/{simd_lanewise_integer.py => simd_int_arith2.py} | 2 +- test/core/simd/{simd_i16x8.wast => simd_i16x8_arith2.wast} | 2 +- test/core/simd/{simd_i32x4.wast => simd_i32x4_arith2.wast} | 2 +- test/core/simd/{simd_i8x16.wast => simd_i8x16_arith2.wast} | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) rename test/core/simd/meta/{simd_lanewise_integer.py => simd_int_arith2.py} (99%) rename test/core/simd/{simd_i16x8.wast => simd_i16x8_arith2.wast} (99%) rename test/core/simd/{simd_i32x4.wast => simd_i32x4_arith2.wast} (99%) rename test/core/simd/{simd_i8x16.wast => simd_i8x16_arith2.wast} (99%) diff --git a/test/core/simd/meta/gen_tests.py b/test/core/simd/meta/gen_tests.py index b80da39f5..86d0cbcea 100644 --- a/test/core/simd/meta/gen_tests.py +++ b/test/core/simd/meta/gen_tests.py @@ -25,7 +25,7 @@ 'simd_bitwise', 'simd_f32x4', 'simd_f64x2', - 'simd_lanewise_integer', + 'simd_int_arith2', ) diff --git a/test/core/simd/meta/simd_lanewise_integer.py b/test/core/simd/meta/simd_int_arith2.py similarity index 99% rename from test/core/simd/meta/simd_lanewise_integer.py rename to test/core/simd/meta/simd_int_arith2.py index 024d37ce1..3f7e3e4bf 100644 --- a/test/core/simd/meta/simd_lanewise_integer.py +++ b/test/core/simd/meta/simd_int_arith2.py @@ -368,7 +368,7 @@ def get_all_cases(self): def gen_test_cases(self): """generate case file""" - wast_filename = '../simd_{lane_type}.wast'.format(lane_type=self.LANE_TYPE) + wast_filename = '../simd_{lane_type}_arith2.wast'.format(lane_type=self.LANE_TYPE) with open(wast_filename, 'w') as fp: fp.write(self.get_all_cases()) diff --git a/test/core/simd/simd_i16x8.wast b/test/core/simd/simd_i16x8_arith2.wast similarity index 99% rename from test/core/simd/simd_i16x8.wast rename to test/core/simd/simd_i16x8_arith2.wast index a77afe129..c19685c9e 100644 --- a/test/core/simd/simd_i16x8.wast +++ b/test/core/simd/simd_i16x8_arith2.wast @@ -392,4 +392,4 @@ (assert_return (invoke "i16x8.max_u-i16x8.min_s" (v128.const i16x8 0 0 0 0 0 0 0 0) (v128.const i16x8 1 1 1 1 1 1 1 1) (v128.const i16x8 2 2 2 2 2 2 2 2)) - (v128.const i16x8 2 2 2 2 2 2 2 2)) \ No newline at end of file + (v128.const i16x8 2 2 2 2 2 2 2 2)) diff --git a/test/core/simd/simd_i32x4.wast b/test/core/simd/simd_i32x4_arith2.wast similarity index 99% rename from test/core/simd/simd_i32x4.wast rename to test/core/simd/simd_i32x4_arith2.wast index 046b49e48..16f2bfda4 100644 --- a/test/core/simd/simd_i32x4.wast +++ b/test/core/simd/simd_i32x4_arith2.wast @@ -402,4 +402,4 @@ (assert_return (invoke "i32x4.max_u-i32x4.min_s" (v128.const i32x4 0 0 0 0) (v128.const i32x4 1 1 1 1) (v128.const i32x4 2 2 2 2)) - (v128.const i32x4 2 2 2 2)) \ No newline at end of file + (v128.const i32x4 2 2 2 2)) diff --git a/test/core/simd/simd_i8x16.wast b/test/core/simd/simd_i8x16_arith2.wast similarity index 99% rename from test/core/simd/simd_i8x16.wast rename to test/core/simd/simd_i8x16_arith2.wast index 0a41d4583..0573c1f20 100644 --- a/test/core/simd/simd_i8x16.wast +++ b/test/core/simd/simd_i8x16_arith2.wast @@ -392,4 +392,4 @@ (assert_return (invoke "i8x16.max_u-i8x16.min_s" (v128.const i8x16 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) (v128.const i8x16 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1) (v128.const i8x16 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2)) - (v128.const i8x16 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2)) \ No newline at end of file + (v128.const i8x16 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2))