tanakh/waf-unittest — pull request #2 by kmaehashi (2012-09-19 08:36:02+00:00)
Title: fix race condition when running tests concurrently

A routine copied from `waf_unit_test.py` has a race condition when running tests simultaneously (e.g., `./waf -j 10`).
The part where caching environment variables for unittests (including `LD_LIBRARY_PATH`) is thread-unsafe, as reported [here](https://code.google.com/p/waf/issues/detail?id=1200).