Revision 7:43eb3a4b95c8 TestMultipleRuns.cpp

View differences:

TestMultipleRuns.cpp
89 89
    if (data) destroyTestAudio(data, channels);
90 90

  
91 91
    if (!(f[0] == f[1])) {
92
        r.push_back(warning("Consecutive runs with separate instances produce different results"));
92
        Result res = warning("Consecutive runs with separate instances produce different results");
93
        dump(res, f[0], f[1]);
94
        r.push_back(res);
93 95
    } else {
94 96
        r.push_back(success());
95 97
    }
......
176 178
    if (data) destroyTestAudio(data, channels);
177 179

  
178 180
    if (!(f[0] == f[1])) {
179
        r.push_back(warning("Simultaneous runs with separate instances produce different results"));
181
        Result res = warning("Simultaneous runs with separate instances produce different results");
182
        dump(res, f[0], f[1]);
183
        r.push_back(res);
180 184
    } else {
181 185
        r.push_back(success());
182 186
    }
......
213 217
    if (data) destroyTestAudio(data, channels);
214 218

  
215 219
    if (f[0] == f[1]) {
216
        r.push_back(warning("Consecutive runs with different starting timestamps produce the same result"));
220
        Result res = warning("Consecutive runs with different starting timestamps produce the same result");
221
        dump(res, f[0], f[1]);
222
        r.push_back(res);
217 223
    } else {
218 224
        r.push_back(success());
219 225
    }

Also available in: Unified diff