summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2002-11-08 14:55:38 -0500
committerTheodore Ts'o <tytso@mit.edu>2002-11-08 14:55:38 -0500
commitfeb44c6955378a0b698886d104808ed2a5644258 (patch)
tree6c8f512d2a9223318e173b574f371072d4090ad9 /lib
parentf606dd32ffcdb872a2c635d897b79089daa47661 (diff)
downloade2fsprogs-feb44c6955378a0b698886d104808ed2a5644258.tar.gz
Skip byteswap tests on --disable-swapfs
Disable certain tests that depend on the byteswapping functions being present so that "make check" succeeds even if --disable-swapfs is passed to the configure script.
Diffstat (limited to 'lib')
-rw-r--r--lib/ext2fs/ChangeLog5
-rw-r--r--lib/ext2fs/Makefile.in4
2 files changed, 7 insertions, 2 deletions
diff --git a/lib/ext2fs/ChangeLog b/lib/ext2fs/ChangeLog
index c062080a..da6ddbfc 100644
--- a/lib/ext2fs/ChangeLog
+++ b/lib/ext2fs/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-08 <tytso@snap.thunk.org>
+
+ * Makefile.in (check): Skip trying to compile test_byteswap
+ if --disable-byteswaap had been given to configure.
+
2002-11-07 <tytso@snap.thunk.org>
* closefs.c (write_bgdesc, ext2fs_flush): Fix bug in meta_bg
diff --git a/lib/ext2fs/Makefile.in b/lib/ext2fs/Makefile.in
index 1fe197cd..b9432eac 100644
--- a/lib/ext2fs/Makefile.in
+++ b/lib/ext2fs/Makefile.in
@@ -206,10 +206,10 @@ tst_bitops: tst_bitops.o inline.o $(STATIC_LIBEXT2FS)
mkjournal: mkjournal.c $(STATIC_LIBEXT2FS)
$(CC) -o mkjournal $(srcdir)/mkjournal.c -DDEBUG $(STATIC_LIBEXT2FS) $(LIBCOM_ERR) $(ALL_CFLAGS)
-check:: tst_badblocks tst_iscan tst_byteswap
+check:: tst_badblocks tst_iscan @SWAPFS_CMT@ tst_byteswap
LD_LIBRARY_PATH=$(LIB) ./tst_badblocks
LD_LIBRARY_PATH=$(LIB) ./tst_iscan
- LD_LIBRARY_PATH=$(LIB) ./tst_byteswap
+@SWAPFS_CMT@ LD_LIBRARY_PATH=$(LIB) ./tst_byteswap
installdirs::
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(libdir) \