2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 18:07:12 +01:00

stupid race condition, issue #1200

This commit is contained in:
Thomas Nagy 2012-09-19 08:11:42 +02:00
parent cc048dc574
commit 57afd10abc

View File

@ -81,7 +81,6 @@ class utest(Task.Task):
fu = getattr(self.generator.bld, 'all_test_paths')
except AttributeError:
fu = os.environ.copy()
self.generator.bld.all_test_paths = fu
lst = []
for g in self.generator.bld.groups:
@ -99,6 +98,7 @@ class utest(Task.Task):
add_path(fu, lst, 'LD_LIBRARY_PATH')
else:
add_path(fu, lst, 'LD_LIBRARY_PATH')
self.generator.bld.all_test_paths = fu
cwd = getattr(self.generator, 'ut_cwd', '') or self.inputs[0].parent.abspath()