aboutsummaryrefslogtreecommitdiff
path: root/scripts/incremental_build/perf_metrics_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/incremental_build/perf_metrics_test.py')
-rw-r--r--scripts/incremental_build/perf_metrics_test.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/incremental_build/perf_metrics_test.py b/scripts/incremental_build/perf_metrics_test.py
index a25c4405..119bdc10 100644
--- a/scripts/incremental_build/perf_metrics_test.py
+++ b/scripts/incremental_build/perf_metrics_test.py
@@ -40,6 +40,7 @@ class PerfMetricsTest(unittest.TestCase):
Example(['ac', 'bd'], 'abcd'),
Example(['abe', 'cde'], 'abcde'),
Example(['ab', 'ba'], 'ab'),
+ Example(['abcde', 'edcba'], 'abcde'),
Example(['ac', 'abc'], 'abc')
]
for e in examples:
@@ -60,3 +61,7 @@ class PerfMetricsTest(unittest.TestCase):
with self.assertRaisesRegex(ValueError,
f'event ordering has a cycle {cycle}'):
_get_column_headers(rows, allow_cycles=False)
+
+
+if __name__ == '__main__':
+ unittest.main()