mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-14 21:51:27 +00:00
Remove unnecessary ret value control when spec test is enabled (#1839)
wamr-test-suites scripts can handle the return value correctly when spec test is enabled.
This commit is contained in:
parent
679a8ab3cb
commit
26728cbef2
|
@ -796,12 +796,7 @@ fail1:
|
||||||
/* Destroy runtime environment */
|
/* Destroy runtime environment */
|
||||||
destroy_runtime();
|
destroy_runtime();
|
||||||
|
|
||||||
#if WASM_ENABLE_SPEC_TEST != 0
|
|
||||||
(void)ret;
|
|
||||||
return 0;
|
|
||||||
#else
|
|
||||||
return ret;
|
return ret;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
|
@ -696,10 +696,5 @@ fail1:
|
||||||
/* destroy runtime environment */
|
/* destroy runtime environment */
|
||||||
wasm_runtime_destroy();
|
wasm_runtime_destroy();
|
||||||
|
|
||||||
#if WASM_ENABLE_SPEC_TEST != 0
|
|
||||||
(void)ret;
|
|
||||||
return 0;
|
|
||||||
#else
|
|
||||||
return ret;
|
return ret;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -496,10 +496,5 @@ fail1:
|
||||||
/* destroy runtime environment */
|
/* destroy runtime environment */
|
||||||
wasm_runtime_destroy();
|
wasm_runtime_destroy();
|
||||||
|
|
||||||
#if WASM_ENABLE_SPEC_TEST != 0
|
|
||||||
(void)ret;
|
|
||||||
return 0;
|
|
||||||
#else
|
|
||||||
return ret;
|
return ret;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user