Duplicate tests that are run twice as both C and C++ tests to fix parallel make: li_cdata

This commit is contained in:
William S Fulton 2016-02-21 15:01:37 +00:00
commit 819bd9c97e
5 changed files with 55 additions and 1 deletions

View 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"