mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Keep stdout and stderr from every build. Create an RPM package is possible.
This commit is contained in:
parent
42070839c7
commit
3a0b2adb8c
15
maint/mctest
15
maint/mctest
@ -6,17 +6,24 @@
|
||||
set -e
|
||||
|
||||
# Default configuration
|
||||
make distcheck
|
||||
make distcheck >test1.out 2>test1.err
|
||||
|
||||
# Maximal code coverage
|
||||
make distcheck with_screen=mcslang enable_charset=yes with_samba=yes \
|
||||
with_tm_x_support=yes with_mcfs=yes with_included_gettext=yes
|
||||
with_tm_x_support=yes with_mcfs=yes with_included_gettext=yes \
|
||||
>test2.out 2>test2.err
|
||||
|
||||
# Minimal code coverage
|
||||
make distcheck enable_largefile=no enable_nls=no with_vfs=no \
|
||||
with_gpm_mouse=no with_subshell=no with_edit=no with_ext2undel=no \
|
||||
with_screen=ncurses
|
||||
with_screen=ncurses >test3.out 2>test3.err
|
||||
|
||||
# Experimental and rarely used options
|
||||
make distcheck with_glib2=yes with_screen=mcslang with_termcap=yes \
|
||||
with_mmap=no with_subshell=optional
|
||||
with_mmap=no with_subshell=optional >test4.out 2>test4.err
|
||||
|
||||
if test -x /usr/bin/rpmbuild; then
|
||||
/usr/bin/rpmbuild -ta mc-*.tar.gz >test-rpm.out 2>test-rpm.err
|
||||
else
|
||||
echo "rpmbuild not found"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user