summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Dreyer <ktdreyer@ktdreyer.com>2014-02-04 19:00:11 -0700
committerKen Dreyer <ktdreyer@ktdreyer.com>2014-02-04 19:00:11 -0700
commit4d6d6a47f182e371ec64edf4895d7f450c58e64d (patch)
treed514eea8a5b1f4b4da129edaad808eff59369fcd
parent5b2d0c2398796d9091ea998dab87abcc01d8346e (diff)
downloadrubygem-gemnasium-parser-master.tar.gz
rubygem-gemnasium-parser-master.tar.xz
rubygem-gemnasium-parser-master.zip
run tests, but don't die when they failHEADmaster
It's useful to see the test output during the build, even if the tests fail.
-rw-r--r--rubygem-gemnasium-parser.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/rubygem-gemnasium-parser.spec b/rubygem-gemnasium-parser.spec
index 34153d8..a53063d 100644
--- a/rubygem-gemnasium-parser.spec
+++ b/rubygem-gemnasium-parser.spec
@@ -15,8 +15,8 @@ BuildRequires: ruby(release)
BuildRequires: rubygems-devel
BuildRequires: ruby
# Test suite currently fails, but these are the BRs to run it:
-#BuildRequires: rubygem(rspec)
-#BuildRequires: rubygem(bundler)
+BuildRequires: rubygem(rspec)
+BuildRequires: rubygem(bundler)
BuildArch: noarch
Provides: rubygem(%{gem_name}) = %{version}
@@ -61,12 +61,12 @@ cp -pa .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
%check
-# Test suite has many failures. Upstream is going through a major refactor on
-# for rspec tests. See https://github.com/gemnasium/gemnasium-parser/pull/29
-# For now we will comment out the test suite.
-#pushd .%%{gem_instdir}
-# rspec -Ilib spec
-#popd
+pushd .%{gem_instdir}
+ # Test suite has many failures. Upstream is going through a major refactor on
+ # for rspec tests. See https://github.com/gemnasium/gemnasium-parser/pull/29
+ # For now we will make the test suite unconditionally return success.
+ rspec -Ilib spec || :
+popd
%files
%dir %{gem_instdir}