tools: In TAP format, make the duration a directive
tools: In TAP format, make the duration a directive

In the Test Anything Protocol directives such as SKIP or
duration should go after a '#' character.

Closes #7350
larsu/cockpit,harishanand95/cockpit,moraleslazaro/cockpit,michalskrivanek/cockpit,larsu/cockpit,SotolitoLabs/cockpit,SotolitoLabs/cockpit,mvollmer/cockpit,xhad/cockpit,xhad/cockpit,andreasn/cockpit,moraleslazaro/cockpit,petervo/cockpit,moraleslazaro/cockpit,mvollmer/cockpit,harishanand95/cockpit,andreasn/cockpit,deryni/cockpit,mareklibra/cockpit,harishanand95/cockpit,larskarlitski/cockpit,larskarlitski/cockpit,petervo/cockpit,martinpitt/cockpit,Scribery/cockpit,xhad/cockpit,deryni/cockpit,andreasn/cockpit,xhad/cockpit,andreasn/cockpit,mareklibra/cockpit,deryni/cockpit,xhad/cockpit,larskarlitski/cockpit,harishanand95/cockpit,michalskrivanek/cockpit,SotolitoLabs/cockpit,stefwalter/cockpit,garrett/cockpit,Scribery/cockpit,cockpituous/cockpit,larsu/cockpit,stefwalter/cockpit,mareklibra/cockpit,andreasn/cockpit,mvollmer/cockpit,stefwalter/cockpit,deryni/cockpit,larsu/cockpit,mareklibra/cockpit,michalskrivanek/cockpit,andreasn/cockpit,cockpituous/cockpit,cockpituous/cockpit,petervo/cockpit,mareklibra/cockpit,moraleslazaro/cockpit,cockpituous/cockpit,deryni/cockpit,larsu/cockpit,petervo/cockpit,SotolitoLabs/cockpit,martinpitt/cockpit,petervo/cockpit,cockpit-project/cockpit,martinpitt/cockpit,mvollmer/cockpit,Scribery/cockpit,stefwalter/cockpit,michalskrivanek/cockpit,xhad/cockpit,deryni/cockpit,harishanand95/cockpit,garrett/cockpit,larskarlitski/cockpit,xhad/cockpit,mareklibra/cockpit,harishanand95/cockpit,moraleslazaro/cockpit,stefwalter/cockpit,SotolitoLabs/cockpit,petervo/cockpit,Scribery/cockpit,stefwalter/cockpit,garrett/cockpit,cockpit-project/cockpit,SotolitoLabs/cockpit,garrett/cockpit,mvollmer/cockpit,larskarlitski/cockpit,SotolitoLabs/cockpit,michalskrivanek/cockpit,moraleslazaro/cockpit,larsu/cockpit,Scribery/cockpit,cockpit-project/cockpit,garrett/cockpit,michalskrivanek/cockpit,cockpituous/cockpit,cockpit-project/cockpit,cockpituous/cockpit,cockpit-project/cockpit,andreasn/cockpit,harishanand95/cockpit,petervo/cockpit,stefwalter/cockpit,larskarlitski/cockpit,Scribery/cockpit,Scribery/cockpit,moraleslazaro/cockpit,mareklibra/cockpit,martinpitt/cockpit,michalskrivanek/cockpit,deryni/cockpit,martinpitt/cockpit,larskarlitski/cockpit