Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
CTA-LAPP
PHOENIX_LIBS
PhoenixDL
Commits
4fd750ba
Commit
4fd750ba
authored
Aug 01, 2021
by
Pierre Aubert
Browse files
Improve test
parent
85f0bdaf
Pipeline
#130521
passed with stages
in 48 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
TESTS/TEST_LIST_FUNCTION/main.cpp
TESTS/TEST_LIST_FUNCTION/main.cpp
+1
-0
TESTS/TEST_MANGLE_FUNCTION/main.cpp
TESTS/TEST_MANGLE_FUNCTION/main.cpp
+2
-0
No files found.
TESTS/TEST_LIST_FUNCTION/main.cpp
View file @
4fd750ba
...
...
@@ -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
);
...
...
TESTS/TEST_MANGLE_FUNCTION/main.cpp
View file @
4fd750ba
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment