summaryrefslogtreecommitdiffstats
path: root/run-tests.sh
AgeCommit message (Collapse)AuthorFilesLines
2021-02-21PHP8: Fix testsuite compatibilityFlorian Pritz1-0/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-01-01Use temporary directory for testsuite uploadsFlorian Pritz1-0/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-03-03run-tests.sh: Only use phpdbg when coverage information is gatheredFlorian Pritz1-3/+8
For some reason phpdbg crashes for me right now so this is a quick workaround to get the tests to run again. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-05tests: Add env variable to disable code coverage collectionFlorian Pritz1-2/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-20run-tests.sh: Allow running single testsFlorian Pritz1-1/+2
--state=hot,slow,all force all tests from the save file to be run even if they are not listed on the command line. Therefore they are dropped and replaced by failed which only pulls in tests that failed during the last run. -r and -o are replaced by their long text versions for clarity. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-20tests: Use one webserver per testcaseFlorian Pritz1-12/+1
This allows the tests to run somewhat parallel (still limited by the database) and simplifies running single testcases without the ./run-tests.sh wrapper. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-31Add code coverage outputFlorian Pritz1-3/+9
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-07-18tests: Run from ./public_html0.9.4Florian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-21tests: Die early on db errorsFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-21test: run-tests.sh be less verboseFlorian Pritz1-3/+3
Test can now also be run with multiple jobs (-jX) and php -S will no longer interfere with the output. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-21tests: Rework database handlingFlorian Pritz1-34/+23
We no longer interfere with the normal installation's database settings. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-21tests: Make prove --state work; Restructure testsFlorian Pritz1-5/+1
This moves all tests into a subdirectory and lets prove itself figure out which tests exist. It seems if you supply the testlist via arguments or stdin --state won't affect the order. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-02-08run-tests.sh: drop database in cleanupFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-02-08run-tests.sh: use trap to clean upFlorian Pritz1-5/+8
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-02-08tests: Remember previous state; print elapsed timeFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-02-08tests: Fix php dev server being slowFlorian Pritz1-3/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-02-08run-tests.sh: Clean up old database before running testsFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-02-05Add simple testsuiteFlorian Pritz1-0/+59
Signed-off-by: Florian Pritz <bluewind@xinu.at>