| 1234567891011121314151617181920212223242526272829303132333435363738394041 | <sect1 id="ch-prepare-abouttestsuites"><title>About the test suites</title><?dbhtml filename="abouttestsuites.html" dir="chapter02"?><para>Most packages provide a test suite. Running the test suite for a newlybuilt package is generally a good idea, as it can provide a nice sanity checkthat everything compiled correctly. A test suite that passes its set of checksusually proves that the package is functioning mostly as the developerintended. It does not, however, guarantee that the package is totally bugfree.</para><para>Some test suites are more important than others. For example, the testsuites for the core toolchain packages -- GCC, Binutils, and Glibc (the Clibrary) -- are of the utmost importance due to their central role in aproperly functioning system. But be warned, the test suites for GCC and Glibccan take a very long time to complete, especially on slower hardware.</para><para>Experience has shown us that there is little to be gained from runningthe test suites in <xref linkend="chapter-temporary-tools"/>. There can be no escaping thefact that the host system always exerts influence on the tests in that chapter,often causing weird and inexplicable failures. Not only that, the tools builtin <xref linkend="chapter-temporary-tools"/> are temporary and eventually discarded. For theaverage reader of this book we recommend <emphasis>not</emphasis> to run thetest suites in <xref linkend="chapter-temporary-tools"/>. The instructions for running thosetest suites are still provided for the benefit of testers and developers, butthey are strictly optional for everyone else.</para><para>As you progress through the book and encounter the commands to run thevarious test suites, we'll guide you on the relative importance of the testsuite in question, so that you can decide for yourself whether to run that oneor not.</para><note><para>A common problem when running the test suites for Binutils and GCCis running out of pseudo terminals (PTYs for short). The symptom is anunusually high number of failing tests. This can happen for a number ofreasons. Most likely is that the host system doesn't have the<emphasis>devpts</emphasis> file system set up correctly. We'll discuss this inmore detail later on in <xref linkend="chapter-temporary-tools"/>.</para></note></sect1>
 |