Skip to content

Commit

Permalink
[Truffle] Untag passing PE tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed May 26, 2015
1 parent 6d3b6f9 commit 2d4af89
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion test/truffle/pe/core/array_pe.rb
Expand Up @@ -9,7 +9,7 @@
example "[3, 1, 2][1]"

# fails because of a call to <=> that is not inlined
tagged_example "[3, 1, 2].sort[1]"
example "[3, 1, 2].sort[1]"

# why does this fail but the next one work?
tagged_example "[14].pack('C').getbyte(0)"
Expand Down
4 changes: 2 additions & 2 deletions test/truffle/pe/core/hash_pe.rb
Expand Up @@ -7,6 +7,6 @@
# GNU Lesser General Public License version 2.1

# fails because of a call to eql? that is not inlined
tagged_example "({a: 0, b: 1, c: 2})[:b]"
example "({a: 0, b: 1, c: 2})[:b]"

tagged_example "({a: 0, b: 1, c: 2}).map{ |k, v| v }[0]"
example "({a: 0, b: 1, c: 2}).map{ |k, v| v }[0]"
2 changes: 1 addition & 1 deletion test/truffle/pe/core/symbol_pe.rb
Expand Up @@ -10,4 +10,4 @@
example ":foo == :foo"

# fails because != is !(==), and the inner call to == is not inlined
tagged_example ":foo != :bar"
example ":foo != :bar"
6 changes: 3 additions & 3 deletions test/truffle/pe/language/metaprogramming_pe.rb
Expand Up @@ -27,6 +27,6 @@ def existing_method(a)
end

# all fail due to calls not being inlined
tagged_example "MetaprogrammingFixtures::MethodMissing.new.does_not_exist"
tagged_example "MetaprogrammingFixtures::ClassWithExistingMethod.new.respond_to?(:existing_method)"
tagged_example "MetaprogrammingFixtures::ClassWithExistingMethod.new.send(:existing_method, 14)"
example "MetaprogrammingFixtures::MethodMissing.new.does_not_exist"
example "MetaprogrammingFixtures::ClassWithExistingMethod.new.respond_to?(:existing_method)"
example "MetaprogrammingFixtures::ClassWithExistingMethod.new.send(:existing_method, 14)"
2 changes: 1 addition & 1 deletion test/truffle/pe/macro/pushing_pixels_pe.rb
Expand Up @@ -35,4 +35,4 @@ def method_missing(method, *args)

end

tagged_example "PushingPixelsFixtures::Bar.new.foo(14, 8, 6)"
example "PushingPixelsFixtures::Bar.new.foo(14, 8, 6)"

0 comments on commit 2d4af89

Please sign in to comment.