diff options
author | Martin Peres <martin.peres@linux.intel.com> | 2017-03-27 21:25:29 +0300 |
---|---|---|
committer | Martin Peres <martin.peres@linux.intel.com> | 2017-10-04 17:48:28 +0300 |
commit | c5b154023a713605d6d35af2b287c6ef4422e5d7 (patch) | |
tree | 54081bf43c620fb806b079a3e974cb365a8969ce | |
parent | 8ac4956f3b1ba0d2ade166ee10d6104eca880517 (diff) |
smartezbench: add a log message when queueing work
-rw-r--r-- | python-modules/ezbench/smartezbench.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python-modules/ezbench/smartezbench.py b/python-modules/ezbench/smartezbench.py index f2345c6..d47a7be 100644 --- a/python-modules/ezbench/smartezbench.py +++ b/python-modules/ezbench/smartezbench.py @@ -576,6 +576,8 @@ class SmartEzbench: def add_test(self, commit, test, rounds = None, user_requested=True): self.__reload_state(keep_lock=True) + source = "user" if user_requested else "machine" + self.__log(Criticality.II, "Add the {}-requested test {} ({} rounds)".format(source, test, rounds)) total_rounds = self.__add_test_unlocked__(commit, test, rounds) self.__save_state() self.__release_lock() |