Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stefan Strogin
flac
Commits
80936c5b
Commit
80936c5b
authored
Dec 30, 2002
by
Josh Coalson
Browse files
make valgrind output go into test-specific log file instead of one massive valgrind.log
parent
0b3617c2
Changes
9
Hide whitespace changes
Inline
Side-by-side
test/test_bins.sh
View file @
80936c5b
...
...
@@ -33,7 +33,7 @@ flac --help 1>/dev/null 2>/dev/null || die "ERROR can't find flac executable"
run_flac
()
{
if
[
"
$FLAC__VALGRIND
"
=
yes
]
;
then
valgrind
--leak-check
=
yes
--show-reachable
=
yes
--num-callers
=
100
--logfile-fd
=
4 flac
$*
4>>valgrind.log
valgrind
--leak-check
=
yes
--show-reachable
=
yes
--num-callers
=
100
--logfile-fd
=
4 flac
$*
4>>
test_bins.
valgrind.log
else
flac
$*
fi
...
...
test/test_flac.sh
View file @
80936c5b
...
...
@@ -32,7 +32,7 @@ flac --help 1>/dev/null 2>/dev/null || die "ERROR can't find flac executable"
run_flac
()
{
if
[
"
$FLAC__VALGRIND
"
=
yes
]
;
then
valgrind
--leak-check
=
yes
--show-reachable
=
yes
--num-callers
=
100
--logfile-fd
=
4 flac
$*
4>>valgrind.log
valgrind
--leak-check
=
yes
--show-reachable
=
yes
--num-callers
=
100
--logfile-fd
=
4 flac
$*
4>>
test_flac.
valgrind.log
else
flac
$*
fi
...
...
test/test_grabbag.sh
View file @
80936c5b
...
...
@@ -32,7 +32,7 @@ test_cuesheet -h 1>/dev/null 2>/dev/null || die "ERROR can't find test_cuesheet
run_test_cuesheet
()
{
if
[
"
$FLAC__VALGRIND
"
=
yes
]
;
then
valgrind
--leak-check
=
yes
--show-reachable
=
yes
--num-callers
=
100
--logfile-fd
=
4 test_cuesheet
$*
4>>valgrind.log
valgrind
--leak-check
=
yes
--show-reachable
=
yes
--num-callers
=
100
--logfile-fd
=
4 test_cuesheet
$*
4>>
test_grabbag.
valgrind.log
else
test_cuesheet
$*
fi
...
...
test/test_libFLAC++.sh
View file @
80936c5b
...
...
@@ -31,7 +31,7 @@ export PATH
run_test_libFLACpp
()
{
if
[
"
$FLAC__VALGRIND
"
=
yes
]
;
then
valgrind
--leak-check
=
yes
--show-reachable
=
yes
--num-callers
=
100
--logfile-fd
=
4 test_libFLAC++
$*
4>>valgrind.log
valgrind
--leak-check
=
yes
--show-reachable
=
yes
--num-callers
=
100
--logfile-fd
=
4 test_libFLAC++
$*
4>>
test_libFLAC++.
valgrind.log
else
test_libFLAC++
$*
fi
...
...
test/test_libFLAC.sh
View file @
80936c5b
...
...
@@ -31,7 +31,7 @@ export PATH
run_test_libFLAC
()
{
if
[
"
$FLAC__VALGRIND
"
=
yes
]
;
then
valgrind
--leak-check
=
yes
--show-reachable
=
yes
--num-callers
=
100
--logfile-fd
=
4 test_libFLAC
$*
4>>valgrind.log
valgrind
--leak-check
=
yes
--show-reachable
=
yes
--num-callers
=
100
--logfile-fd
=
4 test_libFLAC
$*
4>>
test_libFLAC.
valgrind.log
else
test_libFLAC
$*
fi
...
...
test/test_libOggFLAC++.sh
View file @
80936c5b
...
...
@@ -31,7 +31,7 @@ export PATH
run_test_libOggFLACpp
()
{
if
[
"
$FLAC__VALGRIND
"
=
yes
]
;
then
valgrind
--leak-check
=
yes
--show-reachable
=
yes
--num-callers
=
100
--logfile-fd
=
4 test_libOggFLAC++
$*
4>>valgrind.log
valgrind
--leak-check
=
yes
--show-reachable
=
yes
--num-callers
=
100
--logfile-fd
=
4 test_libOggFLAC++
$*
4>>
test_libOggFLAC++.
valgrind.log
else
test_libOggFLAC++
$*
fi
...
...
test/test_libOggFLAC.sh
View file @
80936c5b
...
...
@@ -31,7 +31,7 @@ export PATH
run_test_libOggFLAC
()
{
if
[
"
$FLAC__VALGRIND
"
=
yes
]
;
then
valgrind
--leak-check
=
yes
--show-reachable
=
yes
--num-callers
=
100
--logfile-fd
=
4 test_libOggFLAC
$*
4>>valgrind.log
valgrind
--leak-check
=
yes
--show-reachable
=
yes
--num-callers
=
100
--logfile-fd
=
4 test_libOggFLAC
$*
4>>
test_libOggFLAC.
valgrind.log
else
test_libOggFLAC
$*
fi
...
...
test/test_metaflac.sh
View file @
80936c5b
...
...
@@ -35,7 +35,7 @@ metaflac --help 1>/dev/null 2>/dev/null || die "ERROR can't find metaflac execut
run_flac
()
{
if
[
"
$FLAC__VALGRIND
"
=
yes
]
;
then
valgrind
--leak-check
=
yes
--show-reachable
=
yes
--num-callers
=
100
--logfile-fd
=
4 flac
$*
4>>valgrind.log
valgrind
--leak-check
=
yes
--show-reachable
=
yes
--num-callers
=
100
--logfile-fd
=
4 flac
$*
4>>
test_metaflac.
valgrind.log
else
flac
$*
fi
...
...
@@ -44,7 +44,7 @@ run_flac ()
run_metaflac
()
{
if
[
"
$FLAC__VALGRIND
"
=
yes
]
;
then
valgrind
--leak-check
=
yes
--show-reachable
=
yes
--num-callers
=
100
--logfile-fd
=
4 metaflac
$*
4>>valgrind.log
valgrind
--leak-check
=
yes
--show-reachable
=
yes
--num-callers
=
100
--logfile-fd
=
4 metaflac
$*
4>>
test_metaflac.
valgrind.log
else
metaflac
$*
fi
...
...
test/test_streams.sh
View file @
80936c5b
...
...
@@ -32,7 +32,7 @@ flac --help 1>/dev/null 2>/dev/null || die "ERROR can't find flac executable"
run_flac
()
{
if
[
"
$FLAC__VALGRIND
"
=
yes
]
;
then
valgrind
--leak-check
=
yes
--show-reachable
=
yes
--num-callers
=
100
--logfile-fd
=
4 flac
$*
4>>valgrind.log
valgrind
--leak-check
=
yes
--show-reachable
=
yes
--num-callers
=
100
--logfile-fd
=
4 flac
$*
4>>
test_streams.
valgrind.log
else
flac
$*
fi
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment