summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-11-16 19:30:29 +0000
committerCarl Hetherington <cth@carlh.net>2013-11-16 19:30:29 +0000
commit1853a4a89d47e068c31d993dd4ecb8d83cedc884 (patch)
treee903eb47a40f777661daf7697673aa7586958c7e
parent2ccc67a0268395b1d241cb729170009feef397dd (diff)
Update test reference.
-rwxr-xr-xrun/tests2
-rw-r--r--test/test.cc6
2 files changed, 6 insertions, 2 deletions
diff --git a/run/tests b/run/tests
index d1317e000..9b94ada80 100755
--- 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
diff --git a/test/test.cc b/test/test.cc
index 6adb56e8f..22dea1fc4 100644
--- a/test/test.cc
+++ b/test/test.cc
@@ -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