-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for when a program which uses multiprocessing has been fr…
…ozen to produce a Windows executable
- Loading branch information
1 parent
c925a64
commit 95d59cb
Showing
1 changed file
with
2 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ | |
Author: Przemyslaw Wirkus <[email protected]> | ||
""" | ||
|
||
from multiprocessing import freeze_support | ||
from mbed_host_tests import init_host_test_cli_params | ||
from mbed_host_tests.host_tests_runner.host_test_default import DefaultTestSelector | ||
|
||
|
@@ -26,6 +27,7 @@ def main(): | |
@details 1. Create DefaultTestSelector object and pass command line parameters | ||
2. Call default test execution function run() to start test instrumentation | ||
""" | ||
freeze_support() | ||
result = -2 | ||
test_selector = DefaultTestSelector(init_host_test_cli_params()) | ||
try: | ||
|