[MOAB-dev] buildbot failure in moab-distcheck: failed compile

Jason Kraftcheck kraftche at cae.wisc.edu
Wed Apr 20 09:44:48 CDT 2011


Also, if you want to verify that everything is as it should be, you can do
"make distcheck".  It will take a while to run because it does a lot of stuff:
  1) Generate a moab tarball by doing "make dist"
  2) Unpack the tarball in a temporary location
  3) Create a separate temporary build directory
  4) Run configure in the build directory using the unpacked source
  5) Record the contents of the build directory post-configure
  6) Run make in the build directory
  7) Run make check in the build directory
  8) Run make clean in the build directory
  9) Compare the contents of the build directory to those from 5)
  10) Clean up temporary directories

Basically, it tries to verify that the tarball generated by "make dist"
includes all the required files to build and test, and that make clean works.

- jason


On 04/20/2011 09:12 AM, Iulian Grindeanu wrote:
> Hi Jason,
> I realized I am leaving some test files in MeshFiles/unittest folder.
> Are they treated differently? ( I didn't see a make distclean error due to that; I think the file in question is PB_new.h5m)
> 
> Should I add them to the Makefile.am there or not?
> 
> Also, another question is how to remove a file after a test is done?
> 
> Is there a way to do it in Makefile.am? (so right after make check?)
> 
> 
> Thanks,
> Iulian
> 
> ----- Original Message -----
>> On 04/20/2011 12:27 AM, moab-dev at mcs.anl.gov wrote:
>>>
>>>   Fathom <http://gnep.mcs.anl.gov:8010/>: moab-distcheck
>>>   <http://gnep.mcs.anl.gov:8010/builders/moab-distcheck> build #476
>>>   <http://gnep.mcs.anl.gov:8010/builders/moab-distcheck/builds/476>
>>>
>>> *Results:* failed compile
>>> *Buildslave:* gnep
>>> *Revision:* None
>>> *Reason:* The Nightly scheduler named 'nightly' triggered this build
>>>
>>>
>>>     Log Excerpt
>> ...
>>
>>> ERROR: files left in build directory after distclean:
>>> ./test/output.h5m
>>>
>>
>> Iulian,
>>
>> I'm guessing that this was due to your changes as you were the last
>> person
>> to check in testing code to MOAB. Apologies if I'm mistaken in that
>> assumption.
>>
>> This error is because the automake expects (rightly) that 'make clean'
>> will
>> clean up all files generated by building and testing, including any
>> output
>> files generated by tests. If you don't expect to be looking at this
>> output
>> file much in the future (e.g. you're writing the file so you can check
>> that
>> it was written correctly by reading it back in), then the best
>> solution is
>> probably to call remove(filename) before your test exits. If that is
>> not
>> acceptable, then the other solution is to add the file name to the
>> MOSTLYCLEANFILES variable in the Makefile.am.
>>
>> - jason


-- 
"A foolish consistency is the hobgoblin of little minds" - Ralph Waldo Emerson



More information about the moab-dev mailing list