Added two tests for extract 2G and 4G over files.
These are not performed in default, because it will be take a long time.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@877
6a8cc165-1e22-0410-a132-
eb4e3f353aba
# Process this file with autoconf to produce a configure script.
-AC_INIT([LHa for UNIX], 1.14i-ac20070904, arai@users.sourceforge.jp, lha)
+AC_INIT([LHa for UNIX], 1.14i-ac20070909, arai@users.sourceforge.jp, lha)
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE
lha-test16-l0.lzh \
lha-test16-l1.lzh \
lha-test16-l2.lzh \
- lha-test17
+ lha-test17 \
+ lha-test51 \
+ lha-test51-2G.lzh \
+ lha-test52-4G.lzh
DISTCLEANFILES = test.log
check-local:
@sh_for_lha_test@ ./lha-test
-
-lha-test: $(top_builddir)/config.status $(srcdir)/lha-test.in
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
testsuite lha-test1 # create test data. it is needed for each test
-if [[ $perform_number != "" ]]; then
+if [[ $perform_number != "" ]] && [[ $perform_number != all ]]; then
testsuite lha-test$perform_number
else
testsuite lha-test2
testsuite lha-test15
testsuite lha-test16
testsuite lha-test17
+ # followings will take a long time
+ if [[ $perform_number = all ]]; then
+ testsuite lha-test51 # extract 2G over files
+ testsuite lha-test52 # extract 4G over files
+ fi
fi
if (( $error_num != 0 )); then
--- /dev/null
+# -*- shell-script -*-
+message testing to extract 2G over files
+
+echo -------------------------------------------------------------------
+$lha t $srcdir/lha-test51-2G.lzh
+ check $? $LINENO
+echo -------------------------------------------------------------------
--- /dev/null
+# -*- shell-script -*-
+message testing to extract 4G over files
+
+echo -------------------------------------------------------------------
+$lha t $srcdir/lha-test52-4G.lzh
+ check $? $LINENO
+echo -------------------------------------------------------------------