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
Branches
Tags
No related merge requests found
......@@ -14,17 +14,23 @@ int main(int argc, char *argv[])
CLI11_PARSE(app, argc, argv);
std::cout << "--------------------- git info --------------------------\n";
std::cout << "* version: " << rang::style::bold << RevisionInfo::version() << rang::style::reset << '\n';
std::cout << "* HEAD: " << rang::style::underline << RevisionInfo::head() << rang::style::reset << '\n';
std::cout << "* hash: " << RevisionInfo::hash() << " (";
std::cout << "-------------------- "
<< rang::fg::green
<< "git info"
<< 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()) {
std::cout << rang::fgB::green << "clean" << rang::fg::reset;
} else {
std::cout << rang::fgB::red << "dirty" << rang::fg::reset;
}
std::cout << ")\n";
std::cout << "---------------------------------------------------------\n";
std::cout << "-------------------------------------------------------\n";
Kokkos::initialize(argc, argv);
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