Navigation Menu

Skip to content

Commit

Permalink
test: replace some exit()s with returns.
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Sep 10, 2019
1 parent 791df27 commit 32bb8b4
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion test/Makefile.os2
Expand Up @@ -62,7 +62,7 @@ $(TESTLIB): $(COBJS)
wlink SYS os2v2 libpath $(LIBPATH) lib {$(LIBS)} op q op el file {$<} name $@

.c.obj:
wcc386 $(CFLAGS) -wcd=107 -fo=$^@ $<
wcc386 $(CFLAGS) -fo=$^@ $<

# specials
testautomation.exe: $(TAOBJS)
Expand Down
2 changes: 1 addition & 1 deletion test/controllermap.c
Expand Up @@ -773,7 +773,7 @@ int
main(int argc, char *argv[])
{
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL compiled without Joystick support.\n");
exit(1);
return 1;
}

#endif
Expand Down
2 changes: 1 addition & 1 deletion test/testgamecontroller.c
Expand Up @@ -367,7 +367,7 @@ int
main(int argc, char *argv[])
{
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL compiled without Joystick support.\n");
exit(1);
return 1;
}

#endif
Expand Down
2 changes: 1 addition & 1 deletion test/testhaptic.c
Expand Up @@ -363,7 +363,7 @@ int
main(int argc, char *argv[])
{
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL compiled without Haptic support.\n");
exit(1);
return 1;
}

#endif
2 changes: 1 addition & 1 deletion test/testjoystick.c
Expand Up @@ -379,7 +379,7 @@ int
main(int argc, char *argv[])
{
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL compiled without Joystick support.\n");
exit(1);
return 1;
}

#endif
Expand Down
2 changes: 1 addition & 1 deletion test/testrumble.c
Expand Up @@ -147,7 +147,7 @@ int
main(int argc, char *argv[])
{
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL compiled without Haptic support.\n");
exit(1);
return 1;
}

#endif

0 comments on commit 32bb8b4

Please sign in to comment.