We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4ec166 commit 17c1cbeCopy full SHA for 17c1cbe
.travis.yml
@@ -19,4 +19,4 @@ before_install:
19
&& cd ..
20
&& rm gtest-1.7.0.zip
21
22
-script: mkdir build && cd build && cmake .. -Dtest=ON && make && test/runTests
+script: mkdir build && cd build && cmake .. -Dtest=ON && make && test/runTests && make memcheck
CMakeLists.txt
@@ -99,4 +99,12 @@ INSTALL(TARGETS graphqlparser
99
100
IF (test)
101
ADD_SUBDIRECTORY(test)
102
+
103
+ if(UNIX)
104
+ # setup valgrind
105
+ ADD_CUSTOM_TARGET(memcheck
106
+ valgrind --leak-check=full --dsymutil=yes --error-exitcode=1 ./test/runTests >/dev/null
107
+ )
108
+ endif()
109
110
ENDIF()
0 commit comments