]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - gw-tests/tests.py
Merge branch 'master' of ssh://rtime.felk.cvut.cz/can-benchmark
[can-benchmark.git] / gw-tests / tests.py
index a06a1ae683dd30bfc5c82a6602968d6eb2b1d854..cc5cd30b60f36ccf1af7a3cbdc26bd311531a45b 100644 (file)
@@ -1,3 +1,9 @@
+"""
+This file contains and defines tests for use in rtems_bench.
+
+Any new tests should be added to module variable tests to be seen by the bench.
+"""
+
 import lib
 
 
@@ -8,7 +14,7 @@ class Test:
         self.has_image = has_image
 
     def run(self):
-        self.func(self)
+        self.func(self) #
 
 def nop(self):
     print(self.name)
@@ -18,6 +24,7 @@ def nop(self):
 
 
 def nop_time(self):
+    print(self.name)
     lib.symlink_results(lib.original_name_from_histogram_name(self.name))
     lib.create_plot_script()