From bc172ca3c6b86082e524ffa8033528d7bf9fd2c8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 26 Sep 2016 10:47:26 +0200 Subject: glpi: fix test suite --- glpi-dev.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'glpi-dev.spec') diff --git a/glpi-dev.spec b/glpi-dev.spec index 2d628f9..1b24917 100644 --- a/glpi-dev.spec +++ b/glpi-dev.spec @@ -50,7 +50,6 @@ Source0: https://github.com/%{gh_owner}/%{name}/archive/%{gh_commit}/%{na Source1: %{name}-httpd.conf Source2: %{name}-9.1-config_path.php Source12: %{name}-9.1-config_path_test.php -Source13: %{name}-9.1-config_db_test.php Source3: %{name}-logrotate Source4: %{name}-nginx.conf Source5: %{name}-fedora-autoloader.php @@ -333,10 +332,11 @@ done : Set tests configuration cp %{SOURCE12} config/config_path.php -cp %{SOURCE13} config/config_db.php : Run upstream test suite php tools/cliinstall.php --host=127.0.0.1:3308 --db=glpitest --user=root --tests --force --lang=en_US || RET=1 +cp tests/config_db.php config/ + %{_bindir}/phpunit --verbose || RET=1 : Cleanup -- cgit