Skip to content
Snippets Groups Projects
Commit 075fdbab authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Cosmetic changes for tests

parent 840758fb
No related branches found
No related tags found
No related merge requests found
...@@ -14,17 +14,23 @@ int main(int argc, char *argv[]) ...@@ -14,17 +14,23 @@ int main(int argc, char *argv[])
CLI11_PARSE(app, argc, argv); CLI11_PARSE(app, argc, argv);
std::cout << "--------------------- git info --------------------------\n"; std::cout << "-------------------- "
std::cout << "* version: " << rang::style::bold << RevisionInfo::version() << rang::style::reset << '\n'; << rang::fg::green
std::cout << "* HEAD: " << rang::style::underline << RevisionInfo::head() << rang::style::reset << '\n'; << "git info"
std::cout << "* hash: " << RevisionInfo::hash() << " ("; << rang::fg::reset
<<" -------------------------"
<< '\n';
std::cout << "version: " << rang::fg::reset
<< rang::style::bold << RevisionInfo::version() << rang::style::reset << '\n';
std::cout << "HEAD: " << rang::style::bold << RevisionInfo::head() << rang::style::reset << '\n';
std::cout << "hash: " << rang::style::bold << RevisionInfo::hash() << rang::style::reset << " (";
if (RevisionInfo::isClean()) { if (RevisionInfo::isClean()) {
std::cout << rang::fgB::green << "clean" << rang::fg::reset; std::cout << rang::fgB::green << "clean" << rang::fg::reset;
} else { } else {
std::cout << rang::fgB::red << "dirty" << rang::fg::reset; std::cout << rang::fgB::red << "dirty" << rang::fg::reset;
} }
std::cout << ")\n"; std::cout << ")\n";
std::cout << "---------------------------------------------------------\n"; std::cout << "-------------------------------------------------------\n";
Kokkos::initialize(argc, argv); Kokkos::initialize(argc, argv);
Kokkos::DefaultExecutionSpace::print_configuration(std::cout); Kokkos::DefaultExecutionSpace::print_configuration(std::cout);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment