summaryrefslogtreecommitdiffstats
path: root/autotest.sh
Commit message (Collapse)AuthorAgeFilesLines
* Make autotest.sh able to output proper coverage againRoeland Jago Douma2015-12-011-1/+1
| | | | | The usage of single quotes make sure that a string is used verbatim in bash. And no variables are subsituted.
* Don't execute phpunit twiceThomas Müller2015-11-301-1/+0
|
* Un-confuse @MorrisJobke :wink:Thomas Müller2015-11-301-3/+0
|
* Introduce evaluation of an environment variable to choose if all, only ↵Thomas Müller2015-11-301-4/+17
| | | | | | database or only database unit tests are to be executed. This is mainly required on automated execution on Jenkins
* Use proper statement to retrieve the IP of an docker instanceMorris Jobke2015-10-301-3/+3
|
* Fix termination of the ceph dockerThomas Müller2015-10-161-1/+2
|
* Fix termination of the ceph dockerThomas Müller2015-10-161-1/+1
|
* test objectstore with ceph dockerJörn Friedrich Dreyer2015-10-061-1/+37
| | | | | | | | | | | | | | | | use default config for swift primary storage test config allow testsuite to complete fix timeout, script cleanup, enable debug for now use btrfs loopback device, requires privileged container and absolute path throw exception when storage has problems debug by echo ... sleep more, more debug
* Use a universal shebangOlivier Paroz2015-09-271-1/+1
| | | | Fixes #15037
* Merge pull request #19177 from owncloud/docker-check-stateThomas Müller2015-09-221-2/+8
|\ | | | | Connect to database to verify if it is running
| * Connect to database to verify if it is runningLukas Reschke2015-09-181-2/+8
| | | | | | | | Try to connect to the OCI host via sqlplus to ensure that the connection is already running. Required by the new OCI configuration on CI.
* | Minor text typosPhil Davis2015-09-211-1/+1
|/ | | | that I noticed while looking at some code.
* Increment timeout on Oracle startupThomas Müller2015-09-161-1/+1
|
* Allow easy XDEBUG debugging with autotestRobin McCorkell2015-08-311-0/+6
| | | | | | | | | | Debugging scripts needs the environment variable XDEBUG_CONFIG to be set, which initiates a connection to a listening debugger. But if that env is set and one of the PHP setup steps occurs (e.g. occ install), the debugging session is 'completed' and the debugger no longer listens during the actual tests. This saves the XDEBUG_CONFIG env so it only applies during the PHPUnit execution, so only the real tests trigger the debugging.
* Add possible use of docker instance for MariaDBRoeland Jago Douma2015-07-291-11/+44
|
* [autotest] timeout oracle docker startup after 2 minutesMorris Jobke2015-07-161-2/+2
|
* [autotest] wait for oracle docker container initialization instead of ↵Morris Jobke2015-07-151-2/+4
| | | | waiting a hard coded time
* autotest.sh with docker support for postgresMorris Jobke2015-07-061-1/+20
| | | | | * waits until the docker container is started * export USEDOCKER=1 to run the docker version of postgres
* Let's wait a little longer until oracle finally is availableThomas Müller2015-06-241-2/+2
|
* move the OCPSinceChecker.php to build/Morris Jobke2015-06-191-1/+1
|
* Add tool to check OCP for missing @since tagMorris Jobke2015-06-191-0/+3
| | | | | | * gets executed in autotest.sh and fails if some PHPDoc is missing * doesn't check classes/methods that are marked as @deprecated * iterates over all .php files in lib/public
* Store in array to allow paths with whitespaceLukas Reschke2015-05-151-4/+4
|
* Add support for facade binary scriptsLukas Reschke2015-05-151-3/+10
| | | | Fixes https://github.com/owncloud/core/issues/16296
* Lint bash script using ShellCheckLukas Reschke2015-05-151-11/+11
| | | | Ref http://www.shellcheck.net/about.html
* Combine autotest-hhvm.sh with autotest.shAndreas Fischer2015-05-041-5/+20
|
* [autotest.sh] use the DATABASEHOST for the mysql DB dropMorris Jobke2015-04-101-1/+1
|
* Now using a special docker where the database for testing is already availableThomas Müller2015-03-201-26/+2
|
* Oracle 11 XE is now fired up in a docker image - looks like we get back ↵Thomas Müller2015-03-171-3/+18
| | | | Oracle Testing on pull requests
* Use occ to install ownCloud in autotest.shThomas Müller2015-03-111-70/+11
|
* Better cleanup in autotest.shRobin McCorkell2015-01-281-8/+10
| | | | Configs correctly cleaned, even if phpunit fails or autotest interrupted
* Correctly run all tests again when no file is specifiedJoas Schilling2014-12-091-1/+1
|
* Allow autocomplete for test file in autotest.shJoas Schilling2014-12-091-1/+5
|
* this allows a non-existant config/config.php for starting the autotest.shMorris Jobke2014-11-131-1/+1
|
* Drop only if existsLukas Reschke2014-09-241-1/+1
|
* autotest.sh shall not terminate if mysql db could not be droppedThomas Müller2014-09-241-1/+1
|
* Fix autotest.sh for whitespace in pathsRobin McCorkell2014-09-221-14/+14
|
* Don't terminate the script if the pgsql database could not be deletedThomas Müller2014-09-121-1/+1
|
* terminate script execution in case of failureThomas Müller2014-09-091-0/+2
|
* Restore autotest config on SIGINT or SIGTERMVincent Petry2014-08-191-5/+11
| | | | | | | | When hitting Ctrl+C to interrupt unit test running, the old configuration was not restored properly. This fix traps the signal to properly restore the configuration after an interruption.
* Use git checkout on directory as some files may not be in git resulting in, ↵Andreas Fischer2014-04-071-1/+1
| | | | | | | e.g.: error: pathspec 'tests/data/lorem-copy.txt' did not match any file(s) known to git. error: pathspec 'tests/data/testimage-copy.png' did not match any file(s) known to git.
* Catch setup errors during autotestVincent Petry2014-02-051-2/+6
|
* Enforce required phpunit versionVincent Petry2013-12-191-2/+17
| | | | | This will prevent frustration and confusion when unit tests fail because the wrong phpunit version was used
* keep junit xml reportsThomas Müller2013-11-041-1/+1
|
* adding environment variable to control coverage reportingThomas Müller2013-11-041-1/+6
|
* Added syntax help for autotest.shVincent Petry2013-10-251-4/+30
| | | | | | | | | autotest.sh now checks for the validity of the db config name argument. If the db config name is not known, it show syntax info. This should save some time to people to understand how to use this script. Before this fix, an invalid argument would return a big HTML page in the output.
* Added backup for config.php in autotest.sh scriptVincent Petry2013-10-031-0/+17
| | | | | | | | | | | The script now checks for config.php existance and backs it up before running the test, then restores it back at the end. This avoids the situation where devs lose their manually edited config if they forgot to back it up before running the unit tests. The script now also checks for config.php permissions beforehand to avoid displaying an annoying HTML page output in the console with an error message.
* collect coverage for all databases again - ci.owncloud.org has more RAM ↵Thomas Müller2013-09-251-6/+1
| | | | available
* use tmpfs at /dev/shm to speedup unit test executionThomas Müller2013-07-301-5/+11
|
* pgsql support addedThomas Müller2013-07-191-1/+4
|
* parallel execution support for mysql addedThomas Müller2013-07-191-12/+19
|