Commit 7062d2b9 authored by Serrière Guillaume's avatar Serrière Guillaume
Browse files

Add error log to test_accuracy.


Signed-off-by: default avatarSerrière Guillaume <guillaume.serriere@inria.fr>
parent 527baf97
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
#include <iostream> #include <iostream>
#include <cstring> #include <cstring>
#include <cstdlib> #include <cstdlib>
#include <cerrno>
using namespace std; using namespace std;
...@@ -56,6 +57,7 @@ int main (int argc, char** argv) ...@@ -56,6 +57,7 @@ int main (int argc, char** argv)
} }
} }
cout << "Error: Problem opening [" << argv[1] << "]\n"; cout << "Error: Problem opening [" << argv[1] << "]\n";
cerr << "Error: " << strerror(errno);
return 2; return 2;
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment