Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Education
Marble
Commits
c169bb12
Commit
c169bb12
authored
Aug 05, 2020
by
Johnny Jazeix
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
preload asan if we are compiling with ECM_ENABLE_SANITIZERS
parent
a07ed2ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
MarbleMacros.cmake
MarbleMacros.cmake
+4
-0
No files found.
MarbleMacros.cmake
View file @
c169bb12
...
...
@@ -80,6 +80,10 @@ macro( marble_add_test TEST_NAME )
set_target_properties
(
${
TEST_NAME
}
PROPERTIES
COMPILE_FLAGS
"-DDATA_PATH=
\"\\\"
${
DATA_PATH
}
\\\"\"
-DPLUGIN_PATH=
\"\\\"
${
PLUGIN_PATH
}
\\\"\"
"
)
add_test
(
${
TEST_NAME
}
${
TEST_NAME
}
)
if
(
ECM_ENABLE_SANITIZERS
)
set_property
(
TEST
${
TEST_NAME
}
PROPERTY ENVIRONMENT
"LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libasan.2.0.0"
)
endif
(
ECM_ENABLE_SANITIZERS
)
endif
(
BUILD_MARBLE_TESTS
)
endmacro
(
marble_add_test TEST_NAME
)
...
...
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