Can run first test case in OSX.

pull/15/head
Jussi Pakkanen 12 years ago
parent 5d2f6b2a6e
commit 7b2caafd49
  1. 2
      environment.py
  2. 2
      meson_test.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) + '"')

@ -1,4 +1,4 @@
#!/usr/bin/python3 -tt
#!/usr/bin/env python3 -tt
# Copyright 2013 Jussi Pakkanen

Loading…
Cancel
Save