-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closes #239 Adding diffs to tests #315
base: master
Are you sure you want to change the base?
Conversation
test diff has beed added to all mentioned alg tests. cf_reader cxx & python tests were failing with cam5 as it was diffing one of 2 time step overwritten outputs with one of the time step inputs
b7bc6f4
to
0da92f5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the comment in PR says that two tests are failing, if this is the case then these should be fixed prior to merge. please update the comment when all tests pass.
@@ -395,6 +395,8 @@ const_p_teca_dataset teca_cartesian_mesh_writer::execute( | |||
= std::dynamic_pointer_cast<const teca_cartesian_mesh>( | |||
input_data[0]); | |||
|
|||
std::cerr << "teca_cartesian_mesh_writer::execute -- mesh: " << mesh << std::endl; | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove any debug code such as this cerr output
wri.set_file_name(out_file) | ||
wri.set_executive(exe) | ||
|
||
wri.update() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix no new line. note the red icon at the end of the above line.
teca_system_interface::set_stack_trace_on_error(); | ||
|
||
if (argc < 7) | ||
if (argc < 5) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks wrong to me. the argument parsing code below will crash if argc < 7
. at least one array is expected
also for please add serial, mpi, threads and mpi_threads for parallel applications |
test diff has beed added to all mentioned alg tests. cf_reader cxx & python tests are failing (cam5 test in cxx)