Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
json
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
json
Commits
4f5c3458
Unverified
Commit
4f5c3458
authored
Aug 26, 2017
by
Niels Lohmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
👷
run sanitizer another time to check if it works
parent
8608f421
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
.travis.yml
.travis.yml
+2
-0
test/CMakeLists.txt
test/CMakeLists.txt
+1
-1
No files found.
.travis.yml
View file @
4f5c3458
...
...
@@ -49,6 +49,8 @@ matrix:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
,
'
llvm-toolchain-trusty-5.0'
]
packages
:
[
'
clang-5.0'
,
'
llvm-5.0-dev'
,
'
ninja-build'
]
after_failure
:
-
make clang_sanitize -j4
# cppcheck
-
os
:
linux
...
...
test/CMakeLists.txt
View file @
4f5c3458
...
...
@@ -5,7 +5,7 @@ option(JSON_NoExceptions "Build test suite without exceptions" OFF)
if
(
JSON_Sanitizer
)
message
(
STATUS
"Building test suite with Clang sanitizer"
)
if
(
NOT MSVC
)
set
(
CMAKE_CXX_FLAGS
"-g -O2 -fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer"
)
set
(
CMAKE_CXX_FLAGS
"-
std=c++11 -
g -O2 -fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer"
)
endif
()
endif
()
...
...
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