Skip to content

Commit cc7ffe8

Browse files
author
Margo Seltzer
committed
Run valgrind conditionally on successful compile.
1 parent 86f96f5 commit cc7ffe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel4x/testkmalloc.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash
22

3-
cc -o kmalloc-test -std=c99 -g -DSTANDALONE k-malloc.c
3+
cc -o kmalloc-test -std=c99 -g -DSTANDALONE k-malloc.c && \
44
valgrind ./kmalloc-test

0 commit comments

Comments
 (0)