diff --git a/test/cxx/cmake/autocmake.cfg b/test/cxx/cmake/autocmake.cfg index 555eb80..eac4647 100644 --- a/test/cxx/cmake/autocmake.cfg +++ b/test/cxx/cmake/autocmake.cfg @@ -5,6 +5,3 @@ name: example source: https://github.com/scisoft/autocmake/raw/master/modules/UseCXX.cmake docopt: --cxx= C++ compiler [default: g++]. export: 'CXX=%s' % arguments['--cxx'] - -[custom] -source: custom/custom.cmake diff --git a/test/cxx/cmake/custom/custom.cmake b/test/cxx/src/CMakeLists.txt similarity index 100% rename from test/cxx/cmake/custom/custom.cmake rename to test/cxx/src/CMakeLists.txt diff --git a/test/cxx/example.cpp b/test/cxx/src/example.cpp similarity index 100% rename from test/cxx/example.cpp rename to test/cxx/src/example.cpp diff --git a/test/test.py b/test/test.py index 31cc086..3107519 100644 --- a/test/test.py +++ b/test/test.py @@ -22,5 +22,5 @@ def test_cxx(): stdout, stderr = exe('python setup.py --cxx=g++') os.chdir(os.path.join(HERE, 'cxx', 'build')) stdout, stderr = exe('make') - stdout, stderr = exe('./example') + stdout, stderr = exe('./bin/example') assert 'Hello World!' in stdout