-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow make distcheck to complete successfully
Add an override path option for distcheck so that the shared object can be installed in a user controlled directory instead of the system defined apxs one. make distcheck marks the source directory as read only, this requires passing some parameters to the tests so that they create the tests directory in a writable path. Also add rule to remove these files once done. Signed-off-by: Simo Sorce <simo@redhat.com>
- Loading branch information
Showing
5 changed files
with
42 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
ACLOCAL_AMFLAGS = -I m4 | ||
DISTCHECK_CONFIGURE_FLAGS=--with-installpath=`pwd`/apxs_modules | ||
|
||
SUBDIRS = src/asn1c src | ||
SUBDIRS = src/asn1c src tests | ||
|
||
TESTSDIR=$(abs_builddir)/testsdir | ||
|
||
distclean-local: | ||
rm -fr $(TESTSDIR) | ||
|
||
check: all | ||
$(srcdir)/tests/magtests.py | ||
cd $(srcdir) && ./tests/magtests.py --path $(TESTSDIR) --so-dir=$(abs_builddir)/src/.libs | ||
|
||
test: check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
EXTRA_DIST = \ | ||
401.html \ | ||
httpd.conf \ | ||
index.html \ | ||
magtests.py \ | ||
t_bad_acceptor_name.py \ | ||
t_basic_k5_fail_second.py \ | ||
t_basic_k5.py \ | ||
t_basic_k5_two_users.py \ | ||
t_basic_proxy.py \ | ||
t_spnego_negotiate_once.py \ | ||
t_spnego_no_auth.py \ | ||
t_spnego_proxy.py \ | ||
t_spnego.py \ | ||
t_spnego_rewrite.py \ | ||
$(NULL) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters