aboutsummaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-xrun_project_tests.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index c9b7a8f..fcd856f 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -14,6 +14,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+# Work around some pathlib bugs...
+from mesonbuild import _pathlib
+import sys
+sys.modules['pathlib'] = _pathlib
+
from concurrent.futures import ProcessPoolExecutor, CancelledError
from enum import Enum
from io import StringIO
@@ -29,7 +34,6 @@ import shlex
import shutil
import signal
import subprocess
-import sys
import tempfile
import time
import typing as T