diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-04-30 13:54:46 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2020-04-30 13:54:46 -0700 |
commit | 28e3ce67ae49494d57372f27b6f91580656f77a7 (patch) | |
tree | 3778926f78aa5ab5d05c833b9f1ea18127227641 /mesonbuild/mintro.py | |
parent | c2a4474b582fb98bd81c0babd1056eeb51d0f1ce (diff) | |
download | meson-28e3ce67ae49494d57372f27b6f91580656f77a7.zip meson-28e3ce67ae49494d57372f27b6f91580656f77a7.tar.gz meson-28e3ce67ae49494d57372f27b6f91580656f77a7.tar.bz2 |
Convert test protocol into an enum
This gives us better type safety, and will be important as we add more
test methods
Diffstat (limited to 'mesonbuild/mintro.py')
-rw-r--r-- | mesonbuild/mintro.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mintro.py b/mesonbuild/mintro.py index d5516d4..54e302b 100644 --- a/mesonbuild/mintro.py +++ b/mesonbuild/mintro.py @@ -328,7 +328,7 @@ def get_test_list(testdata) -> T.List[T.Dict[str, T.Union[str, int, T.List[str], to['suite'] = t.suite to['is_parallel'] = t.is_parallel to['priority'] = t.priority - to['protocol'] = t.protocol + to['protocol'] = str(t.protocol) result.append(to) return result |