OSDN Git Service
(root)
/
lha
/
olha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
699d8b1
)
use valgrind if possible
author
Koji Arai
<jca02266@gmail.com>
Wed, 25 Jun 2008 14:34:57 +0000
(23:34 +0900)
committer
Koji Arai
<jca02266@gmail.com>
Wed, 25 Jun 2008 14:34:57 +0000
(23:34 +0900)
test.sh
patch
|
blob
|
history
diff --git
a/test.sh
b/test.sh
index
3b3fc60
..
924f88c
100644
(file)
--- a/
test.sh
+++ b/
test.sh
@@
-1,8
+1,13
@@
#!/bin/sh
set -ex
-#VALGRIND="valgrind -q"
+
VALGRIND=
+if [ "$1" = -v ]; then
+ if which valgrind 2>/dev/null; then
+ VALGRIND="valgrind -q"
+ fi
+fi
if [ -f olha.exe ]; then
cp olha.exe olha2