Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moon test --target=all did not use native as the target #585

Closed
1 task done
FlyCloudC opened this issue Feb 6, 2025 · 2 comments
Closed
1 task done

moon test --target=all did not use native as the target #585

FlyCloudC opened this issue Feb 6, 2025 · 2 comments

Comments

@FlyCloudC
Copy link

Bug Report

Environment

OS

Operating System: Windows

MoonBit CLI Tools Version

moon 0.1.20250121 (a825806 2025-01-21) ~\.moon\bin\moon.exe
moonc v0.1.20250121+7fc3467ab ~\.moon\bin\moonc.exe
moonrun 0.1.20250121 (a825806 2025-01-21) ~\.moon\bin\moonrun.exe

Steps to Reproduce

Create a new project, create src/test.mbt:

test {
  inspect!(1, content="1")
}

run: moon test --target=all

Expected Behavior

output:

Total tests: 1, passed: 1, failed: 0. [wasm-gc]
Total tests: 1, passed: 1, failed: 0. [js]
Total tests: 1, passed: 1, failed: 0. [wasm]
Total tests: 1, passed: 1, failed: 0. [native]

Actual Behavior

output:

Total tests: 1, passed: 1, failed: 0. [wasm-gc]
Total tests: 1, passed: 1, failed: 0. [js]
Total tests: 1, passed: 1, failed: 0. [wasm]

Checklist

  • (Optional) My case is minimal enough to be reproducible.
@peter-jerry-ye
Copy link

Native backend is still considered experimental.

@FlyCloudC
Copy link
Author

Native backend is still considered experimental.

Oh! I see.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants