In this PR: #29535 it was noticed that the functional test runner was skipping running the tests with the message of Test '' not found in full test list
I believe that this was caused by Powershell passing a blank TEST_RUNNER_EXTRA
environment variable as an empty flag to the test_runner.py
script which then tries to find a test to run with a blank name.
This PR switches the functional tests back to using Powershell but instead of passing an empty argument, constructs a command string and then executes that command. It also prints the powershell version to help diagnose any issues in the future (not that this issue was related to powershell version).
I believe it’s best to switch back to powershell rather than stick with cmd, even though it currently works, as this is what I would expect the majority of users and windows developers would use.
Some extra notes:
- Run with
--extended takes
~ 28 minutes - Run without
--extended takes
~ 15 minutes - The mac job appears to never run with
--extended