Skip to content

Commit

Permalink
tests: Print a message if import slots are missing
Browse files Browse the repository at this point in the history
  • Loading branch information
oleavr committed Feb 16, 2024
1 parent 47faba2 commit bc2fc64
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/core/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,10 @@ TESTCASE (module_import_slot_should_contain_correct_value)

unsupported_on_this_os = slot == NULL;
if (unsupported_on_this_os)
{
g_print ("<skipping, not yet supported on this OS> ");
return;
}

actual_value =
gum_strip_code_address (GPOINTER_TO_SIZE (*slot));
Expand Down

0 comments on commit bc2fc64

Please sign in to comment.