zig test: when -ofmt=c, default to `zig run` as test exec

Previously when running `zig test` with the C backend, it would return
`error.InvalidExe` because it would try to run the C code source file as
a binary. Now, by default, it will try to run it with
`zig run -lc foo.c` and this can be overridden with the standard
`--test-cmd` flags.
e02caa7e29Andrew Kelley committed on 10/27/2021, 10:28:33 PMparent6504c57
1 file changedLine totals unavailable