README-PLUGINS 837 B

123456789101112131415161718192021222324252627
  1. tdc.py will look for plugins in a directory plugins off the cwd.
  2. Make a set of numbered symbolic links from there to the actual plugins.
  3. Eg:
  4. tdc.py
  5. plugin-lib/
  6. plugins/
  7. __init__.py
  8. 10-rootPlugin.py -> ../plugin-lib/rootPlugin.py
  9. 20-valgrindPlugin.py -> ../plugin-lib/valgrindPlugin.py
  10. 30-nsPlugin.py -> ../plugin-lib/nsPlugin.py
  11. tdc.py will find them and use them.
  12. rootPlugin
  13. Check if the uid is root. If not, bail out.
  14. valgrindPlugin
  15. Run the command under test with valgrind, and produce an extra set of TAP results for the memory tests.
  16. This plugin will write files to the cwd, called vgnd-xxx.log. These will contain
  17. the valgrind output for test xxx. Any file matching the glob 'vgnd-*.log' will be
  18. deleted at the end of the run.
  19. nsPlugin
  20. Run all the commands in a network namespace.