Revision 7:43eb3a4b95c8

View differences:

TestDefaults.cpp
91 91
    if (data) destroyTestAudio(data, channels);
92 92

  
93 93
    if (!(f[0] == f[1])) {
94
        r.push_back(warning("Explicitly setting current program to its supposed current value changes the results"));
94
        Result res = warning("Explicitly setting current program to its supposed current value changes the results");
95
        dump(res, f[0], f[1]);
96
        r.push_back(res);
95 97
    } else {
96 98
        r.push_back(success());
97 99
    }
......
137 139
    if (data) destroyTestAudio(data, channels);
138 140

  
139 141
    if (!(f[0] == f[1])) {
140
        r.push_back(warning("Explicitly setting parameters to their supposed default values changes the results"));
142
        Result res = warning("Explicitly setting parameters to their supposed default values changes the results");
143
        dump(res, f[0], f[1]);
144
        r.push_back(res);
141 145
    } else {
142 146
        r.push_back(success());
143 147
    }
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