Skip to content

Commit cf1811a

Browse files
thughesry
authored andcommitted
cmake: Add valgrind support.
1 parent b46f10a commit cf1811a

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

Makefile.cmake

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,7 @@ cdash: $(BUILD)/Makefile
3333
cdash-cov: $(BUILD)/Makefile
3434
cd $(BUILD) && $(CMAKE) -DUSE_GCOV=True .. && make Experimental
3535

36-
.PHONY: build install clean doc package test cdash cdash-cov
36+
cdash-mem: $(BUILD)/Makefile
37+
cd $(BUILD) && make NightlyMemoryCheck
38+
39+
.PHONY: build install clean doc package test cdash cdash-cov cdash-mem

README.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ To submit coverage test results:
3434

3535
make -f Makefile.cmake cdash-cov
3636

37+
To submit valgrind test results:
38+
39+
make -f Makefile.cmake cdash-mem
40+
3741
Using cmake directly:
3842
cd ~/your-node-source-dir
3943
mkdir name-of-build-dir (can be anything)
@@ -47,6 +51,7 @@ Using cmake directly:
4751
Other build targets:
4852
make Experimental
4953
make Nightly
54+
make NightlyMemoryCheck
5055
make Continuous
5156

5257
Additional options:

0 commit comments

Comments
 (0)