|
From: | Peter Johansson |
Subject: | Re: Parallel builds with some ordering constraints |
Date: | Mon, 31 Dec 2018 10:48:40 +1000 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 |
Hi Kip and Nick, On 12/30/2018 12:03 PM, Kip Warner wrote:
Almost! The problem is with the last rule you defined because a rule to generate test-stop.log would have already been generated by Automake and this would override it. I tested in my own source tree and confirmed that: automake-1.16: warnings are treated as errors Makefile.am:200: warning: user target 'Init_d_Stop.sh.log' defined here ... /usr/share/automake-1.16/am/check2.am: ... overrides Automake target 'Init_d_Stop.sh.log' defined here make: *** [Makefile:1156: ../Makefile.in] Error 1
Interesting. I've used this pattern for long time here https://sourceforge.net/p/yat-util/code/HEAD/tree/trunk/Makefile.amThe most significant difference I can see is that my tests have suffix '.test' and the log files '.log' (not '.test.log'). I know that variable TEST_EXTENSIONS is set to '.test' by default so my guess would be that the different behaviour would be related to this variable.
Cheers, Peter
[Prev in Thread] | Current Thread | [Next in Thread] |