11# This file is part of the Memento Extension to MediaWiki
2- # http ://www.mediawiki.org/wiki/Extension:Memento
2+ # https ://www.mediawiki.org/wiki/Extension:Memento
33#
44# LICENSE
55# This program is free software; you can redistribute it and/or modify
@@ -150,15 +150,15 @@ endif
150150# Pre-requisites: export TESTHOST=<hostname of the host under test>
151151#
152152
153- defaults-integration-test : standard-integration-test 302-style-time-negotiation-recommended-headers-integration-test friendly-error-integration-test
153+ defaults-integration-test : standard-integration-test 302-style-time-negotiation-recommended-headers-integration-test friendly-error-integration-test timemap-integration-test
154154
155155# run tests on all non-configurable items
156156standard-integration-test : check-integration-env ${TESTOUTPUTDIR}
157157 @echo " standard-integration-test"
158158 @echo " "
159159 @echo " #########################"
160160 @echo " Running standard integration tests that apply in all cases"
161- cd ${TESTOUTPUTDIR} ; phpunit --include-path " ${STARTINGDIR} /../../Memento:${STARTINGDIR} /../../tests/lib:${TESTDATADIR} " --group all ${STARTINGDIR} /../../tests/integration
161+ cd ${TESTOUTPUTDIR} ; phpunit --include-path " ${STARTINGDIR} /../../Memento:${STARTINGDIR} /../../tests/lib:${TESTDATADIR} " --group all " ${STARTINGDIR} /../../tests/integration"
162162 @echo " Done with integration tests"
163163 @echo " #########################"
164164 @echo " "
@@ -169,18 +169,30 @@ standard-integration-test: check-integration-env ${TESTOUTPUTDIR}
169169 @echo " "
170170 @echo " #########################"
171171 @echo " Running 302-style time negotiation integration with recommended headers tests"
172- cd ${TESTOUTPUTDIR} ; phpunit --include-path " ${STARTINGDIR} /../../Memento:${STARTINGDIR} /../../tests/lib:${TESTDATADIR} " --group 302-style-recommended-headers ${STARTINGDIR} /../../tests/integration
172+ cd ${TESTOUTPUTDIR} ; phpunit --include-path " ${STARTINGDIR} /../../Memento:${STARTINGDIR} /../../tests/lib:${TESTDATADIR} " --group 302-style-recommended-headers " ${STARTINGDIR} /../../tests/integration"
173173 @echo " Done with integration tests"
174174 @echo " #########################"
175175 @echo " "
176176
177+ # run all of the tests on timemaps
178+ timemap-integration-test : check-integration-env ${TESTOUTPUTDIR}
179+ @echo " timemap-integration-test"
180+ @echo " "
181+ @echo " #########################"
182+ @echo " Running timemap integration tests"
183+ cd ${TESTOUTPUTDIR} ; phpunit --include-path " ${STARTINGDIR} /../../Memento:${STARTINGDIR} /../../tests/lib:${TESTDATADIR} " --group timemap " ${STARTINGDIR} /../../tests/integration"
184+ @echo " Done with integration tests"
185+ @echo " #########################"
186+ @echo " "
187+
188+
177189# run all of the friendly error integration tests
178190friendly-error-integration-test : check-integration-env ${TESTOUTPUTDIR}
179191 @echo " friendly-error-integration-test"
180192 @echo " "
181193 @echo " #########################"
182194 @echo " Running friendly error integration tests"
183- cd ${TESTOUTPUTDIR} ; phpunit --include-path " ${STARTINGDIR} /../../Memento:${STARTINGDIR} /../../tests/lib:${TESTDATADIR} " --group friendlyErrorPages ${STARTINGDIR} /../../tests/integration
195+ cd ${TESTOUTPUTDIR} ; phpunit --include-path " ${STARTINGDIR} /../../Memento:${STARTINGDIR} /../../tests/lib:${TESTDATADIR} " --group friendlyErrorPages " ${STARTINGDIR} /../../tests/integration"
184196 @echo " Done with integration tests"
185197 @echo " #########################"
186198 @echo " "
0 commit comments