Go to the source code of this file.
◆ TEST_CASE() [1/2]
Definition at line 21 of file subprocess_test.cpp.
   21                           {
   29  }
   30}
int N(array< T > a)
Get the length of the array.
The list class represents a linked list.
int check_stderr(string cmd, string &result)
int check_stdout(string cmd, string &result)
 
 
◆ TEST_CASE() [2/2]
Definition at line 32 of file subprocess_test.cpp.
   32                   {
   33#ifdef OS_WASM
   34  CHECK_EQ (call (
"xmake --version"), -1);
 
   35  CHECK_EQ (call (
"no_such_command"), -1);
 
   37#else
   38#ifndef OS_MINGW
   39  CHECK (call (
"xmake --version") == 0);
 
   40#endif
   41  CHECK (call (
"no_such_command") != 0);
 
   42  CHECK (call (
"") != 0);
 
   43#endif
   44}