Skip to content

wasmerio/anti-regression-shield

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

compat-tests

Runtime compatibility test harness for Wasmer using upstream language test suites.

Current first backend:

  • Python / upstream CPython tests

Invoke in Wasmer repo

In the wasmer repo, you can trigger this from a PR by commenting /patchsmith test. That dispatches the compat-tests workflow against the PR branch and posts a summary comment back on the PR with links to the workflow run and results commit.

Run locally

For local development, the fastest path is to reuse your own Wasmer binary directly:

python3 main.py run-python --wasmer-bin ~/wasmer/wasmer/target/debug/wasmer

That runs the full Python upstream suite and updates status.json and metadata.json, so you can inspect the diff and see the impact of your Wasmer changes before you commit anything in the main repo.

Debug one specific test

For quick investigation of one test, use debug mode:

python3 main.py run-python --wasmer-bin ~/wasmer/wasmer/target/debug/wasmer --debug-test test.test_posixpath.PosixPathTest.test_islink

Debug mode prints the raw test output and exits with the test status, but it does not update status.json or metadata.json.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages