Permalink
Browse files

Updated exclusion list for CI specs.

Updated rake spec:ci task.
Changed ci spec run action to execute all specs in one process.
Added guard on file specs to prevent compilation exception.
  • Loading branch information...
1 parent c3b61b2 commit 4ef0b9feddfebfd1b6177fce6e3a1a4077f4f098 @brixen brixen committed Aug 23, 2007
Showing with 895 additions and 7 deletions.
  1. +1 −1 Rakefile
  2. +3 −5 bin/ci
  3. +3 −1 spec/core/file_spec.rb
  4. +888 −0 spec/reports/ci-excludes.txt
View
@@ -89,7 +89,7 @@ namespace :spec do
task :ci do
target = ENV['SPEC_TARGET'] || 'rbx'
system %(shotgun/rubinius -e 'puts "rbx build: \#{Rubinius::BUILDREV}"') if target == 'rbx'
- sh "bin/mspec -t #{target} -f ci -x spec/reports/ci-excludes.txt spec"
+ sh "bin/ci -t #{target}"
end
spec_targets = %w(compiler core language library parser rubinius)
View
8 bin/ci
@@ -72,8 +72,8 @@ end
case action
when :create
cmd = <<-EOC
-bin/mspec -t #{target} -x spec/reports/critical-excludes.txt -f ci %s
-> spec/reports/ci-excludes.txt
+bin/mspec -t #{target} -x spec/reports/critical-excludes.txt -f ci %s \
+>> spec/reports/ci-excludes.txt \
2> /dev/null
EOC
system("rm -f spec/reports/ci-excludes.txt")
@@ -82,9 +82,7 @@ EOC
end
system("cat spec/reports/critical-excludes.txt >> spec/reports/ci-excludes.txt")
when :run
- files.each do |file|
- system("bin/mspec -t #{target} -x spec/reports/ci-excludes.txt -f #{format} #{file} 2> /dev/null")
- end
+ system("bin/mspec -t #{target} -x spec/reports/ci-excludes.txt -f #{format} #{files.join(' ')} 2> /dev/null")
when :invert
files.each do |file|
system("bin/mspec -t #{target} -e spec/reports/ci-excludes.txt -f #{format} #{file}")
View
@@ -1,5 +1,7 @@
require File.dirname(__FILE__) + '/../spec_helper'
-require 'pathname'
+failure :rbx do
+ require 'pathname'
+end
# class methods
# atime, basename, blockdev?, chardev?, chmod, chown, ctime, delete,
Oops, something went wrong.

0 comments on commit 4ef0b9f

Please sign in to comment.