add run in gdb menu action
This commit is contained in:
@ -25,9 +25,11 @@ extern "C" EXPORT("wasm_module") int wasm_module(void) {
|
||||
fail_stop_trace();
|
||||
|
||||
if (X == 100) {
|
||||
HOST_PRINT("result correct.\n");
|
||||
fail_marker_positive();
|
||||
return 0;
|
||||
} else {
|
||||
HOST_PRINT("result incorrect.\n");
|
||||
fail_marker_negative();
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user