From 422ea7c84ba28f0dc62accd303fe547b4889a901 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 12 Sep 2023 12:46:59 -0700 Subject: [PATCH] Un-ignore now-passing test With the merging of #6877 prints to stdout with preview2 should now work without requiring extra sleeps or such. --- tests/all/cli_tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/all/cli_tests.rs b/tests/all/cli_tests.rs index ac0f739584e5..9b8f0b8ba248 100644 --- a/tests/all/cli_tests.rs +++ b/tests/all/cli_tests.rs @@ -725,10 +725,10 @@ fn wasi_misaligned_pointer() -> Result<()> { } #[test] -#[ignore] // FIXME(#6811) currently is flaky and may produce no output +#[cfg_attr(not(feature = "component-model"), ignore)] fn hello_with_preview2() -> Result<()> { let wasm = build_wasm("tests/all/cli_tests/hello_wasi_snapshot1.wat")?; - let stdout = run_wasmtime(&["-Ccache=n", "--preview2", wasm.path().to_str().unwrap()])?; + let stdout = run_wasmtime(&["-Ccache=n", "-Spreview2", wasm.path().to_str().unwrap()])?; assert_eq!(stdout, "Hello, world!\n"); Ok(()) }