Skip to content
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

Remove C++ language suffix from unit tests #1309

Merged
merged 5 commits into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions unit_test/test_aprox_rates/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,11 @@ void main_main ()
ParallelDescriptor::ReduceRealMax(stop_time, IOProc);

std::string name = "test_aprox_rates.";
std::string language = ".cxx";

// Write a plotfile
WriteSingleLevelPlotfile(name + eos_name + language, state, names, geom, time, 0);
WriteSingleLevelPlotfile(name + eos_name, state, names, geom, time, 0);

write_job_info(name + eos_name + language);
write_job_info(name + eos_name);

// Tell the I/O Processor to write out the "run time"
amrex::Print() << "Run time = " << stop_time << std::endl;
Expand Down
5 changes: 2 additions & 3 deletions unit_test/test_conductivity/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,11 @@ void main_main ()
ParallelDescriptor::ReduceRealMax(stop_time, IOProc);

std::string name = "test_conductivity.";
std::string language = ".cxx";

// Write a plotfile
WriteSingleLevelPlotfile(name + cond_name + language, state, names, geom, time, 0);
WriteSingleLevelPlotfile(name + cond_name, state, names, geom, time, 0);

write_job_info(name + cond_name + language);
write_job_info(name + cond_name);

// Tell the I/O Processor to write out the "run time"
amrex::Print() << "Run time = " << stop_time << std::endl;
Expand Down
5 changes: 2 additions & 3 deletions unit_test/test_eos/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,11 @@ void main_main ()


std::string name = "test_eos.";
std::string language = ".cxx";

// Write a plotfile
WriteSingleLevelPlotfile(name + eos_name + language, state, names, geom, time, 0);
WriteSingleLevelPlotfile(name + eos_name, state, names, geom, time, 0);

write_job_info(name + eos_name + language);
write_job_info(name + eos_name);

// Tell the I/O Processor to write out the "run time"
amrex::Print() << "Run time = " << stop_time << std::endl;
Expand Down
6 changes: 2 additions & 4 deletions unit_test/test_react/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,12 +249,10 @@ void main_main ()
std::string name = "test_react.";
std::string integrator = buildInfoGetModuleVal(int_idx);

std::string language = ".cxx";

// Write a plotfile
WriteSingleLevelPlotfile(prefix + name + integrator + language, state, names, geom, time, 0);
WriteSingleLevelPlotfile(prefix + name + integrator, state, names, geom, time, 0);

write_job_info(prefix + name + integrator + language);
write_job_info(prefix + name + integrator);

// output stats on the number of RHS calls

Expand Down
6 changes: 2 additions & 4 deletions unit_test/test_sdc/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,12 +241,10 @@ void main_main ()
std::string name = "test_react.";
std::string integrator = buildInfoGetModuleVal(int_idx);

std::string language = ".cxx";

// Write a plotfile
WriteSingleLevelPlotfile(prefix + name + integrator + language, state, names, geom, time, 0);
WriteSingleLevelPlotfile(prefix + name + integrator, state, names, geom, time, 0);

write_job_info(prefix + name + integrator + language);
write_job_info(prefix + name + integrator);

// Tell the I/O Processor to write out the "run time"
amrex::Print() << "Run time = " << stop_time << std::endl;
Expand Down
Loading