aboutsummaryrefslogtreecommitdiff
path: root/environment.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-11-05 00:29:39 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2013-11-05 00:29:39 +0200
commit337b14e6029d9a68398b5170ebd992f59e5aeeb0 (patch)
tree7f2077165186a787a25e86a3b469e8b0eb9f47b8 /environment.py
parentbcdb84fcbe31b9dff686794b1cabaff0e95a5e91 (diff)
downloadmeson-337b14e6029d9a68398b5170ebd992f59e5aeeb0.zip
meson-337b14e6029d9a68398b5170ebd992f59e5aeeb0.tar.gz
meson-337b14e6029d9a68398b5170ebd992f59e5aeeb0.tar.bz2
Some test tuning.
Diffstat (limited to 'environment.py')
-rw-r--r--environment.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/environment.py b/environment.py
index cbf9352..84768f1 100644
--- a/environment.py
+++ b/environment.py
@@ -733,6 +733,9 @@ def find_cppcheck():
def is_osx():
return platform.system().lower() == 'darwin'
+def is_linux():
+ return platform.system().lower() == 'linux'
+
def is_windows():
return platform.system().lower() == 'windows'