Revision 53:86d8a699dfbe TestMultipleRuns.cpp
| TestMultipleRuns.cpp | ||
|---|---|---|
| 246 | 246 |
if (data) destroyTestAudio(data, channels); |
| 247 | 247 |
|
| 248 | 248 |
if (f[0] == f[1]) {
|
| 249 |
string message = "Consecutive runs with different starting timestamps produce the same result"; |
|
| 250 | 249 |
Result res; |
| 251 |
if (options & NonDeterministic) res = note(message); |
|
| 252 |
else res = warning(message); |
|
| 253 |
if (options & Verbose) {
|
|
| 254 |
cout << message << endl; |
|
| 255 |
dump(f[0], false); |
|
| 250 |
if (containsTimestamps(f[0])) {
|
|
| 251 |
string message = "Consecutive runs with different starting timestamps produce the same result"; |
|
| 252 |
if (options & NonDeterministic) {
|
|
| 253 |
res = note(message); |
|
| 254 |
} else {
|
|
| 255 |
res = warning(message); |
|
| 256 |
} |
|
| 257 |
if (options & Verbose) {
|
|
| 258 |
cout << res.message() << endl; |
|
| 259 |
dump(f[0], false); |
|
| 260 |
} |
|
| 261 |
} else {
|
|
| 262 |
res = note("Consecutive runs with different starting timestamps produce the same result (but result features contain no timestamps, so this is probably all right)");
|
|
| 256 | 263 |
} |
| 257 | 264 |
r.push_back(res); |
| 258 | 265 |
} else {
|
Also available in: Unified diff