scripts/unit-test.py: Support meson.options file

We are now using the new name supported in meson 1.1+ and we need to
parse the options at the new location if it exists.

Change-Id: If07230911b5b3bccd7792ec5dd3e3fd4bf40aef2
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/scripts/unit-test.py b/scripts/unit-test.py
index 1e8eef8..9368b38 100755
--- a/scripts/unit-test.py
+++ b/scripts/unit-test.py
@@ -898,7 +898,9 @@
     def configure(self, build_for_testing):
         self.build_for_testing = build_for_testing
         meson_options = {}
-        if os.path.exists("meson_options.txt"):
+        if os.path.exists("meson.options"):
+            meson_options = self._parse_options("meson.options")
+        elif os.path.exists("meson_options.txt"):
             meson_options = self._parse_options("meson_options.txt")
         meson_flags = [
             "-Db_colorout=never",