summaryrefslogtreecommitdiff
path: root/unittests/platformagnostictests.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2023-01-29 21:28:12 -0500
committerEli Schwartz <eschwartz@archlinux.org>2023-06-26 13:10:33 -0400
commit5849979afaed8c8abd95cbe0226fe7bb97d6e62e (patch)
treefcff5ad9513d88649a80d23c78720c08c97db778 /unittests/platformagnostictests.py
parentb8b2d87567af8e7f556e290c3585e7ac462679b6 (diff)
downloadmeson-5849979afaed8c8abd95cbe0226fe7bb97d6e62e.tar.gz
stop importing cmake when it isn't used
We don't need a CMakeInterpreter until and unless we actually attempt to use a cmake subproject via the cmake module. Minus 10 files and 3679 lines of code imported at startup.
Diffstat (limited to 'unittests/platformagnostictests.py')
-rw-r--r--unittests/platformagnostictests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/platformagnostictests.py b/unittests/platformagnostictests.py
index 94ddec0b9..2647684d2 100644
--- a/unittests/platformagnostictests.py
+++ b/unittests/platformagnostictests.py
@@ -253,4 +253,4 @@ class PlatformAgnosticTests(BasePlatformTests):
expected = json.load(f)['meson']['modules']
self.assertEqual(data['modules'], expected)
- self.assertEqual(data['count'], 81)
+ self.assertEqual(data['count'], 71)