summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRusty Wagner <rusty.wagner@gmail.com>2022-05-17 19:24:27 -0400
committerRusty Wagner <rusty.wagner@gmail.com>2022-05-17 19:24:27 -0400
commit342e83cf461b7db9d1a4f1da386ee3fe1dd0e322 (patch)
tree66af83930e66fdd7e2c70b27995f41ce142bdd0b
parent20612a39c6e96159ca375b8f1cfd06b38c85126b (diff)
Weird hack to improve unit test speed on Linux
-rw-r--r--suite/testcommon.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/suite/testcommon.py b/suite/testcommon.py
index d8a591c4..3c9fc28e 100644
--- a/suite/testcommon.py
+++ b/suite/testcommon.py
@@ -1157,7 +1157,11 @@ class TestBuilder(Builder):
self.delete_package("type_xref.bndb")
return sorted(retinfo)
- def test_search(self):
+ # INSANE HACK AHEAD
+ # The name `test_all_search` is VERY special here. It reorders this test to
+ # before the binary tests. This is EXTREMELY important to the speed of the
+ # unit tests on Linux. No one knows why. There be dragons here.
+ def test_all_search(self):
"""Search"""
retinfo = []
file_name = self.unpackage_file("type_xref.bndb")