This is an archive of the discontinued LLVM Phabricator instance.

Fix dosep.py on windows after r240946
ClosedPublic

Authored by labath on Jul 2 2015, 5:57 AM.

Details

Summary

On windows, global python variables are not automatically passed to child processes. This commit
makes sure the default timeout value is available to child processes by passing it directly.
I pass the whole dotest_opts value to the children, so we can use the other members as well if we
need to do it in the future.

Diff Detail

Repository
rL LLVM

Event Timeline

labath updated this revision to Diff 28942.Jul 2 2015, 5:57 AM
labath retitled this revision from to Fix dosep.py on windows after r240946.
labath updated this object.
labath added a reviewer: amccarth.
labath added a subscriber: lldb-commits.
amccarth accepted this revision.Jul 6 2015, 8:35 AM
amccarth edited edge metadata.

Looks good.

test/dosep.py
72 ↗(On Diff #28942)

Technically should be set_up_global_variables, but this is such a frequent error that setup is probably more consistent.

This revision is now accepted and ready to land.Jul 6 2015, 8:35 AM
This revision was automatically updated to reflect the committed changes.