Skip to content

Closes #239 Adding diffs to tests - #315

Open
elbashandy wants to merge 1 commit into
masterfrom
support_test_diffs
Open

Closes #239 Adding diffs to tests#315
elbashandy wants to merge 1 commit into
masterfrom
support_test_diffs

Conversation

@elbashandy

Copy link
Copy Markdown
Contributor

test diff has beed added to all mentioned alg tests. cf_reader cxx & python tests are failing (cam5 test in cxx)

@elbashandy
elbashandy requested a review from burlen December 17, 2019 19:25
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

@burlen burlen left a comment

Copy link
Copy Markdown
Collaborator

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.

input_data[0]);

std::cerr << "teca_cartesian_mesh_writer::execute -- mesh: " << mesh << std::endl;

Copy link
Copy Markdown
Collaborator

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() No newline at end of file

Copy link
Copy Markdown
Collaborator

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)

Copy link
Copy Markdown
Collaborator

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

@burlen

burlen commented Jun 26, 2020

Copy link
Copy Markdown
Collaborator

also for please add serial, mpi, threads and mpi_threads for parallel applications

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants