mozilla

Revision 78829 of Makefiles - Best practices and suggestions

  • Revision slug: How_Mozilla's_build_system_works/Makefiles_-_Best_practices_and_suggestions
  • Revision title: Makefiles - Best practices and suggestions
  • Revision id: 78829
  • Created:
  • Creator: Joey Armstrong
  • Is current revision? No
  • Comment 17 words added

Revision Content

Wrapper check/unit tests with a ENABLE_TESTS conditional so tests can be disabled on demand.

> > > +ifdef ENABLE_TESTS 
> > > + ifeq ($(NULL),$(filter WINNT OS2,$(OS_ARCH)))
 > > > + DIRS += test
> > > + endif # WIN
> > > +endif # ENABLE_TESTS > >

Revision Source

<p>Wrapper check/unit tests with a ENABLE_TESTS conditional so tests can be disabled on demand. </p>
<pre class="bz_comment_text" id="comment_text_6"><span class="quote">&gt; &gt; &gt; +ifdef ENABLE_TESTS <br>&gt; &gt; &gt; +  ifeq ($(NULL),$(filter WINNT OS2,$(OS_ARCH)))<br> &gt; &gt; &gt; +    DIRS += test <br>&gt; &gt; &gt; +  endif # WIN<br>&gt; &gt; &gt; +endif # ENABLE_TESTS &gt; &gt; </span>
</pre>
Revert to this revision