File tree Expand file tree Collapse file tree 1 file changed +11
-21
lines changed Expand file tree Collapse file tree 1 file changed +11
-21
lines changed Original file line number Diff line number Diff line change @@ -657,30 +657,20 @@ TEST_SUITE("xsystem_clone")
657657TEST_SUITE (" xsystem_apply" 
658658{
659659#if  defined(XEUS_CPP_EMSCRIPTEN_WASM_BUILD)
660-     TEST_CASE (" apply_xsystem" 
661-     {
662-         xcpp::xsystem system;
663-         std::string code = " !echo Hello, World!" 
664-         nl::json kernel_res;
665- 
666-         system.apply (code, kernel_res);
667- 
668-         REQUIRE (kernel_res[" status" " error" 
669-         REQUIRE (kernel_res[" ename" " UnsupportedEnvironment" 
670-         REQUIRE (kernel_res[" evalue" " Shell commands are not supported in the WASM environment." 
671-     }
660+     TEST_CASE (" apply_xsystem" 
661+             * doctest::should_fail (true )
662+             * doctest::description (" TODO: Currently fails for the Emscripten build" 
672663#else 
673664    TEST_CASE (" apply_xsystem" 
674-     {
675-         xcpp::xsystem system;
676-         std::string code = " !echo Hello, World!" 
677-         nl::json kernel_res;
678- 
679-         system.apply (code, kernel_res);
680- 
681-         REQUIRE (kernel_res[" status" " ok" 
682-     }
683665#endif 
666+ {
667+     xcpp::xsystem system;
668+     std::string code = " !echo Hello, World!" 
669+     nl::json kernel_res;
670+     system.apply (code, kernel_res);
671+ 
672+     REQUIRE (kernel_res[" status" " ok" 
673+ }
684674}
685675
686676TEST_SUITE (" xmagics_contains" 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments