This should work from an out of tree build:
./test/functional/test_runner.py
../test/functional/rpc_uptime.py --configfile=test/config.ini
These should throw a FileNotFoundErrorException:
BITCOINCLI=fakepath ./test/functional/test_runner.py rpc_uptime
BITCOIND=fakepath ./test/functional/test_runner.py rpc_uptime
Due to other issues from our `test_runner.py` file this diff is not
enough to let you run functional tests under windows.