Commit 4fd750ba authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Improve test

parent 85f0bdaf
Pipeline #130521 passed with stages
in 48 seconds
......@@ -15,6 +15,7 @@ bool testListFunction(){
std::string libraryFile(TEST_LIBRARY_FILE);
std::vector<std::string> vecFunction;
phoenix_listLibrarySymbol(vecFunction, "");
phoenix_listLibrarySymbol(vecFunction, "someInexistingFile.so");
phoenix_listLibrarySymbol(vecFunction, libraryFile);
......
......@@ -17,6 +17,8 @@ bool testMangleFunction(){
std::cout << "testMangleFunction : mangeling of '"<<functionPrototype<<"' = '"<<mangleFunction<<"'" << std::endl;
std::string expectedMangle("_Z10print_archRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE");
bool b(expectedMangle == mangleFunction);
b &= phoenix_mangleFunction(functionPrototype, "", "someInexistingCompiler") == "";
std::cout << "testMangleFunction : b = " << b << std::endl;
return b;
}
......
Markdown is supported
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