Duplicate tests that are run twice as both C and C++ tests to fix parallel make: li_cdata
This commit is contained in:
parent
9600c95234
commit
819bd9c97e
5 changed files with 55 additions and 1 deletions
9
Examples/test-suite/python/li_cdata_cpp_runme.py
Normal file
9
Examples/test-suite/python/li_cdata_cpp_runme.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
from li_cdata_cpp import *
|
||||
|
||||
s = "ABC abc"
|
||||
m = malloc(256)
|
||||
memmove(m, s)
|
||||
ss = cdata(m, 7)
|
||||
if ss != "ABC abc":
|
||||
raise "failed"
|
||||
Loading…
Add table
Add a link
Reference in a new issue