diff options
| -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 |
