Skip to content

Commit

Permalink
fix(test/drivers): skip unimplemented syscalls tests.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <[email protected]>
  • Loading branch information
FedeDP authored and poiana committed Nov 28, 2023
1 parent 0287743 commit fb17551
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/drivers/event_class/event_class.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ void assert_syscall_state(int syscall_state, const char* syscall_name, long sysc
{
bool match = false;

if (errno == ENOSYS)
{
GTEST_SKIP() << "Syscall " << syscall_name << " not implemented" << std::endl;
return;
}

switch(op)
{
case EQUAL:
Expand Down

0 comments on commit fb17551

Please sign in to comment.