Enable running spec tests on Windows (#2423)

Update wamr-test-suites scripts to enable running spec tests on Windows.
We don't enable those tests in CI yet as not all of them are passing.
This commit is contained in:
Marcin Kolny
2023-08-09 02:40:59 +01:00
committed by GitHub
parent a07d8160f9
commit ea763009b7
5 changed files with 156 additions and 64 deletions

View File

@ -142,7 +142,8 @@ app_instance_repl(wasm_module_inst_t module_inst)
char *cmd;
size_t n;
while ((printf("webassembly> "), cmd = fgets(buffer, sizeof(buffer), stdin))
while ((printf("webassembly> "), fflush(stdout),
cmd = fgets(buffer, sizeof(buffer), stdin))
!= NULL) {
bh_assert(cmd);
n = strlen(cmd);