[dragonegg] [PATCH] Prevent validator tests from writing to the current directory

Peter Collingbourne peter at pcc.me.uk
Wed Jun 26 16:13:00 PDT 2013


On Wed, Jun 26, 2013 at 07:25:36PM +0200, Duncan Sands wrote:
> Hi Peter,
>
> On 26/06/13 03:18, Peter Collingbourne wrote:
>> Hi,
>>
>> Some of the dragonegg validator tests write an unused .s file to the
>> current directory.  This patch cleans up those tests by causing them
>> to write to /dev/null.
>>
>> OK to commit?
>
> how do other front-ends handle this?  I'm dreaming of a clever trick that makes
> this unnecessary :)  If there are no known clever tricks, then I'm OK with this.

I'm not aware of any; a quick grep of the Clang test suite reveals several RUN
lines which use "-o /dev/null".  Committed as r185034.

Thanks,
-- 
Peter



More information about the llvm-commits mailing list