aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers.py
diff options
context:
space:
mode:
authorMatthias Klumpp <matthias@tenstral.net>2016-08-21 01:41:14 +0200
committerMatthias Klumpp <matthias@tenstral.net>2016-08-21 01:41:14 +0200
commit309f7a1b4a7179f44f53b75736b7cd6030f9f40d (patch)
treebe3ee04cac7c98281ac118c39c825e8d1a49095a /mesonbuild/compilers.py
parent12a01c26f3ea32d21e6632e8001b93deb8097fb6 (diff)
downloadmeson-309f7a1b4a7179f44f53b75736b7cd6030f9f40d.zip
meson-309f7a1b4a7179f44f53b75736b7cd6030f9f40d.tar.gz
meson-309f7a1b4a7179f44f53b75736b7cd6030f9f40d.tar.bz2
interpreter: Rename get_unittest_flag() to unittest_args()
Diffstat (limited to 'mesonbuild/compilers.py')
-rw-r--r--mesonbuild/compilers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/compilers.py b/mesonbuild/compilers.py
index f3ea766..a68a0f9 100644
--- a/mesonbuild/compilers.py
+++ b/mesonbuild/compilers.py
@@ -1505,7 +1505,7 @@ class DCompiler(Compiler):
def get_soname_args(self, shlib_name, path, soversion):
return []
- def get_unittest_flag(self):
+ def get_unittest_args(self):
return ['-unittest']
def get_buildtype_linker_args(self, buildtype):
@@ -1587,7 +1587,7 @@ class GnuDCompiler(DCompiler):
def build_rpath_args(self, build_dir, rpath_paths, install_rpath):
return build_unix_rpath_args(build_dir, rpath_paths, install_rpath)
- def get_unittest_flag(self):
+ def get_unittest_args(self):
return ['-funittest']
class LLVMDCompiler(DCompiler):