Thread overview
[dmd-internals] druntime tests interacting with C
May 27, 2016
Jacob Carlborg
May 28, 2016
Jacob Carlborg
May 27, 2016
I would like to add some tests to druntime that interface with C code.  The C code would be part of the test, nothing external. Do we already have support for anything like that?

-- 
/Jacob Carlborg


_______________________________________________
dmd-internals mailing list
dmd-internals@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-internals
May 27, 2016
There’s a whole bunch of c files here:

https://github.com/dlang/druntime/tree/master/test/shared/src

-Steve

> On May 27, 2016, at 2:54 PM, Jacob Carlborg via dmd-internals <dmd-internals@puremagic.com> wrote:
> 
> I would like to add some tests to druntime that interface with C code.  The C code would be part of the test, nothing external. Do we already have support for anything like that?
> 
> -- 
> /Jacob Carlborg
> 
> 
> _______________________________________________
> dmd-internals mailing list
> dmd-internals@puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-internals


_______________________________________________
dmd-internals mailing list
dmd-internals@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-internals
May 28, 2016
That seems specific for testing shared libraries. But perhaps it can be made more generic.

-- 
/Jacob Carlborg

> On 27 maj 2016, at 22:27, Steven Schveighoffer via dmd-internals <dmd-internals@puremagic.com> wrote:
> 
> There’s a whole bunch of c files here:
> 
> https://github.com/dlang/druntime/tree/master/test/shared/src
> 
> -Steve
> 
>> On May 27, 2016, at 2:54 PM, Jacob Carlborg via dmd-internals <dmd-internals@puremagic.com> wrote:
>> 
>> I would like to add some tests to druntime that interface with C code.  The C code would be part of the test, nothing external. Do we already have support for anything like that?
>> 
>> -- 
>> /Jacob Carlborg
>> 
>> 
>> _______________________________________________
>> dmd-internals mailing list
>> dmd-internals@puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/dmd-internals
> 
> 
> _______________________________________________
> dmd-internals mailing list
> dmd-internals@puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-internals


_______________________________________________
dmd-internals mailing list
dmd-internals@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-internals