[fpc-devel] test suite, problem with missing libraries on the target

Jonas Maebe jonas.maebe at elis.ugent.be
Fri May 27 15:12:17 CEST 2011


On 27 May 2011, at 14:56, Bernd Mueller wrote:

> I have enough FLASH memory, so I am not using TEST_DELTEMP=1. I had  
> a look into the test suite source and I think, that the test suite  
> is not able to copy the libraries to the target.
>
> I attached a small patch, which could be a solution for the problem.  
> I am using the parameter of the %needlibrary directive to get the  
> information, which library should be copied. For example in  
> tlib1b.pp, the directive is expanded to { %needlibrary=tlib1a }.  
> This works for me.
>
> If you think, this patch could be the right way to copy the  
> libraries, I would submit a second patch which expands all required  
> %needlibrary directives.

Isn't it easier to simply copy all compiled libraries to the target  
when they are compiled (just like compiled test programs are copied)?  
I thought that was already being done, but if I understand you  
correctly that's not the case.


Jonas



More information about the fpc-devel mailing list