cxx-qt icon indicating copy to clipboard operation
cxx-qt copied to clipboard

Enable verbose ctest output

Open LeonMatthesKDAB opened this issue 1 year ago • 3 comments

This could help investigate why CTest is slow on Windows

LeonMatthesKDAB avatar Jan 24 '24 11:01 LeonMatthesKDAB

So it seems the issue with Windows is indeed that building before cargo test takes around 6 min. This is very strange, as the build with CMake just takes 2 min. So why does building from within ctest all of a sudden take three times as long? It almost seems as if compiler caching isn't working there anymore?

LeonMatthesKDAB avatar Jan 24 '24 11:01 LeonMatthesKDAB

So it seems the issue with Windows is indeed that building before cargo test takes around 6 min. This is very strange, as the build with CMake just takes 2 min. So why does building from within ctest all of a sudden take three times as long? It almost seems as if compiler caching isn't working there anymore?

Are we hitting that cargo and cmake build into different directories so then you get duplicated /target folders and therefore it needs to build everything again ? (I have this problem locally sometimes)

ahayzen-kdab avatar Jan 31 '24 01:01 ahayzen-kdab

@LeonMatthesKDAB do you still need this ? or can it be closed ?

ahayzen-kdab avatar Apr 18 '24 15:04 ahayzen-kdab