Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
R
rapidjson
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
rapidjson
Commits
0cbafabe
Commit
0cbafabe
authored
Feb 17, 2015
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
omit `valgrind` tests for `Visual Studio` builds
parent
63ad11c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
CMakeLists.txt
test/unittest/CMakeLists.txt
+11
-8
No files found.
test/unittest/CMakeLists.txt
View file @
0cbafabe
...
...
@@ -21,12 +21,15 @@ add_test(NAME unittest
COMMAND
${
CMAKE_RUNTIME_OUTPUT_DIRECTORY
}
/unittest
WORKING_DIRECTORY
${
CMAKE_SOURCE_DIR
}
/bin
)
add_test
(
NAME valgrind_unittest
COMMAND valgrind --leak-check=full --error-exitcode=1
${
CMAKE_RUNTIME_OUTPUT_DIRECTORY
}
/unittest
WORKING_DIRECTORY
${
CMAKE_SOURCE_DIR
}
/bin
)
if
(
NOT MSVC
)
add_test
(
NAME valgrind_unittest
COMMAND valgrind --leak-check=full --error-exitcode=1
${
CMAKE_RUNTIME_OUTPUT_DIRECTORY
}
/unittest
WORKING_DIRECTORY
${
CMAKE_SOURCE_DIR
}
/bin
)
if
(
CMAKE_BUILD_TYPE STREQUAL
"Debug"
)
add_test
(
NAME symbol_check
COMMAND sh -c
"objdump -t -C libnamespacetest.a | grep rapidjson ; test $? -ne 0"
WORKING_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
)
endif
(
CMAKE_BUILD_TYPE STREQUAL
"Debug"
)
IF
((
NOT MSVC
)
AND
(
CMAKE_BUILD_TYPE STREQUAL
"Debug"
))
add_test
(
NAME symbol_check
COMMAND sh -c
"objdump -t -C libnamespacetest.a | grep rapidjson ; test $? -ne 0"
WORKING_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
)
ENDIF
()
endif
(
NOT MSVC
)
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