use for loop for coverage generation

Dustin showed me the script that I was too lazy to google for...

    https://github.com/couchbaselabs/tuqtng/commit/f60f5b98841178c3c9f7a4f6bda6c34139a53dc1#commitcomment-3754440