]> git.lizzy.rs Git - rust.git/commitdiff
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)
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.


Trivial merge