Skip to content

Commit baf3bb7

Browse files
authored
Disable xsystem for WASM (#288)
* Disable Xsystem for WASM
1 parent 160dce0 commit baf3bb7

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

test/test_interpreter.cpp

+2-6
Original file line numberDiff line numberDiff line change
@@ -654,15 +654,10 @@ TEST_SUITE("xsystem_clone")
654654
}
655655
}
656656

657+
#if !defined(XEUS_CPP_EMSCRIPTEN_WASM_BUILD)
657658
TEST_SUITE("xsystem_apply")
658659
{
659-
#if defined(XEUS_CPP_EMSCRIPTEN_WASM_BUILD)
660-
TEST_CASE("apply_xsystem"
661-
* doctest::should_fail(true)
662-
* doctest::description("TODO: Currently fails for the Emscripten build"))
663-
#else
664660
TEST_CASE("apply_xsystem")
665-
#endif
666661
{
667662
xcpp::xsystem system;
668663
std::string code = "!echo Hello, World!";
@@ -673,6 +668,7 @@ TEST_SUITE("xsystem_apply")
673668
REQUIRE(kernel_res["status"] == "ok");
674669
}
675670
}
671+
#endif
676672

677673
TEST_SUITE("xmagics_contains"){
678674
TEST_CASE("bad_status_cell") {

0 commit comments

Comments
 (0)