changeset 7:43eb3a4b95c8

* dump more output
author cannam
date Tue, 17 Mar 2009 18:02:29 +0000
parents ba3c8cc649d3
children 3019cb6b538d
files TestDefaults.cpp TestMultipleRuns.cpp
diffstat 2 files changed, 15 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/TestDefaults.cpp	Tue Mar 17 17:54:57 2009 +0000
+++ b/TestDefaults.cpp	Tue Mar 17 18:02:29 2009 +0000
@@ -91,7 +91,9 @@
     if (data) destroyTestAudio(data, channels);
 
     if (!(f[0] == f[1])) {
-        r.push_back(warning("Explicitly setting current program to its supposed current value changes the results"));
+        Result res = warning("Explicitly setting current program to its supposed current value changes the results");
+        dump(res, f[0], f[1]);
+        r.push_back(res);
     } else {
         r.push_back(success());
     }
@@ -137,7 +139,9 @@
     if (data) destroyTestAudio(data, channels);
 
     if (!(f[0] == f[1])) {
-        r.push_back(warning("Explicitly setting parameters to their supposed default values changes the results"));
+        Result res = warning("Explicitly setting parameters to their supposed default values changes the results");
+        dump(res, f[0], f[1]);
+        r.push_back(res);
     } else {
         r.push_back(success());
     }
--- a/TestMultipleRuns.cpp	Tue Mar 17 17:54:57 2009 +0000
+++ b/TestMultipleRuns.cpp	Tue Mar 17 18:02:29 2009 +0000
@@ -89,7 +89,9 @@
     if (data) destroyTestAudio(data, channels);
 
     if (!(f[0] == f[1])) {
-        r.push_back(warning("Consecutive runs with separate instances produce different results"));
+        Result res = warning("Consecutive runs with separate instances produce different results");
+        dump(res, f[0], f[1]);
+        r.push_back(res);
     } else {
         r.push_back(success());
     }
@@ -176,7 +178,9 @@
     if (data) destroyTestAudio(data, channels);
 
     if (!(f[0] == f[1])) {
-        r.push_back(warning("Simultaneous runs with separate instances produce different results"));
+        Result res = warning("Simultaneous runs with separate instances produce different results");
+        dump(res, f[0], f[1]);
+        r.push_back(res);
     } else {
         r.push_back(success());
     }
@@ -213,7 +217,9 @@
     if (data) destroyTestAudio(data, channels);
 
     if (f[0] == f[1]) {
-        r.push_back(warning("Consecutive runs with different starting timestamps produce the same result"));
+        Result res = warning("Consecutive runs with different starting timestamps produce the same result");
+        dump(res, f[0], f[1]);
+        r.push_back(res);
     } else {
         r.push_back(success());
     }