From 166c6cfc2e7d66501bd07e390716f34060c2d008 Mon Sep 17 00:00:00 2001 From: Heejin Ahn Date: Thu, 7 Dec 2023 20:42:14 -0800 Subject: [PATCH] [test] Move basic tests in lit/ to lit/basic/ Here 'basic' tests means that what we have in binaryen/test/. We checked three things with those tests: - Run `wasm-opt -all -g` on it and compare the output with `*.from-wast` - Run `wasm-as -all -g` and `wasm-dis` on it and compare the output with `*.fromBinary`. - Run `wasm-as -all` and `wasm-dis` on it and compare the output with `*.fromBinary.noDebugInfo`. I plan to move those to `test/lit/`. But `test/lit/` has other kind of tests as well, so I think it'd be nice to have a dedicated directory for these tests. Before doing that, I noticed there are already four tests that have been already ported to do this, and this PR moves them to `test/lit/basic/`. I couldn't come up with a better name than `basic`. If you have other suggestions please let me know. --- test/lit/{ => basic}/relaxed-simd.wast | 0 test/lit/{ => basic}/table-operations.wast | 0 test/lit/{ => basic}/typed_continuations.wast | 0 test/lit/{ => basic}/types-function-references.wast | 0 4 files changed, 0 insertions(+), 0 deletions(-) rename test/lit/{ => basic}/relaxed-simd.wast (100%) rename test/lit/{ => basic}/table-operations.wast (100%) rename test/lit/{ => basic}/typed_continuations.wast (100%) rename test/lit/{ => basic}/types-function-references.wast (100%) diff --git a/test/lit/relaxed-simd.wast b/test/lit/basic/relaxed-simd.wast similarity index 100% rename from test/lit/relaxed-simd.wast rename to test/lit/basic/relaxed-simd.wast diff --git a/test/lit/table-operations.wast b/test/lit/basic/table-operations.wast similarity index 100% rename from test/lit/table-operations.wast rename to test/lit/basic/table-operations.wast diff --git a/test/lit/typed_continuations.wast b/test/lit/basic/typed_continuations.wast similarity index 100% rename from test/lit/typed_continuations.wast rename to test/lit/basic/typed_continuations.wast diff --git a/test/lit/types-function-references.wast b/test/lit/basic/types-function-references.wast similarity index 100% rename from test/lit/types-function-references.wast rename to test/lit/basic/types-function-references.wast