fixed: libecl recently enforced stricter filename rules

in particular, no mixed case. either all upper or all lower
This commit is contained in:
Arne Morten Kvarving 2018-02-12 15:01:57 +01:00
parent dec7e0068d
commit e81784c9eb
5 changed files with 12 additions and 12 deletions

4
tests/test_RFT.cpp Executable file → Normal file
View File

@ -106,7 +106,7 @@ data::Solution createBlackoilState( int timeStepIdx, int numCells ) {
BOOST_AUTO_TEST_CASE(test_RFT) { BOOST_AUTO_TEST_CASE(test_RFT) {
ParseContext parse_context; ParseContext parse_context;
std::string eclipse_data_filename = "testRFT.DATA"; std::string eclipse_data_filename = "testrft.DATA";
ERT::TestArea test_area("test_RFT"); ERT::TestArea test_area("test_RFT");
test_area.copyFile( eclipse_data_filename ); test_area.copyFile( eclipse_data_filename );
@ -179,7 +179,7 @@ void verifyRFTFile2(const std::string& rft_filename) {
BOOST_AUTO_TEST_CASE(test_RFT2) { BOOST_AUTO_TEST_CASE(test_RFT2) {
ParseContext parse_context; ParseContext parse_context;
std::string eclipse_data_filename = "testRFT.DATA"; std::string eclipse_data_filename = "testrft.DATA";
ERT::TestArea test_area("test_RFT"); ERT::TestArea test_area("test_RFT");
test_area.copyFile( eclipse_data_filename ); test_area.copyFile( eclipse_data_filename );

View File

@ -207,7 +207,7 @@ struct setup {
* read it again (with ERT), and compare the read values with the input. * read it again (with ERT), and compare the read values with the input.
*/ */
BOOST_AUTO_TEST_CASE(well_keywords) { BOOST_AUTO_TEST_CASE(well_keywords) {
setup cfg( "test_Summary_well" ); setup cfg( "test_summary_well" );
// Force to run in a directory, to make sure the basename with // Force to run in a directory, to make sure the basename with
// leading path works. // leading path works.
@ -401,7 +401,7 @@ BOOST_AUTO_TEST_CASE(well_keywords) {
} }
BOOST_AUTO_TEST_CASE(group_keywords) { BOOST_AUTO_TEST_CASE(group_keywords) {
setup cfg( "test_Summary_group" ); setup cfg( "test_summary_group" );
out::Summary writer( cfg.es, cfg.config, cfg.grid, cfg.schedule, cfg.name ); out::Summary writer( cfg.es, cfg.config, cfg.grid, cfg.schedule, cfg.name );
writer.add_timestep( 0, 0 * day, cfg.es, cfg.schedule, cfg.wells , {}); writer.add_timestep( 0, 0 * day, cfg.es, cfg.schedule, cfg.wells , {});
@ -528,7 +528,7 @@ BOOST_AUTO_TEST_CASE(group_keywords) {
} }
BOOST_AUTO_TEST_CASE(group_group) { BOOST_AUTO_TEST_CASE(group_group) {
setup cfg( "test_Summary_group_group" , "group_group.DATA"); setup cfg( "test_summary_group_group" , "group_group.DATA");
out::Summary writer( cfg.es, cfg.config, cfg.grid, cfg.schedule, cfg.name ); out::Summary writer( cfg.es, cfg.config, cfg.grid, cfg.schedule, cfg.name );
writer.add_timestep( 0, 0 * day, cfg.es, cfg.schedule, cfg.wells , {}); writer.add_timestep( 0, 0 * day, cfg.es, cfg.schedule, cfg.wells , {});
@ -580,7 +580,7 @@ BOOST_AUTO_TEST_CASE(group_group) {
BOOST_AUTO_TEST_CASE(completion_kewords) { BOOST_AUTO_TEST_CASE(completion_kewords) {
setup cfg( "test_Summary_completion" ); setup cfg( "test_summary_completion" );
out::Summary writer( cfg.es, cfg.config, cfg.grid, cfg.schedule, cfg.name ); out::Summary writer( cfg.es, cfg.config, cfg.grid, cfg.schedule, cfg.name );
writer.add_timestep( 0, 0 * day, cfg.es, cfg.schedule, cfg.wells , {}); writer.add_timestep( 0, 0 * day, cfg.es, cfg.schedule, cfg.wells , {});
@ -633,7 +633,7 @@ BOOST_AUTO_TEST_CASE(completion_kewords) {
} }
BOOST_AUTO_TEST_CASE(field_keywords) { BOOST_AUTO_TEST_CASE(field_keywords) {
setup cfg( "test_Summary_field" ); setup cfg( "test_summary_field" );
out::Summary writer( cfg.es, cfg.config, cfg.grid, cfg.schedule, cfg.name ); out::Summary writer( cfg.es, cfg.config, cfg.grid, cfg.schedule, cfg.name );
writer.add_timestep( 0, 0 * day, cfg.es, cfg.schedule, cfg.wells , {}); writer.add_timestep( 0, 0 * day, cfg.es, cfg.schedule, cfg.wells , {});
@ -748,7 +748,7 @@ BOOST_AUTO_TEST_CASE(field_keywords) {
} }
BOOST_AUTO_TEST_CASE(report_steps_time) { BOOST_AUTO_TEST_CASE(report_steps_time) {
setup cfg( "test_Summary_report_steps_time" ); setup cfg( "test_summary_report_steps_time" );
out::Summary writer( cfg.es, cfg.config, cfg.grid, cfg.schedule, cfg.name ); out::Summary writer( cfg.es, cfg.config, cfg.grid, cfg.schedule, cfg.name );
writer.add_timestep( 1, 2 * day, cfg.es, cfg.schedule, cfg.wells , {}); writer.add_timestep( 1, 2 * day, cfg.es, cfg.schedule, cfg.wells , {});
@ -770,7 +770,7 @@ BOOST_AUTO_TEST_CASE(report_steps_time) {
} }
BOOST_AUTO_TEST_CASE(skip_unknown_var) { BOOST_AUTO_TEST_CASE(skip_unknown_var) {
setup cfg( "test_Summary_skip_unknown_var" ); setup cfg( "test_summary_skip_unknown_var" );
out::Summary writer( cfg.es, cfg.config, cfg.grid, cfg.schedule, cfg.name ); out::Summary writer( cfg.es, cfg.config, cfg.grid, cfg.schedule, cfg.name );
writer.add_timestep( 1, 2 * day, cfg.es, cfg.schedule, cfg.wells , {}); writer.add_timestep( 1, 2 * day, cfg.es, cfg.schedule, cfg.wells , {});
@ -1055,7 +1055,7 @@ BOOST_AUTO_TEST_CASE( require3D )
BOOST_AUTO_TEST_CASE(MISC) { BOOST_AUTO_TEST_CASE(MISC) {
setup cfg( "test_MISC"); setup cfg( "test_misc");
out::Summary writer( cfg.es, cfg.config, cfg.grid, cfg.schedule , cfg.name ); out::Summary writer( cfg.es, cfg.config, cfg.grid, cfg.schedule , cfg.name );
writer.add_timestep( 0, 0 * day, cfg.es, cfg.schedule, cfg.wells , {}); writer.add_timestep( 0, 0 * day, cfg.es, cfg.schedule, cfg.wells , {});
@ -1070,7 +1070,7 @@ BOOST_AUTO_TEST_CASE(MISC) {
BOOST_AUTO_TEST_CASE(EXTRA) { BOOST_AUTO_TEST_CASE(EXTRA) {
setup cfg( "test_EXTRA"); setup cfg( "test_extra");
{ {
out::Summary writer( cfg.es, cfg.config, cfg.grid, cfg.schedule , cfg.name ); out::Summary writer( cfg.es, cfg.config, cfg.grid, cfg.schedule , cfg.name );

View File

@ -133,7 +133,7 @@ void verifyWellState(const std::string& rst_filename,
} }
BOOST_AUTO_TEST_CASE(EclipseWriteRestartWellInfo) { BOOST_AUTO_TEST_CASE(EclipseWriteRestartWellInfo) {
std::string eclipse_data_filename = "testBlackoilState3.DATA"; std::string eclipse_data_filename = "testblackoilstate3.DATA";
std::string eclipse_restart_filename = "TESTBLACKOILSTATE3.X0004"; std::string eclipse_restart_filename = "TESTBLACKOILSTATE3.X0004";
test_work_area_type * test_area = test_work_area_alloc("TEST_EclipseWriteNumWells"); test_work_area_type * test_area = test_work_area_alloc("TEST_EclipseWriteNumWells");
test_work_area_copy_file(test_area, eclipse_data_filename.c_str()); test_work_area_copy_file(test_area, eclipse_data_filename.c_str());