~arankine/distcc/issue16

Viewing all changes in revision 321.

  • Committer: fergus.henderson
  • Date: 2010-09-10 22:09:18 UTC
  • Revision ID: svn-v4:01de4be4-8c4a-0410-9132-4925637da917:trunk:730

Fix failures of the Gdb_* test cases:

  1. These tests were failing if you have anything in your ~/.gdbinit
     file that causes gdb to issue an error message.  The fix here is
     to create an empty .gdbinit in the test directory; gdb will
     read that one in preference to the one in $HOME.

  2. These tests were failing due to a new spurious warning from gdb.

  3. There were a bug in the code for the Gdb_Case test which previously
     caused part of the test to be executed only in pump mode.  When
     invoking gcc to check whether preprocessing preserves the pwd info,
     the command line had not been updated to reflect the fact that this
     command is run in a subdirectory; as a consequence,
     gcc_preprocessing_preserves_pwd was always set to false.

Reviewed by Craig Silverstein.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: