From 74665faec533430be37879bfc0ef24aa7f211f6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Sat, 27 Oct 2012 11:22:00 +0200 Subject: [PATCH] exeuting tests now on apps as well - the apps repo shall be cloned into the sub folder apps2 --- autotest.sh | 6 ++++-- tests/enable_all.php | 20 ++++++++++++++++++++ tests/preseed-config.php | 19 +++++++++++++++++++ 3 files changed, 43 insertions(+), 2 deletions(-) create mode 100644 tests/enable_all.php create mode 100644 tests/preseed-config.php diff --git a/autotest.sh b/autotest.sh index 56296c6a51..744bcdbe8f 100755 --- a/autotest.sh +++ b/autotest.sh @@ -9,7 +9,7 @@ DATADIR=data-autotest BASEDIR=$PWD -# create autoconfig for sqlite, mysql and (soon) postgresql +# create autoconfig for sqlite, mysql and postgresql cat > ./tests/autoconfig-sqlite.php < + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + +require_once __DIR__.'/../lib/base.php'; + +OC_App::enable('calendar'); +OC_App::enable('contacts'); +OC_App::enable('files_archive'); +OC_App::enable('mozilla_sync'); +OC_App::enable('news'); +OC_App::enable('provisioning_api'); +OC_App::enable('user_external'); +OC_App::enable('provisioning_api'); +OC_App::enable('provisioning_api'); + diff --git a/tests/preseed-config.php b/tests/preseed-config.php new file mode 100644 index 0000000000..fbf60ad2e2 --- /dev/null +++ b/tests/preseed-config.php @@ -0,0 +1,19 @@ + false, + 'apps_paths' => + array ( + 0 => + array ( + 'path' => '/home/thomas/Development/owncloud/core/apps', + 'url' => '/apps', + 'writable' => false, + ), + 1 => + array ( + 'path' => '/home/thomas/Development/owncloud/core/apps2', + 'url' => '/apps2', + 'writable' => false, + ) + ), +);