summaryrefslogtreecommitdiff
path: root/tests/test_config
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2005-08-08 19:29:15 -0500
committerTheodore Ts'o <tytso@mit.edu>2005-08-08 19:29:15 -0500
commitcfe7ba49782892747f212b7a541820975a86b37d (patch)
treecddcda02a6bec9b7053701db1beeadac6d696c31 /tests/test_config
parent2787276ec59e1d52087d307bc30446d088ec65bc (diff)
downloade2fsprogs-cfe7ba49782892747f212b7a541820975a86b37d.tar.gz
Add valgrind support to the regression test suite
Add the --valgrind option to the tests/test_script which allows us to run the e2fsprogs regression test suite under valgrind. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'tests/test_config')
-rw-r--r--tests/test_config18
1 files changed, 10 insertions, 8 deletions
diff --git a/tests/test_config b/tests/test_config
index a484d8b5..cb4e2f757 100644
--- a/tests/test_config
+++ b/tests/test_config
@@ -2,14 +2,16 @@
# Test configuration
#
-FSCK=../e2fsck/e2fsck
-MKE2FS=../misc/mke2fs
-DUMPE2FS=../misc/dumpe2fs
-TUNE2FS=../misc/tune2fs
-CHATTR=../misc/chattr
-LSATTR=../misc/lsattr
-DEBUGFS=../debugfs/debugfs
-RESIZE2FS=../resize/resize2fs
+FSCK="$USE_VALGRIND ../e2fsck/e2fsck"
+MKE2FS="$USE_VALGRIND ../misc/mke2fs"
+DUMPE2FS="$USE_VALGRIND ../misc/dumpe2fs"
+TUNE2FS="$USE_VALGRIND ../misc/tune2fs"
+CHATTR="$USE_VALGRIND../misc/chattr"
+LSATTR="$USE_VALGRIND ../misc/lsattr"
+DEBUGFS="$USE_VALGRIND ../debugfs/debugfs"
+TEST_BITS="../debugfs/debugfs"
+RESIZE2FS_EXE="../resize/resize2fs"
+RESIZE2FS="$USE_VALGRIND $RESIZE2FS_EXE"
TEST_REL=../tests/progs/test_rel
TEST_ICOUNT=../tests/progs/test_icount
LD_LIBRARY_PATH=../lib:../lib/ext2fs:../lib/e2p:../lib/et:../lib/ss