| 1234567891011121314151617181920212223242526272829303132 | <sect1 id="ch02-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 ofchecks usually 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 period of time to complete, especially on slowerhardware.</para><para>As you progress through the book and encounter the build commands torun the various test suites, we'll guide you on the relative importance ofthe test suite in question so that you can decide for yourself whether torun it or 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 an unusuallyhigh number of failing tests. This can happen for any number of reasons. Mostlikely is that the host system doesn't have the <emphasis>devpts</emphasis> filesystem set up correctly. We'll discuss this in more detail later on in Chapter5.</para></note></sect1>
 |