[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EUnit failure?
From: |
Paolo Bonzini |
Subject: |
Re: EUnit failure? |
Date: |
Tue, 11 Aug 2009 09:39:09 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2 |
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 <address@hidden>
* 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])
- Re: EUnit failure?, Paolo Bonzini, 2009/08/11
- Re: EUnit failure?, Ralf Wildenhues, 2009/08/11
- Re: EUnit failure?,
Paolo Bonzini <=
- Re: EUnit failure?, Ralf Wildenhues, 2009/08/11
- Re: EUnit failure?, Romain Lenglet, 2009/08/11
- Re: EUnit failure?, Ralf Wildenhues, 2009/08/13
- Re: EUnit failure?, Romain Lenglet, 2009/08/18
- Re: EUnit failure?, Ralf Wildenhues, 2009/08/18
- Re: EUnit failure?, Romain Lenglet, 2009/08/18
- Re: EUnit failure?, Paolo Bonzini, 2009/08/19
- Re: EUnit failure?, Romain Lenglet, 2009/08/19
- Re: EUnit failure?, Ralf Wildenhues, 2009/08/19
- Re: EUnit failure?, Romain Lenglet, 2009/08/19