Use correct gate hook for swift functional tests

And copy the logs.

Change-Id: I59a82a2fb0d0b3bc3ffa4c58c0a8c4ad9892bc26