On 08/11/2009 07:56 AM, Ralf Wildenhues wrote:
* Paolo Bonzini wrote on Tue, Aug 11, 2009 at 07:24:35AM CEST:
On 08/11/2009 01:20 AM, Romain Lenglet wrote:
When renaming the directory, you only rename the library. But the modules in
can still be loaded (module names are independent from library names).
However, any inclusion of a library header file from it, like
"eunit/include/eunit.hrl" will fail, since this depends on the library name.
If this is what Ralf did, I guess the explanation makes sense.
I didn't actively do anything with my Erlang installation though.
If you can tell me what to look out for, I can try to debug it tonight.
In the meanwhile, this patch will help capturing t/suite.log properly.
Ok?
Paolo
2009-08-11 Paolo Bonzini <[email protected]>
* tests/autotest.at (AT_CHECK_AT_PREP): Properly capture
testsuite log even if it is in a subdirectory.
diff --git a/tests/autotest.at b/tests/autotest.at
index 7b8e0ee..ced792b 100644
--- a/tests/autotest.at
+++ b/tests/autotest.at
@@ -44,7 +44,7 @@ m4_define([AT_CHECK_AT_PREP],
dnl overquote AT_dir, to make it easier to use
m4_pushdef([AT_dir], m4_ifval([$6], [[[$6]]], [.]))dnl
dnl
-AT_CAPTURE_FILE([$1.log])dnl
+AT_CAPTURE_FILE(AT_dir[/$1.log])dnl
dnl
AT_DATA_AUTOTEST(AT_dir[/package.m4],
[[m4_define([AT_PACKAGE_NAME], [GNU Nonsense])