mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
Loic Dachary's updates to get 'make distcheck' work, including running the
test suite
This commit is contained in:
parent
ff8fb8cdb0
commit
a997d60304
4
CHANGES
4
CHANGES
@ -11,7 +11,9 @@ Daniel (8 January 2001)
|
|||||||
the separator work again when getting multiple globbed URLs to stdout.
|
the separator work again when getting multiple globbed URLs to stdout.
|
||||||
|
|
||||||
- Worked with Loic Dachary to get the make dist and make distcheck work
|
- Worked with Loic Dachary to get the make dist and make distcheck work
|
||||||
correctly.
|
correctly. The 'maketgz' script is now using the automake generated 'make
|
||||||
|
dist' when creating release archives. Loic successfully made 'make rpms'
|
||||||
|
automatically build RPMs!
|
||||||
|
|
||||||
Loic Dachary (6 January 2001)
|
Loic Dachary (6 January 2001)
|
||||||
- Automated generation of rpm packages, no need to be root.
|
- Automated generation of rpm packages, no need to be root.
|
||||||
|
@ -6,13 +6,15 @@ AUTOMAKE_OPTIONS = foreign no-dependencies
|
|||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
CHANGES LEGAL maketgz MITX.txt MPL-1.1.txt \
|
CHANGES LEGAL maketgz MITX.txt MPL-1.1.txt \
|
||||||
config-win32.h reconf packages/README
|
config-win32.h reconf packages/README Makefile.dist
|
||||||
|
|
||||||
SUBDIRS = docs lib src include tests packages
|
SUBDIRS = docs lib src include tests packages
|
||||||
|
|
||||||
# create a root makefile in the distribution:
|
# create a root makefile in the distribution:
|
||||||
dist-hook:
|
dist-hook:
|
||||||
cp Makefile.dist $(distdir)/Makefile
|
cp $(srcdir)/Makefile.dist $(distdir)/Makefile
|
||||||
|
|
||||||
|
check: test
|
||||||
|
|
||||||
test:
|
test:
|
||||||
@(cd tests; make quiet-test)
|
@(cd tests; make quiet-test)
|
||||||
|
@ -9,10 +9,12 @@ curl:
|
|||||||
@(cd ..; make)
|
@(cd ..; make)
|
||||||
|
|
||||||
test:
|
test:
|
||||||
$(PERL) runtests.pl
|
$(MAKE) -C data test
|
||||||
|
srcdir=$(srcdir) $(PERL) $(srcdir)/runtests.pl
|
||||||
|
|
||||||
quiet-test:
|
quiet-test:
|
||||||
$(PERL) runtests.pl -s -a
|
$(MAKE) -C data test
|
||||||
|
srcdir=$(srcdir) $(PERL) $(srcdir)/runtests.pl -s -a
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf log
|
rm -rf log
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
all:
|
all:
|
||||||
install:
|
install:
|
||||||
|
|
||||||
|
test:
|
||||||
|
[ -f command1.txt ] || ln -s $(srcdir)/*.txt .
|
||||||
|
|
||||||
EXTRA_DIST = command1.txt error113.txt name17.txt prot8.txt \
|
EXTRA_DIST = command1.txt error113.txt name17.txt prot8.txt \
|
||||||
command10.txt error114.txt name18.txt prot9.txt \
|
command10.txt error114.txt name18.txt prot9.txt \
|
||||||
command100.txt error115.txt name19.txt reply1.txt \
|
command100.txt error115.txt name19.txt reply1.txt \
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
|
|
||||||
|
my $srcdir = $ENV{'srcdir'} || '.';
|
||||||
my $HOSTIP="127.0.0.1";
|
my $HOSTIP="127.0.0.1";
|
||||||
my $HOSTPORT=8999; # bad name, but this is the HTTP server port
|
my $HOSTPORT=8999; # bad name, but this is the HTTP server port
|
||||||
my $FTPPORT=8921; # this is the FTP server port
|
my $FTPPORT=8921; # this is the FTP server port
|
||||||
@ -108,7 +109,7 @@ sub runhttpserver {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($RUNNING != 1) {
|
if ($RUNNING != 1) {
|
||||||
system("perl ./httpserver.pl $HOSTPORT &");
|
system("perl $srcdir/httpserver.pl $HOSTPORT &");
|
||||||
sleep 1; # give it a little time to start
|
sleep 1; # give it a little time to start
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@ -149,7 +150,7 @@ sub runftpserver {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($RUNNING != 1) {
|
if ($RUNNING != 1) {
|
||||||
system("perl ./ftpserver.pl $FTPPORT &");
|
system("perl $srcdir/ftpserver.pl $FTPPORT &");
|
||||||
sleep 1; # give it a little time to start
|
sleep 1; # give it a little time to start
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user