summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBjörn Mattsson <Bjorn.Mattsson@bth.se>2016-06-29 20:01:46 +0200
committerBjörn Mattsson <Bjorn.Mattsson@bth.se>2016-06-29 20:01:46 +0200
commitffd2762e875951a30a5106ebba5bd609f4b63644 (patch)
tree82beb4295e18e30f97f541867db2d661441ba312 /Makefile
parent91712aaeb5ffc45cd479a9f2ab07ccd56026d314 (diff)
Lagt till en test för oanvända filer i swamid-2.0 biblioteket
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9aed3844..f4ee9266 100644
--- a/Makefile
+++ b/Makefile
@@ -95,6 +95,10 @@ clean:
tidy:
@for x in `find $(SRCDIRS) -name \*.xml`; do xsltproc xslt/clean-entitydescriptor.xsl $$x > $$x.c && mv $$x.c $$x; done
+testMetadataUsage:
+ @echo "Checking for files in swamid-2.0 that isn't used"
+ @for file in swamid-2.0/* ; do if ! grep -q $$file *.mxml; then echo " $$file: Doesn't exist in any mxml files"; fi; done | sed 's/.*/&/'
+
testRefedsRnS:
@echo "Checking for refeds R&S compatibillity for entities exported to eduGAIN"
@for x in `cat swamid-edugain-*.mxml | grep -v "\.mxml$$" | grep "xi:include" | awk -F\" '{print $$2}' | xargs grep -l SPSSODescriptor` ; do \
@@ -183,7 +187,7 @@ testALlevel:
@echo "Check for IdP:s with AL2 without AL1"
@for x in `find $(SRCDIRS) -name \*.xml`; do if grep -q http://www.swamid.se/policy/assurance/al2 $$x && ! grep -q http://www.swamid.se/policy/assurance/al1 $$x ; then echo " $$x" | sed 's/.*/&/' ; fi ; done
-committest: test testMDUI testOrgData testEntCat testSimpleSign testALlevel testRefedsRnS testGeantCoCo
+committest: test testMDUI testOrgData testEntCat testSimpleSign testALlevel testRefedsRnS testGeantCoCo testMetadataUsage
deeptest: committest testMDUIreach