0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +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]
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(