Difference between revisions of "FAQ:Compiling 08"

From Net-SNMP Wiki
Jump to: navigation, search
(Move FAQ text to a template page & 5.4 release synchronisation)
m (Latest FAQ revision - preparing for 5.5 release)
 
Line 1: Line 1:
= Why does 'make test' skip five tests? =  
+
= Why does 'make test' skip various tests? =  
  
 
<!-- NB:
 
<!-- NB:

Latest revision as of 16:15, 19 July 2009

Why does 'make test' skip various tests?

Some of the tests are only relevant to particular operating systems, or rely on specific areas of functionality. The test framework will check whether the relevant elements are available before running the relevant tests, and will skip them if these modules have been omitted from the build environment (or do not apply to the current system).

One example of this are the tests T053agentv1trap, T054agentv2ctrap, T055agentv1mintrap, T056agentv2cmintrap and T113agentxtrap, which rely upon functionality from the NET-SNMP-EXAMPLES-MIB implementation. This module is not included in the default agent configuration, so the test framework will skip these tests.
To include them, run

       configure --with-mib-modules=examples/example

and re-compile.

   FAQ:Compiling
   
  1. How do I control the environment used to compile the software?
  2. How do I control the environment used to compile the software under Windows?
  3. Why does the compilation complain about missing libraries?
  4. How can I reduce the memory footprint?
  5. How can I reduce the installation footprint or speed up compilation?
  6. How can I compile the project for use on an embedded system?
  7. How can I compile the project to use static linking?
  8. Why does 'make test' skip various tests?
  9. Why does 'make test' complain about a pid file?