Closed bongbui321 closed 8 months ago
How is this supposed to work? From what I understand, cppcheck will only use the cache if nothing changed?
Are you not sure of how this work or you don't like it?
I changed the way how we created tempdir so that the directory used for each mutation is the same everytime, and each mutation has its own cache
The reason each mutation was not caching before was because we use tempDirectory()
which generates random directory name everytime, which doesn't match with the last time it was cached. Now each mutation will have constant directory name and has its own cache
Ah, so this just caches each patch between consecutive runs?
Now mutation test can cache from ~45s to ~10s, replace
tempDirectory()
so that we can name the directory ourselves