-
Committer:
mandyke at gmail
-
Date:
2013-05-27 08:10:06 UTC
-
Revision ID:
svn-v4:01de4be4-8c4a-0410-9132-4925637da917:trunk:781
Improve reliability of tests
* test/testdistcc.py: Remove stale and duplicate TODO items.
(_Touch): New function, acts like touch(1).
(Compile_c_Case): makeFile is not sufficient to reliably update
modification time on all systems (e.g. GNU/Hurd), so replace it with
calls to _Touch.
(Gdb_Case): Use _Touch.
(SyntaxError_Case): Look for pattern anywhere in the output using
re.search as warnings and other noise can be present.
* test/comfychair.py: Also set LC_ALL, which has a higher priority,
and make it so LANG and LC_ALL are set after saving the environment.
Clean up some stray import statements.