spectest

package
v1.0.0-pre.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(t *testing.T, testDataFS embed.FS, ctx context.Context, newEngine func(context.Context, wasm.Features) wasm.Engine, enabledFeatures wasm.Features)

Run runs all the test inside the testDataFS file system where all the cases are described via JSON files created from wast2json.

func TestBinaryEncoder

func TestBinaryEncoder(t *testing.T, testDataFS embed.FS, enabledFeatures wasm.Features)

TestBinaryEncoder ensures that binary.EncodeModule produces exactly the same binaries for wasm.Module via binary.DecodeModule modulo custom sections for all the valid binaries in spectests.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL