diff options
author | Björn Mattsson <Bjorn.Mattsson@bth.se> | 2016-06-29 20:01:46 +0200 |
---|---|---|
committer | Björn Mattsson <Bjorn.Mattsson@bth.se> | 2016-06-29 20:01:46 +0200 |
commit | ffd2762e875951a30a5106ebba5bd609f4b63644 (patch) | |
tree | 82beb4295e18e30f97f541867db2d661441ba312 | |
parent | 91712aaeb5ffc45cd479a9f2ab07ccd56026d314 (diff) |
Lagt till en test för oanvända filer i swamid-2.0 biblioteket
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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/.*/[1;31m&[0m/' + 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/.*/[1;31m&[0m/' ; fi ; done -committest: test testMDUI testOrgData testEntCat testSimpleSign testALlevel testRefedsRnS testGeantCoCo +committest: test testMDUI testOrgData testEntCat testSimpleSign testALlevel testRefedsRnS testGeantCoCo testMetadataUsage deeptest: committest testMDUIreach |