I'm writing a module with XS contents. It failed on a simple test which creates an object, but the error message are eaten by the Build script. In addition, I cannot just run the test script by "perl t/XXX.t", because the .so files under blib/arch/auto cannot be found by perl, and I don't know how to let perl found them.
So, how can I run my test scripts and get the error messages?