diff options
author | David Bradford <david.bradford@mongodb.com> | 2019-07-20 10:27:29 -0400 |
---|---|---|
committer | David Bradford <david.bradford@mongodb.com> | 2019-07-20 10:27:29 -0400 |
commit | 92e0fd23cdedbfac369172b931f67964cea531fa (patch) | |
tree | d3ce539ef84577fd161a4f8c08ac6dd9ff3aa236 /buildscripts/ciconfig | |
parent | e3207d3da61af8c132f299c2d7bdd01c9b5433ba (diff) | |
download | mongo-92e0fd23cdedbfac369172b931f67964cea531fa.tar.gz |
SERVER-42276: Use click for burn_in_tests
Diffstat (limited to 'buildscripts/ciconfig')
-rw-r--r-- | buildscripts/ciconfig/evergreen.py | 8 |
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. |