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
13
Examples/test-suite/python/overload_extend_c_runme.py
Normal file
13
Examples/test-suite/python/overload_extend_c_runme.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import overload_extend_c
|
||||
|
||||
f = overload_extend_c.Foo()
|
||||
if f.test() != 0:
|
||||
raise RuntimeError
|
||||
if f.test(3) != 1:
|
||||
raise RuntimeError
|
||||
if f.test("hello") != 2:
|
||||
raise RuntimeError
|
||||
if f.test(3, 2) != 5:
|
||||
raise RuntimeError
|
||||
if f.test(3.0) != 1003:
|
||||
raise RuntimeError
|
||||
Loading…
Add table
Add a link
Reference in a new issue