diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-11-16 19:30:29 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-11-16 19:30:29 +0000 |
| commit | 1853a4a89d47e068c31d993dd4ecb8d83cedc884 (patch) | |
| tree | e903eb47a40f777661daf7697673aa7586958c7e | |
| parent | 2ccc67a0268395b1d241cb729170009feef397dd (diff) | |
Update test reference.
| -rwxr-xr-x | run/tests | 2 | ||||
| -rw-r--r-- | test/test.cc | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -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 |
