From 342e83cf461b7db9d1a4f1da386ee3fe1dd0e322 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Tue, 17 May 2022 19:24:27 -0400 Subject: Weird hack to improve unit test speed on Linux --- suite/testcommon.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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") -- cgit v1.3.1