projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ccc67a
)
Update test reference.
author
Carl Hetherington
<cth@carlh.net>
Sat, 16 Nov 2013 19:30:29 +0000
(19:30 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 16 Nov 2013 19:30:29 +0000
(19:30 +0000)
run/tests
patch
|
blob
|
history
test/test.cc
patch
|
blob
|
history
diff --git
a/run/tests
b/run/tests
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
diff --git
a/test/test.cc
b/test/test.cc
index 6adb56e8f66d26da498921a880201ffbc1ca1595..22dea1fc4ea537b705d36084731305b808c63df3 100644
(file)
--- 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