summaryrefslogtreecommitdiff
path: root/mesontest.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-07-17 18:39:36 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2017-08-02 22:01:13 +0300
commit20b57d6e1560d0eb6d9dfc455de41b8352bcb39f (patch)
tree614105ec8217fc2e0cbbfb6adbd98b654387eb84 /mesontest.py
parent59a35c4c53bb5f3b6b787d12767d8128e8d0fa3b (diff)
downloadmeson-20b57d6e1560d0eb6d9dfc455de41b8352bcb39f.tar.gz
Write deprecation warnings to stderr.
Diffstat (limited to 'mesontest.py')
-rwxr-xr-xmesontest.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/mesontest.py b/mesontest.py
index e0ba7c20e..c2d39d69a 100755
--- a/mesontest.py
+++ b/mesontest.py
@@ -16,9 +16,10 @@
# A tool to run tests in many different ways.
-from mesonbuild import mesonmain, mlog
+from mesonbuild import mesonmain
import sys
if __name__ == '__main__':
- mlog.warning('This executable is deprecated, use "meson test" instead.')
+ print('Warning: This executable is deprecated. Use "meson test" instead.',
+ file=sys.stderr)
sys.exit(mesonmain.run(['test'] + sys.argv[1:]))