summaryrefslogtreecommitdiffstats
path: root/composer.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-12-24 09:50:24 +0100
committerRemi Collet <fedora@famillecollet.com>2016-12-24 09:50:24 +0100
commit19339abd644be347c9515e819a8defca6d3078ca (patch)
tree92f0ce24d14994b1288e5506daabe8ae75dfd8f3 /composer.spec
parent83b50d1f4196415daa059c340604c9b0a06d055f (diff)
composer: clean test suite
Diffstat (limited to 'composer.spec')
-rw-r--r--composer.spec8
1 files changed, 6 insertions, 2 deletions
diff --git a/composer.spec b/composer.spec
index bdffa8a..62d71e9 100644
--- a/composer.spec
+++ b/composer.spec
@@ -210,11 +210,15 @@ install -Dpm 755 bin/%{name} %{buildroot}%{_bindir}/%{name}
%check
%if %{with_tests}
+# remirepo:4
%if 0%{?rhel} == 5
rm tests/Composer/Test/Downloader/XzDownloaderTest.php
%endif
-sed -e 's/testDispatcherCanConvertScriptEventToCommandEventForListener/SKIP1/' \
- -i tests/Composer/Test/EventDispatcher/EventDispatcherTest.php
+if [ "$(whoami)" != "remi" ]; then
+: Online tests
+rm tests/Composer/Test/Util/RemoteFilesystemTest.php
+# remirepo:1
+fi
: Ensure not used
rm -rf res