ctest should be able to generate tests for functions that make use of varidics. See https://github.com/JohnTitor/ctest2/issues/58 for context.