Skip to content

Commit

Permalink
[Truffle] Prune language tags.
Browse files Browse the repository at this point in the history
$ ruby spec/mspec/bin/mspec tag --purge --config spec/truffle/truffle.mspec spec/ruby/language -t /path/to/ruby-trunk
  • Loading branch information
eregon committed Dec 11, 2014
1 parent cf3ca08 commit c217f32
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 43 deletions.
6 changes: 0 additions & 6 deletions spec/truffle/tags/language/def_tags.txt
Expand Up @@ -4,10 +4,4 @@ fails:A method definition inside an instance_eval creates a class method when th
fails:A method definition in an eval creates an instance method
fails:A method definition in an eval creates a class method
fails(inherited):The def keyword within a closure looks outside the closure for the visibility
fails:An instance method with keyword arguments treats a sole hash argument correctly
fails:An instance method with keyword arguments correctly distinguishes between optional and keyword arguments
fails:An instance method with keyword arguments correctly distinguishes between rest and keyword arguments
fails:An instance method with keyword arguments should allow keyword rest arguments
fails:An instance method with keyword arguments when there is a single keyword argument evaluates to the default when a value isn't provided
fails:An instance method with keyword arguments when there is a single keyword argument evaluates to the provided value
fails:A method definition in an eval creates a singleton method
8 changes: 0 additions & 8 deletions spec/truffle/tags/language/encoding_tags.txt
@@ -1,10 +1,2 @@
fails(inherited):The __ENCODING__ pseudo-variable is Encoding::EUC_JP when the interpreter is invoked with -Ke
fails(inherited):The __ENCODING__ pseudo-variable is Encoding::EUC_JP when the interpreter is invoked with -KE
fails(inherited):The __ENCODING__ pseudo-variable is Encoding::Windows_31J when the interpreter is invoked with -Ks
fails(inherited):The __ENCODING__ pseudo-variable is Encoding::Windows_31J when the interpreter is invoked with -KS
fails:The __ENCODING__ pseudo-variable is Encoding::ASCII_8BIT when the interpreter is invoked with -Ka
fails:The __ENCODING__ pseudo-variable is Encoding::ASCII_8BIT when the interpreter is invoked with -KA
fails:The __ENCODING__ pseudo-variable is Encoding::UTF_8 when the interpreter is invoked with -Ku
fails:The __ENCODING__ pseudo-variable is Encoding::UTF_8 when the interpreter is invoked with -KU
fails:The __ENCODING__ pseudo-variable is the encoding specified by a magic comment inside an eval
fails:The __ENCODING__ pseudo-variable is the evaluated strings's one inside an eval
2 changes: 0 additions & 2 deletions spec/truffle/tags/language/predefined_tags.txt
Expand Up @@ -6,7 +6,6 @@ fails:Predefined global $` is equivalent to MatchData#pre_match on the last matc
fails(inherited):Predefined global $` sets an empty result to the encoding of the source String
fails:Predefined global $' is equivalent to MatchData#post_match on the last match $~
fails(inherited):Predefined global $' sets an empty result to the encoding of the source String
fails:Predefined global $stdout is the same as $DEFAULT_OUTPUT from 'English' library
fails:Predefined global $stdout raises TypeError error if assigned to nil
fails:Predefined global $stdout raises TypeError error if assigned to object that doesn't respond to #write
fails:Predefined global $! remains nil after a failed core class "checked" coercion against a class that defines method_missing
Expand Down Expand Up @@ -41,7 +40,6 @@ fails:The predefined global constant STDIN retains the encoding set by #set_enco
fails:The predefined global constant STDIN has the encodings set by #set_encoding
fails:The predefined global constant STDIN has the same external encoding as Encoding.default_external when that encoding is changed
fails:The predefined global constant STDIN has the same external encoding as Encoding.default_external
fails:Processing RUBYOPT adds the -I path to $LOAD_PATH
fails:Predefined global $` sets an empty result to the encoding of the source String
fails:Predefined global $' sets an empty result to the encoding of the source String
fails:Predefined global $/ changes $-0
Expand Down
1 change: 0 additions & 1 deletion spec/truffle/tags/language/super_tags.txt
@@ -1,6 +1,5 @@
fails:The super keyword calls the correct method when the method visibility is modified
fails:The super keyword supers up appropriate name even if used for multiple method names
fails:The super keyword can be used with implicit arguments from a method defined with define_method
fails:The super keyword passes along modified rest args when they weren't originally empty
fails:The super keyword passes along modified rest args when they were originally empty
fails:The super keyword raises a RuntimeError when called with implicit arguments from a method defined with define_method
Expand Down
26 changes: 0 additions & 26 deletions spec/truffle/tags/language/variables_tags.txt
@@ -1,29 +1,3 @@
fails:Basic multiple assignment with a single RHS value does not call #to_ary on an Array subclass instance
fails:Basic multiple assignment with a single RHS value does not call #to_a on an Array subclass instance
fails:Basic multiple assignment with a single RHS value calls #to_ary on an object
fails:Basic multiple assignment with a single RHS value calls #to_ary on an object
fails:Basic multiple assignment with a single RHS value does not call #to_a on an object if #to_ary is not defined
fails:Basic multiple assignment with a splatted single RHS value does not call #to_ary on an Array subclass instance
fails:Basic multiple assignment with a splatted single RHS value does not call #to_a on an Array subclass instance
fails(inherited):Assigning multiple values calls #to_ary on RHS arg if the corresponding LHS var is a splat
fails:Assigning multiple values allows complex parallel assignment
fails:Conditional operator assignment 'obj.meth op= expr' is equivalent to 'obj.meth op obj.meth = expr'
fails:Conditional operator assignment 'obj.meth op= expr' may not assign at all, depending on the truthiness of lhs
fails:Operator assignment 'obj.meth op= expr' evaluates lhs one time
fails:An exception occurred during: Mock.verify_count
fails:Conditional operator assignment 'obj[idx] op= expr' may not assign at all, depending on the truthiness of lhs
fails:Operator assignment 'obj[idx] op= expr' handles empty index (idx) arguments
fails:Operator assignment 'obj[idx] op= expr' handles complex index (idx) arguments
fails:Operator assignment 'obj[idx] op= expr' handles empty splat index (idx) arguments
fails:Operator assignment 'obj[idx] op= expr' handles single splat index (idx) arguments
fails:Operator assignment 'obj[idx] op= expr' handles multiple splat index (idx) arguments
fails:Operator assignment 'obj[idx] op= expr' handles splat index (idx) arguments with normal arguments
fails:Operator assignment 'obj[idx] op= expr' returns result of rhs not result of []=
fails:Multiple assignments with grouping A group on the lhs is considered one position and treats its corresponding rhs position like an Array
fails:Multiple assignments with grouping supports multiple levels of nested groupings
fails:Multiple assignment has the proper return value
fails:Multiple assignment, array-style returns an array of all rhs values
fails:A local variable in a #define_method scope Multiple assignments with splats * on the LHS has to be applied to any parameter
fails:Multiple assignment with a single RHS value assigns a simple MLHS
fails:Multiple assignment with a single RHS value calls #to_ary to convert an Object RHS when assigning a simple MLHS
fails:Multiple assignment with a single RHS value calls #to_ary if it is private
Expand Down

2 comments on commit c217f32

@chrisseaton
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's going on here? Do these specs not exist any more?

@eregon
Copy link
Member Author

@eregon eregon commented on c217f32 Dec 11, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah exactly, and some like -fails:An exception occurred during: Mock.verify_count seem related to early impl bugs.

Please sign in to comment.