aboutsummaryrefslogtreecommitdiff
path: root/mesontest.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2018-03-11 20:25:05 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2018-03-14 00:20:00 +0200
commit24ae120868fa00f6b6866bcc80e8f3d13203fe89 (patch)
tree51430115538016e365139d7c0078d98ba7638dd8 /mesontest.py
parent9ecb75670f1a0c3a79c19d057c848323f85639a7 (diff)
downloadmeson-24ae120868fa00f6b6866bcc80e8f3d13203fe89.zip
meson-24ae120868fa00f6b6866bcc80e8f3d13203fe89.tar.gz
meson-24ae120868fa00f6b6866bcc80e8f3d13203fe89.tar.bz2
Turn deprecated commands into errors.
Diffstat (limited to 'mesontest.py')
-rwxr-xr-xmesontest.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/mesontest.py b/mesontest.py
index c2d39d6..e973d56 100755
--- a/mesontest.py
+++ b/mesontest.py
@@ -16,10 +16,7 @@
# A tool to run tests in many different ways.
-from mesonbuild import mesonmain
import sys
if __name__ == '__main__':
- print('Warning: This executable is deprecated. Use "meson test" instead.',
- file=sys.stderr)
- sys.exit(mesonmain.run(['test'] + sys.argv[1:]))
+ sys.exit('Error: This executable is no more. Use "meson test" instead.')