Duplicate tests that are run twice as both C and C++ tests to fix parallel make: overload_extend
This commit is contained in:
parent
0bd41dc14d
commit
155e31626c
10 changed files with 106 additions and 1 deletions
19
Examples/test-suite/ruby/overload_extend_c_runme.rb
Normal file
19
Examples/test-suite/ruby/overload_extend_c_runme.rb
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/env ruby
|
||||
#
|
||||
# Put description here
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
require 'swig_assert'
|
||||
|
||||
require 'overload_extend_c'
|
||||
|
||||
f = Overload_extend_c::Foo.new
|
||||
|
||||
raise RuntimeError if f.test(3) != 1
|
||||
raise RuntimeError if f.test("hello") != 2
|
||||
raise RuntimeError if f.test(3.5,2.5) != 6
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue