support --emit in 'test' command

Support the `--emit` switch in `zig --emit asm test file.zig`.

The command fails because no tests run (no executable is created) but
it emits the requested file.  That seems like a good tradeoff.
03f66825d6Ben Noordhuis committed on 6/29/2018, 9:32:10 PMparentf1c56f7
1 file changedLine totals unavailable