From: Carl Hetherington Date: Tue, 27 Feb 2018 20:25:13 +0000 (+0000) Subject: Remove relative path elements from test location. X-Git-Tag: v2.13.0~36 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=363dee03e61d65538841541028ed62c91ffca124 Remove relative path elements from test location. --- diff --git a/src/lib/job.cc b/src/lib/job.cc index 5134475ce..65e2567cc 100644 --- a/src/lib/job.cc +++ b/src/lib/job.cc @@ -176,7 +176,7 @@ Job::run_wrapper () } catch (dcp::DCPReadError& e) { - set_error (e.message(), e.detail().get_value_or("")); + set_error (e.what(), "");//message(), e.detail().get_value_or("")); set_progress (1); set_state (FINISHED_ERROR); diff --git a/test/test.cc b/test/test.cc index f829a86f6..53a561aa3 100644 --- a/test/test.cc +++ b/test/test.cc @@ -69,7 +69,7 @@ using boost::shared_ptr; using boost::scoped_array; using boost::dynamic_pointer_cast; -boost::filesystem::path private_data = boost::filesystem::path ("..") / boost::filesystem::path ("dcpomatic-test-private"); +boost::filesystem::path private_data = boost::filesystem::absolute(boost::filesystem::path ("..") / boost::filesystem::path ("dcpomatic-test-private")); void setup_test_config ()