I am currently trying to provide a unit test for rapmap (closing bug n.
879616). The test until now, is just :
'pkg="rapmap"
ln -s ~/spdlog/include/spdlog/ ~/${pkg}/include
if [ "$AUTOPKGTEST_TMP" = "" ] ; then
AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM
fi
cp -a ${pkg}/* $AUTOPKGTEST_TMP
rapmap quasiindex -t transcripts.fasta -i sample_quasi_index'
However, the build fails giving me the error :
'In file included from /tmp/autopkgtest.LNHf4Z/build.kpG/real-tree/src/RapMapIndexer.cpp:45:0:
/tmp/autopkgtest.LNHf4Z/build.kpG/real-tree/include/RapMapUtils.hpp:34:29: fatal error: spdlog/fmt/ostr.h: No such file or directory
compilation terminated.
src/CMakeFiles/rapmap.dir/build.make:89: recipe for target 'src/CMakeFiles/rapmap.dir/RapMapIndexer.cpp.o' failed
make[4]: *** [src/CMakeFiles/rapmap.dir/RapMapIndexer.cpp.o] Error 1'
When i manually include a symbolic link to the file as
ln -s ~/spdlog/include/spdlog/ ~/$rapmap/include
the build succeeds
However , when i include that line in the autopkgtest it fails. I have read that it is not possible to include symbolic links in an autopkgtest? I will keep searching for a solution to this, but any helpful hint would be appreciated :)
Thank you all again!!
Kate