incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chema Balsas <jbal...@gmail.com>
Subject Re: Falcon functional tests
Date Fri, 21 Dec 2012 23:13:07 GMT
Yep, I'd say this has been going since the beggining... in my case, they're
getting stored as somewhere like

/var/folders/x6/926_x3v952x05jkwpg4rq5400000gn/T/apache6562046723695325653.swc
It seems this is the usual behavior, and is solved by invoking the
deleteOnExit() method on the created temporary file. I've checked, and
changing

 output = File.createTempFile(outputSwcName, ".swc").getAbsolutePath();

to
File tmpFile = File.createTempFile(outputSwcName, ".swc");
tmpFile.deleteOnExit();
output = tmpFile.getAbsolutePath();

does remove the temporary swcs.

If you're not doing anything else with the tests, I can commit this easy
fix.

Cheers,
Chema

2012/12/21 Gordon Smith <gosmith@adobe.com>

> My user directory is getting littered with files like
> airframework236875180568976546.swc from the functional tests that compile
> SWCs. Did somebody change the way they compile, or has this been happening
> since I wrote the test infrastructure?
>
> - Gordon
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message