Performance test port to Windows
This patch allows the module test_perf.py to be run on Windows. It contains fixes primarily accounting for differences in the implementation of the multiprocessing module among platforms.
This commit is contained in:
1 parent
f62462d5f8
commit
805cea0a0b
2 files changed
+17
-8
No files matched your search
+4
-1
@@ -51,7 +51,10 @@ def _prep_bins():
|
||||
return # there are no prebuilts for this platform - nothing to do
|
||||
files = map(lambda x: path.join(prebuilt_path, x), config["FILES"])
|
||||
for prebuilt_file in files:
|
||||
copy(path.join(prebuilt_path, prebuilt_file), package_root)
|
||||
try:
|
||||
copy(path.join(prebuilt_path, prebuilt_file), package_root)
|
||||
except IOError:
|
||||
pass
|
||||
|
||||
_prep_bins() # prepare before module imports
|
||||
|
||||
|
||||
Reference in new issue
Block a user