-
Notifications
You must be signed in to change notification settings - Fork 117
Closed
Labels
Description
I tried to use the new fixtures functionality for one the tests (MPI based) that uses cmake to build binaries. The cmake configuration failed with following error log:
The MPI test test_mpi for CXX in mode normal failed to compile with the following output:
Change Dir: /home/mpaipuri/work/ska-sdp-benchmark-tests/stage/grenoble-g5k/dahu-gcc-ompi-opa-umod/imaging-iotest-mkl/ImagingIOTestBuild~grenoble-g5k:dahu-gcc-ompi-opa-umod+imaging-iotest-mkl/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_4a403/fast && /usr/bin/make -f CMakeFiles/cmTC_4a403.dir/build.make CMakeFiles/cmTC_4a403.dir/build
make[1]: Entering directory '/home/mpaipuri/work/ska-sdp-benchmark-tests/stage/grenoble-g5k/dahu-gcc-ompi-opa-umod/imaging-iotest-mkl/ImagingIOTestBuild~grenoble-g5k:dahu-gcc-ompi-opa-umod+imaging-iotest-mkl/build/CMakeFiles/CMakeTmp'
CMakeFiles/cmTC_4a403.dir/build.make:76: *** target pattern contains no '%'. Stop.
make[1]: Leaving directory '/home/mpaipuri/work/ska-sdp-benchmark-tests/stage/grenoble-g5k/dahu-gcc-ompi-opa-umod/imaging-iotest-mkl/ImagingIOTestBuild~grenoble-g5k:dahu-gcc-ompi-opa-umod+imaging-iotest-mkl/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:127: cmTC_4a403/fast] Error 2
When I renamed the folders removing all the special characters injected by fixtures name mangling, I could build the binaries. This cmake issue sort of old but still relevant I suppose. I think the cmake source directory cannot handle any special regex expressions.