Build: Fix "make check" on Windows.
authorLasse Collin <lasse.collin@tukaani.org>
Tue, 6 Sep 2011 09:03:41 +0000 (12:03 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Tue, 6 Sep 2011 09:03:41 +0000 (12:03 +0300)
tests/Makefile.am
windows/build.bash

index 0469264..03bf34c 100644 (file)
@@ -43,8 +43,11 @@ TESTS = \
        test_block_header \
        test_index \
        test_files.sh \
-       test_compress.sh \
-       test_scripts.sh
+       test_compress.sh
+
+if COND_SCRIPTS
+TESTS += test_scripts.sh
+endif
 
 clean-local:
        -rm -f compress_generated_*
index faec83b..c5cf2b3 100644 (file)
@@ -77,6 +77,7 @@ buildit()
        ./configure \
                --prefix= \
                --disable-nls \
+               --disable-scripts \
                --disable-threads \
                --disable-shared \
                --enable-small \
@@ -97,6 +98,7 @@ buildit()
        ./configure \
                --prefix= \
                --disable-nls \
+               --disable-scripts \
                --disable-threads \
                --build="$BUILD" \
                CFLAGS="$CFLAGS -O2"