test: replace some exit()s with returns.

This commit is contained in:
Ozkan Sezer 2019-09-10 10:03:20 +03:00
parent 791df27a30
commit 32bb8b4b40
6 changed files with 6 additions and 6 deletions

View File

@ -62,7 +62,7 @@ $(TESTLIB): $(COBJS)
wlink SYS os2v2 libpath $(LIBPATH) lib {$(LIBS)} op q op el file {$<} name $@ wlink SYS os2v2 libpath $(LIBPATH) lib {$(LIBS)} op q op el file {$<} name $@
.c.obj: .c.obj:
wcc386 $(CFLAGS) -wcd=107 -fo=$^@ $< wcc386 $(CFLAGS) -fo=$^@ $<
# specials # specials
testautomation.exe: $(TAOBJS) testautomation.exe: $(TAOBJS)

View File

@ -773,7 +773,7 @@ int
main(int argc, char *argv[]) main(int argc, char *argv[])
{ {
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL compiled without Joystick support.\n"); SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL compiled without Joystick support.\n");
exit(1); return 1;
} }
#endif #endif

View File

@ -367,7 +367,7 @@ int
main(int argc, char *argv[]) main(int argc, char *argv[])
{ {
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL compiled without Joystick support.\n"); SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL compiled without Joystick support.\n");
exit(1); return 1;
} }
#endif #endif

View File

@ -363,7 +363,7 @@ int
main(int argc, char *argv[]) main(int argc, char *argv[])
{ {
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL compiled without Haptic support.\n"); SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL compiled without Haptic support.\n");
exit(1); return 1;
} }
#endif #endif

View File

@ -379,7 +379,7 @@ int
main(int argc, char *argv[]) main(int argc, char *argv[])
{ {
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL compiled without Joystick support.\n"); SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL compiled without Joystick support.\n");
exit(1); return 1;
} }
#endif #endif

View File

@ -147,7 +147,7 @@ int
main(int argc, char *argv[]) main(int argc, char *argv[])
{ {
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL compiled without Haptic support.\n"); SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL compiled without Haptic support.\n");
exit(1); return 1;
} }
#endif #endif