Remove relative path elements from test location.
authorCarl Hetherington <cth@carlh.net>
Tue, 27 Feb 2018 20:25:13 +0000 (20:25 +0000)
committerCarl Hetherington <cth@carlh.net>
Tue, 27 Feb 2018 20:25:13 +0000 (20:25 +0000)
src/lib/job.cc
test/test.cc

index 5134475ce6aa2f1b86fc8c6ac38635ac9bf10ca2..65e2567cc824710988cfc953a96b7cbd32c0602b 100644 (file)
@@ -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);
 
index f829a86f6892b5c441ba130b8e91ad6aedd08a2c..53a561aa353d1de5563c9bb100a6e9ca866c182e 100644 (file)
@@ -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 ()