test automatic config specification

This commit is contained in:
Radovan Bast
2015-07-17 16:21:50 +02:00
parent 66db064fa6
commit a2e1e243db
4 changed files with 29 additions and 0 deletions

View File

@ -114,6 +114,13 @@ def test_cxx():
# ------------------------------------------------------------------------------
def test_cxx_auto():
stdout, stderr = configure_build_and_exe('cxx_auto', 'python setup.py --cxx=g++')
assert 'Hello World!' in stdout
# ------------------------------------------------------------------------------
def test_fc():
stdout, stderr = configure_build_and_exe('fc', 'python setup.py --fc=gfortran')
assert 'Hello World!' in stdout