[cpp-opensaml] 08/10: Derive correct test data paths from srcdir
Scott Cantor
cantor.2 at osu.edu
Mon Feb 3 19:30:10 EST 2020
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository cpp-opensaml.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-opensaml.git;a=commit;h=32006b1a1f3168820f4b9db0314b3c03a3d261e3
commit 32006b1a1f3168820f4b9db0314b3c03a3d261e3
Author: Ferenc Wágner <wferi at niif.hu>
AuthorDate: Tue Jul 12 12:20:46 2016 +0200
Derive correct test data paths from srcdir
Beyond making the tests succeed, in theory this also helps with VPATH
builds (other problems still disallow that, though).
../samltest could be abbreviated to .; I left that convention alone.
---
samltest/Makefile.am | 2 ++
samltest/data/saml2/metadata/HTTPMetadataProvider.xml | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/samltest/Makefile.am b/samltest/Makefile.am
index 9bc5855..373efd3 100644
--- a/samltest/Makefile.am
+++ b/samltest/Makefile.am
@@ -2,6 +2,8 @@ AUTOMAKE_OPTIONS = foreign subdir-objects
TESTS = samltest
+AM_TESTS_ENVIRONMENT = export SAMLTEST_DATA=$(srcdir)/data;
+
check_PROGRAMS = samltest
samltest_h = \
diff --git a/samltest/data/saml2/metadata/HTTPMetadataProvider.xml b/samltest/data/saml2/metadata/HTTPMetadataProvider.xml
index d9ac7a5..89c44c6 100644
--- a/samltest/data/saml2/metadata/HTTPMetadataProvider.xml
+++ b/samltest/data/saml2/metadata/HTTPMetadataProvider.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<MetadataProvider type="XML" url="http://URL.TO.EXAMPLE/ORG/InCommon-metadata.xml" backingFilePath="../samltest/data/saml2/metadata/InCommon-metadata.xml.bck" validate="0">
+<MetadataProvider type="XML" url="http://wayf.incommonfederation.org/InCommon/InCommon-metadata.xml" backingFilePath="../samltest/data/saml2/metadata/InCommon-metadata.xml.bck" validate="0">
<MetadataFilter type="Signature" certificate="../samltest/data/incommon.pem" />
</MetadataProvider>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list