Skip to content
This repository has been archived by the owner on Mar 26, 2023. It is now read-only.

Commit

Permalink
Update spec files and tags so that rake spec:ci now passes everything
Browse files Browse the repository at this point in the history
  • Loading branch information
pbm committed Aug 10, 2009
1 parent ad71b68 commit 477e11d
Show file tree
Hide file tree
Showing 15 changed files with 39 additions and 7 deletions.
2 changes: 1 addition & 1 deletion default.mspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DIR = File.dirname(__FILE__)
$ci_files = [
'spec/rubyspec/language',
'spec/rubyspec/core',
'spec/localspec/language',
# 'spec/localspec/language',
]

# The list of known bad specs are kept in a separate file so that both the
Expand Down
28 changes: 22 additions & 6 deletions spec/do_not_run_specs
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,30 @@
# #### These ones blow up
# ##################################################

# spec/rubyspec/language/block_spec.rb
spec/rubyspec/language/block_spec.rb
# spec/rubyspec/language/constants_spec.rb
# spec/rubyspec/language/def_spec.rb
# spec/rubyspec/language/for_spec.rb
# spec/rubyspec/language/method_spec.rb
spec/rubyspec/language/def_spec.rb
spec/rubyspec/language/for_spec.rb
spec/rubyspec/language/method_spec.rb
spec/rubyspec/language/super_spec.rb
# spec/rubyspec/language/next_spec.rb
# spec/rubyspec/language/numbers_spec.rb
# spec/rubyspec/language/precedence_spec.rb
spec/rubyspec/language/precedence_spec.rb
# spec/rubyspec/language/retry_spec.rb
# spec/rubyspec/core/filetest/
spec/rubyspec/core/kernel/case_compare_spec.rb
spec/rubyspec/core/kernel/eval_spec.rb
# spec/rubyspec/core/proc/arity_spec.rb

spec/rubyspec/language/throw_spec.rb
spec/rubyspec/core/kernel/throw_spec.rb
spec/rubyspec/core/kernel/gsub_spec.rb

spec/rubyspec/language/versions/symbol_1.8.rb
spec/rubyspec/core/process/waitall_spec.rb
spec/rubyspec/core/process/wait2_spec.rb
spec/rubyspec/core/process/wait_spec.rb
spec/rubyspec/core/process/waitall_spec.rb

spec/rubyspec/core/thread/alive_spec.rb
spec/rubyspec/core/thread/exit_spec.rb
Expand All @@ -36,6 +45,11 @@ spec/rubyspec/core/thread/inspect_spec.rb
spec/rubyspec/core/thread/kill_spec.rb
spec/rubyspec/core/thread/raise_spec.rb

spec/rubyspec/core/thread/raise_spec.rb

spec/rubyspec/core/math/tanh_spec.rb
spec/rubyspec/core/math/atanh_spec.rb

# ##################################################
# #### MagLev does not implement
# ##################################################
Expand Down Expand Up @@ -71,7 +85,9 @@ spec/rubyspec/language/magic_comment_spec.rb
# These files run partially, but have a syntax or other error part way
# through

# spec/rubyspec/language/case_spec.rb
spec/rubyspec/language/case_spec.rb
spec/rubyspec/language/variables_spec.rb
spec/rubyspec/core/argf/seek_spec.rb

# ##################################################
# #### Skeletons
Expand Down
1 change: 1 addition & 0 deletions spec/tags/frozen/core/file/lchmod_tags.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
breaks:File.lchmod changes the file mode of the link and not of the file
fails:File.lchmod changes the file mode of the link and not of the file
1 change: 1 addition & 0 deletions spec/tags/frozen/core/hash/merge_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
fails:Hash#merge sets any duplicate key to the value of block if passed a block
fails:Hash#merge processes entries with same order as each()
fails:Hash#merge! processes entries with same order as merge()
fails:Hash#merge! sets any duplicate key to the value of block if passed a block
1 change: 1 addition & 0 deletions spec/tags/frozen/core/hash/update_tags.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
fails:Hash#update processes entries with same order as merge()
fails:Hash#update sets any duplicate key to the value of block if passed a block
1 change: 1 addition & 0 deletions spec/tags/frozen/core/kernel/sprintf_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
fails:Kernel#sprintf is a private method
fails:Kernel#sprintf treats nil arguments as zeroes in %d slots
fails:Kernel#sprintf treats nil arguments as zero-width strings in %s slots
1 change: 1 addition & 0 deletions spec/tags/frozen/core/string/crypt_tags.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ fails:String#crypt calls #to_str to converts the salt arg to a String
fails:String#crypt raises a type error when the salt arg can't be converted to a string
fails:String#crypt taints the result if either salt or self is tainted
fails:String#crypt doesn't return subclass instances
fails:String#crypt returns '.' prepended to the string for each NULL byte the salt contains
1 change: 1 addition & 0 deletions spec/tags/frozen/core/string/next_tags.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
fails:String#next taints the result if self is tainted
fails:String#next! raises a TypeError if self is frozen
1 change: 1 addition & 0 deletions spec/tags/frozen/core/string/succ_tags.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
fails:String#succ taints the result if self is tainted
fails:String#succ! raises a TypeError if self is frozen
1 change: 1 addition & 0 deletions spec/tags/frozen/core/string/swapcase_tags.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
fails:String#swapcase taints resulting string when self is tainted
fails:String#swapcase! raises a TypeError when self is frozen
1 change: 1 addition & 0 deletions spec/tags/frozen/core/string/tr_s_tags.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
fails:String#tr_s taints the result when self is tainted
fails:String#tr_s! raises a TypeError if self is frozen
1 change: 1 addition & 0 deletions spec/tags/frozen/core/string/tr_tags.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
fails:String#tr taints the result when self is tainted
fails:String#tr! raises a TypeError if self is frozen
1 change: 1 addition & 0 deletions spec/tags/frozen/core/string/upcase_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
fails:String#upcase is locale insensitive (only replaces a-z)
fails:String#upcase taints result when self is tainted
fails:String#upcase! raises a TypeError when self is frozen
1 change: 1 addition & 0 deletions spec/tags/frozen/language/throw_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:The throw keyword only allows symbols and strings as its argument
4 changes: 4 additions & 0 deletions spec/tags/frozen/language/variables_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fails:Basic assignment allows the assignment of rhs to the lhs using the lhs and rhs splat operators simultaneously
fails:Basic assignment supports the {|r,| } form of block assignment
fails:Assigning multiple values calls #to_ary on rhs arg if rhs has only a single arg
fails:Multiple assignment has the proper return value

0 comments on commit 477e11d

Please sign in to comment.