Mercurial > pub > dyncall > dyncall
comparison test/suite2_x86win32fast/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 | 85b7a117b807 |
comparison
equal
deleted
inserted
replaced
409:15698dc0cba3 | 410:7608e34098b0 |
---|---|
174 success = run_range(from,to); | 174 success = run_range(from,to); |
175 } else { | 175 } else { |
176 success = run_range(0,NCASES); | 176 success = run_range(0,NCASES); |
177 } | 177 } |
178 | 178 |
179 printf("result: suite2_x86win32fast: %s\n", success ? "1" : "0"); | 179 printf("result: suite2_x86win32fast: %d\n", success); |
180 | 180 |
181 dcTest_deInitPlatform(); | 181 dcTest_deInitPlatform(); |
182 | 182 |
183 return (success) ? 0 : -1; | 183 return !success; |
184 } | 184 } |
185 | 185 |
186 } // extern "C" | 186 } // extern "C" |
187 | 187 |