0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-29 16:47:28 +01:00

SERVER-47818 Repair test execution aliases in hygienic mode

This commit is contained in:
Andrew Morrow 2020-04-28 14:25:40 -04:00 committed by Evergreen Agent
parent 609270bc42
commit 0b50b48a2b

View File

@ -24,11 +24,10 @@ import os
def generate_test_execution_aliases(env, test):
hygienic = env.GetOption("install-mode") == "hygienic"
if hygienic and getattr(test.attributes, "AIB_INSTALL_ACTIONS", []):
installed = getattr(test.attributes, "AIB_INSTALL_ACTIONS")
else:
installed = [test]
installed = [test]
if env.get("AUTO_INSTALL_ENABLED", False) and env.GetAutoInstalledFiles(test):
installed = env.GetAutoInstalledFiles(test)
target_name = os.path.basename(installed[0].get_path())
command = env.Command(