Mercurial > pub > dyncall > dyncall
comparison 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 |
comparison
equal
deleted
inserted
replaced
409:15698dc0cba3 | 410:7608e34098b0 |
---|---|
167 success = run_range(from,to); | 167 success = run_range(from,to); |
168 } else { | 168 } else { |
169 success = run_range(0,NCASES); | 169 success = run_range(0,NCASES); |
170 } | 170 } |
171 | 171 |
172 printf("result: suite2_x86win32std: %s\n", success ? "1" : "0"); | 172 printf("result: suite2_x86win32std: %d\n", success); |
173 | 173 |
174 dcTest_deInitPlatform(); | 174 dcTest_deInitPlatform(); |
175 | 175 |
176 return (success) ? 0 : -1; | 176 return !success; |
177 } | 177 } |
178 | 178 |
179 } // extern "C" | 179 } // extern "C" |
180 | 180 |