]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #54680 - RalfJung:compile-pass, r=pnkfelix
authorPietro Albini <pietro@pietroalbini.org>
Tue, 2 Oct 2018 20:54:32 +0000 (22:54 +0200)
committerGitHub <noreply@github.com>
Tue, 2 Oct 2018 20:54:32 +0000 (22:54 +0200)
commit32c1454a87e22431e79d189eaac6b89747460b50
tree206a12a67fa788b6c0459f15e0bcd2b90acc3a0c
parent662f85ea26699abcdec2488867790671b5db1c51
parent454b14a511d4a7aadb68152c78c06e1e893a0fb7
Rollup merge of #54680 - RalfJung:compile-pass, r=pnkfelix

make run-pass tests with empty main just compile-pass tests

Many run-pass tests have an empty main, so there is not actually any point in running them. This makes them `compile-pass` tests instead, saving some time (generating the binary and then running it).

For now I did this only for `run-pass/issues`; if there is interest I can also do it for the other directories. I used `^\s*fn\s+main\(\s*\)\s*\{\s*\}` as regexp to identify these files.