Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: migrate tests to Python3 by default #32685

Merged
merged 1 commit into from Aug 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions test/CMakeLists.txt
Expand Up @@ -351,7 +351,7 @@ _Block_release(void) { }\n")
endif()

execute_process(COMMAND
$<TARGET_FILE:Python2::Interpreter> "-c" "import psutil"
$<TARGET_FILE:Python3::Interpreter> "-c" "import psutil"
RESULT_VARIABLE python_psutil_status
TIMEOUT 1 # second
ERROR_QUIET)
Expand Down Expand Up @@ -415,7 +415,7 @@ _Block_release(void) { }\n")
${command_upload_swift_reflection_test}
${command_clean_test_results_dir}
COMMAND
$<TARGET_FILE:Python2::Interpreter> "${LIT}"
$<TARGET_FILE:Python3::Interpreter> "${LIT}"
${LIT_ARGS}
"--param" "swift_test_subset=${test_subset}"
"--param" "swift_test_mode=${test_mode}"
Expand All @@ -434,7 +434,7 @@ _Block_release(void) { }\n")
${command_upload_swift_reflection_test}
${command_clean_test_results_dir}
COMMAND
$<TARGET_FILE:Python2::Interpreter> "${LIT}"
$<TARGET_FILE:Python3::Interpreter> "${LIT}"
${LIT_ARGS}
"--param" "swift_test_subset=${test_subset}"
"--param" "swift_test_mode=${test_mode}"
Expand Down