summaryrefslogtreecommitdiff
path: root/buildscripts/ciconfig
diff options
context:
space:
mode:
authorDavid Bradford <david.bradford@mongodb.com>2019-07-20 10:27:29 -0400
committerDavid Bradford <david.bradford@mongodb.com>2019-07-20 10:27:29 -0400
commit92e0fd23cdedbfac369172b931f67964cea531fa (patch)
treed3ce539ef84577fd161a4f8c08ac6dd9ff3aa236 /buildscripts/ciconfig
parente3207d3da61af8c132f299c2d7bdd01c9b5433ba (diff)
downloadmongo-92e0fd23cdedbfac369172b931f67964cea531fa.tar.gz
SERVER-42276: Use click for burn_in_tests
Diffstat (limited to 'buildscripts/ciconfig')
-rw-r--r--buildscripts/ciconfig/evergreen.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/buildscripts/ciconfig/evergreen.py b/buildscripts/ciconfig/evergreen.py
index 987e1b95a61..47cbd289b62 100644
--- a/buildscripts/ciconfig/evergreen.py
+++ b/buildscripts/ciconfig/evergreen.py
@@ -251,6 +251,10 @@ class Variant(object):
for task in self.tasks:
self.distro_names.update(task.run_on)
+ def __repr__(self):
+ """Create a string version of object for debugging."""
+ return self.name
+
@property
def name(self):
"""Get the build variant name."""
@@ -331,6 +335,10 @@ class VariantTask(Task):
self.run_on = run_on
self.variant = variant
+ def __repr__(self):
+ """Create a string representation of object for debugging."""
+ return f"{self.variant}: {self.name}"
+
@property
def combined_resmoke_args(self):
"""Get the combined resmoke arguments.