aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2021-05-08 20:21:04 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2021-05-13 11:03:10 +0300
commit0b2a7300c039e30d3a7430d6f77dc204876eac4b (patch)
tree8bb98754ec9535e81ca2f5dec7cec0c5ebf2a14d /run_tests.py
parent204abd0e859debe93b95d53b59e7f4038d2d0354 (diff)
downloadmeson-0b2a7300c039e30d3a7430d6f77dc204876eac4b.zip
meson-0b2a7300c039e30d3a7430d6f77dc204876eac4b.tar.gz
meson-0b2a7300c039e30d3a7430d6f77dc204876eac4b.tar.bz2
Set up VS environment automatically when run.
Diffstat (limited to 'run_tests.py')
-rwxr-xr-xrun_tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/run_tests.py b/run_tests.py
index 1d755a8..7d9a9e4 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
-# Copyright 2012-2017 The Meson development team
+# Copyright 2012-2021 The Meson development team
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -395,5 +395,6 @@ def main():
return returncode
if __name__ == '__main__':
+ mesonmain.setup_vsenv()
print('Meson build system', meson_version, 'Project and Unit Tests')
raise SystemExit(main())