From 7b2caafd493e76f8896b76281fc975eddd703237 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sun, 3 Mar 2013 13:29:13 +0200 Subject: Can run first test case in OSX. --- environment.py | 2 ++ meson_test.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/environment.py b/environment.py index 6169475f5..b757ba4a5 100755 --- a/environment.py +++ b/environment.py @@ -291,6 +291,8 @@ class Environment(): if (out.startswith('cc ') or out.startswith('gcc')) and \ 'Free Software Foundation' in out: return GnuCCompiler(exelist) + if 'apple' in out and 'Free Software Foundation' in out: + return GnuCCompiler(exelist) if (out.startswith('clang')): return ClangCCompiler(exelist) raise EnvironmentException('Unknown compiler "' + ' '.join(exelist) + '"') diff --git a/meson_test.py b/meson_test.py index 98927e4f1..c33563e45 100755 --- a/meson_test.py +++ b/meson_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 -tt +#!/usr/bin/env python3 -tt # Copyright 2013 Jussi Pakkanen -- cgit v1.2.3