Skip to content
Snippets Groups Projects
Commit 7a950b07 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

after failed PyStd test, print hex code

parent b7808173
No related branches found
No related tags found
1 merge request!502CI Win + CMAKE_PREFIX_PATH
Pipeline #51274 passed
...@@ -54,7 +54,7 @@ std::unique_ptr<OutputData<double>> domainData(const std::string& test_name, ...@@ -54,7 +54,7 @@ std::unique_ptr<OutputData<double>> domainData(const std::string& test_name,
#endif #endif
std::cout << "- system call: " << sys_command << std::endl; std::cout << "- system call: " << sys_command << std::endl;
int err = std::system(sys_command.c_str()); int err = std::system(sys_command.c_str());
std::cout << "- system call returned " << err << std::endl; std::cout << "- system call returned " << err << " (0x" << std::hex << err << ")" << std::endl;
if (err) if (err)
throw std::runtime_error("Exported Python script did not execute properly"); throw std::runtime_error("Exported Python script did not execute properly");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment