Skip to content

Commit 86b88dd

Browse files
authored
[smoke] Adds valgrind make target (#1530)
This adds a new target `valgrind` to enable execution of a testcase under valgrind control. Only tested with a couple of simple examples: helloworld and some OMPT test cases.
1 parent 812afc9 commit 86b88dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/smoke/Makefile.rules

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ og11run: $(TESTNAME)_og11
103103
$(OG11ENV) ./$(TESTNAME)_og11
104104
gpurun: $(TESTNAME)
105105
$(AOMP)/bin/gpurun $(RUNENV) $(RUNPROF) ./$(TESTNAME) 2>&1 | tee [email protected]
106+
valgrind: $(TESTNAME)
107+
valgrind $(RUNENV) $(RUNPROF) ./$(TESTNAME) 2>&1 | tee [email protected]
106108

107109
# Just verify output
108110
verify: run

0 commit comments

Comments
 (0)