restore test
This commit is contained in:
parent
ec90c0ce38
commit
0bf578eeba
@ -5,6 +5,3 @@ name: example
|
|||||||
source: https://github.com/scisoft/autocmake/raw/master/modules/UseCXX.cmake
|
source: https://github.com/scisoft/autocmake/raw/master/modules/UseCXX.cmake
|
||||||
docopt: --cxx=<CXX> C++ compiler [default: g++].
|
docopt: --cxx=<CXX> C++ compiler [default: g++].
|
||||||
export: 'CXX=%s' % arguments['--cxx']
|
export: 'CXX=%s' % arguments['--cxx']
|
||||||
|
|
||||||
[custom]
|
|
||||||
source: custom/custom.cmake
|
|
||||||
|
@ -22,5 +22,5 @@ def test_cxx():
|
|||||||
stdout, stderr = exe('python setup.py --cxx=g++')
|
stdout, stderr = exe('python setup.py --cxx=g++')
|
||||||
os.chdir(os.path.join(HERE, 'cxx', 'build'))
|
os.chdir(os.path.join(HERE, 'cxx', 'build'))
|
||||||
stdout, stderr = exe('make')
|
stdout, stderr = exe('make')
|
||||||
stdout, stderr = exe('./example')
|
stdout, stderr = exe('./bin/example')
|
||||||
assert 'Hello World!' in stdout
|
assert 'Hello World!' in stdout
|
||||||
|
Loading…
x
Reference in New Issue
Block a user