From 1853a4a89d47e068c31d993dd4ecb8d83cedc884 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 16 Nov 2013 19:30:29 +0000 Subject: [PATCH] Update test reference. --- run/tests | 2 ++ test/test.cc | 6 ++++-- 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 -- 2.30.2