diff test/suite2_x86win32std/main.cc @ 410:7608e34098b0

- cleanups, simplifications, some api clarification, ... - test cases consistency: * return status code depending on test results (for actual conformance tests, not stuff that is not an example or hack to check something, ..) * platform init helper added for some
author Tassilo Philipp
date Tue, 05 Oct 2021 21:53:04 +0200
parents f5577f6bf97a
children 0f40e13a2f0a
line wrap: on
line diff
--- a/test/suite2_x86win32std/main.cc	Sun Oct 03 19:41:41 2021 +0200
+++ b/test/suite2_x86win32std/main.cc	Tue Oct 05 21:53:04 2021 +0200
@@ -169,11 +169,11 @@
     success = run_range(0,NCASES);
   }
 
-  printf("result: suite2_x86win32std: %s\n", success ? "1" : "0");
+  printf("result: suite2_x86win32std: %d\n", success);
   
   dcTest_deInitPlatform();
 
-  return (success) ? 0 : -1;
+  return !success;
 }
 
 }  // extern "C"