Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
las3_pub
/
predictable_parallel_patterns
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
99324e41
authored
Mar 27, 2019
by
FritzFlorian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add address sanitizer to CI.
parent
fba551da
Pipeline
#1106
failed with stages
in 2 minutes 19 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
.gitlab-ci.yml
+5
-0
ci_scripts/run_addres_sanitizer.sh
+12
-0
No files found.
.gitlab-ci.yml
View file @
99324e41
...
...
@@ -22,3 +22,8 @@ run_thread_sanitizer:
stage
:
sanitizer
script
:
./ci_scripts/run_thread_sanitizer.sh
run_address_sanitizer
:
stage
:
sanitizer
script
:
./ci_scripts/run_address_sanitizer.sh
ci_scripts/run_addres_sanitizer.sh
0 → 100755
View file @
99324e41
#!/usr/bin/env bash
mkdir cmake-build-release-address-sanitizer
cd
cmake-build-release-address-sanitizer
cmake ..
-DCMAKE_BUILD_TYPE
=
RELEASE
-DTHREAD_SANITIZER
=
OFF
-DADDRESS_SANITIZER
=
ON
make
# run the actual tests with sanitizer enabled, reporting the result
ASAN_OPTIONS
=
"detect_stack_use_after_return=1 detect_leaks=1"
./bin/tests
STATUS_CODE
=
$?
exit
$STATUS_CODE
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