Enable CI wasi test suite for x86-32 classic/fast interpreter (#1866)

The original CI didn't actually run wasi test suite for x86-32 since the `TEST_ON_X86_32=true`
isn't written into $GITHUB_ENV.

And refine the error output when failed to link import global.
This commit is contained in:
Wenyong Huang
2023-01-06 17:31:39 +08:00
committed by GitHub
parent 7401718311
commit 1f4580fbd8
3 changed files with 4 additions and 3 deletions

View File

@ -987,7 +987,7 @@ check_linked_symbol(AOTModule *module, char *error_buf, uint32 error_buf_size)
AOTImportGlobal *global = module->import_globals + i;
if (!global->is_linked) {
set_error_buf_v(error_buf, error_buf_size,
"warning: failed to link import global (%s, %s)",
"failed to link import global (%s, %s)",
global->module_name, global->global_name);
return false;
}

View File

@ -1252,7 +1252,7 @@ check_linked_symbol(WASMModuleInstance *module_inst, char *error_buf,
#else
#if WASM_ENABLE_WAMR_COMPILER == 0
set_error_buf_v(error_buf, error_buf_size,
"warning: failed to link import global (%s, %s)",
"failed to link import global (%s, %s)",
global->module_name, global->field_name);
return false;
#else