On 23 May 2011, at 11:49, Bernd Mueller wrote:

I am running the test suite with remote execution (from a Windows host) on an ARM-Linux target. Some test programs fail at runtime, because they depend on libraries, which were not automatically copied to the target. For example:

  Failed to run test/tlib1b.pp 2011/01/21 18:06:08 (16)
  /mnt/tlib1b: can't load library 'libtlib1a.so'

My target has very low resources so that I can not run the test suite directly on the target. How can my problem be solved?

Maybe you are using TEST_DELTEMP=1? If so, remove it if you have enough disk space on the remote target. Most test sources that are later on used by other tests don't contain the necessary { %neededafter } directive, so they are immediately deleted even when they are still required later

Alternatively, you can submit a patch that adds { %neededafter } to all affected tests).


Jonas

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to