[plt-scheme] reload library with get-ffi-obj for unit testing C libs

From: Scott Hickey (sshickey at qwest.net)
Date: Wed May 27 15:27:29 EDT 2009

I am using DrScheme to write unit tests for a C library I am working
on, using the FFI function get-ffi-obj .

My tests run fine from the command line and from DrScheme. When I
change the C library and rerun tests from the command line, the tests
use the latest version of the C library under test. When I rerun test
from DrScheme, the original version of the library is still being used
instead of the latest one.

Is there something I can configure in DrScheme so that my tests will
always access the latest version of the C library I am testing?

Scott Hickey

Posted on the users mailing list.