Update test reference.
authorCarl Hetherington <cth@carlh.net>
Sat, 16 Nov 2013 19:30:29 +0000 (19:30 +0000)
committerCarl Hetherington <cth@carlh.net>
Sat, 16 Nov 2013 19:30:29 +0000 (19:30 +0000)
run/tests
test/test.cc

index d1317e0001850bce28fc4a1e801b828e79bc9e7d..9b94ada80452c305ee67d31cf9e4436f800005a0 100755 (executable)
--- a/run/tests
+++ b/run/tests
@@ -1,4 +1,6 @@
 #!/bin/bash
+#
+# e.g. --run_tests=foo
 
 export LD_LIBRARY_PATH=build/src/lib:$LD_LIBRARY_PATH
 if [ "$1" == "--debug" ]; then
index 6adb56e8f66d26da498921a880201ffbc1ca1595..22dea1fc4ea537b705d36084731305b808c63df3 100644 (file)
@@ -127,9 +127,11 @@ check_file (string ref, string check)
 }
 
 static void
-note (libdcp::NoteType, string n)
+note (libdcp::NoteType t, string n)
 {
-       cout << n << "\n";
+       if (t == libdcp::ERROR) {
+               cerr << n << "\n";
+       }
 }
 
 void