diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2024-05-22 23:59:02 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2024-05-22 23:59:02 +0300 |
commit | 52c9b254bdae9abc244a4f081cf902b5b30e5867 (patch) | |
tree | 4d0293a9b3b927b57d9129ae87460a961f898b64 /unittests/datatests.py | |
parent | aa9b7b9445ad5bf0948cadac86109ba40e193424 (diff) | |
download | meson-optionshuffle.zip meson-optionshuffle.tar.gz meson-optionshuffle.tar.bz2 |
Refactor option classes to their own file.optionshuffle
Diffstat (limited to 'unittests/datatests.py')
-rw-r--r-- | unittests/datatests.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/unittests/datatests.py b/unittests/datatests.py index b14bbac..19664e3 100644 --- a/unittests/datatests.py +++ b/unittests/datatests.py @@ -14,6 +14,7 @@ import mesonbuild.dependencies.factory import mesonbuild.envconfig import mesonbuild.environment import mesonbuild.coredata +import mesonbuild.options import mesonbuild.modules.gnome from mesonbuild.interpreter import Interpreter from mesonbuild.ast import AstInterpreter @@ -139,8 +140,8 @@ class DataTests(unittest.TestCase): found_entries |= options self.assertEqual(found_entries, { - *(str(k.evolve(module=None)) for k in mesonbuild.coredata.BUILTIN_OPTIONS), - *(str(k.evolve(module=None)) for k in mesonbuild.coredata.BUILTIN_OPTIONS_PER_MACHINE), + *(str(k.evolve(module=None)) for k in mesonbuild.options.BUILTIN_OPTIONS), + *(str(k.evolve(module=None)) for k in mesonbuild.options.BUILTIN_OPTIONS_PER_MACHINE), }) # Check that `buildtype` table inside `Core options` matches how |