[PATCH] D29840: test-release.sh: Remove workaround for test-suite build

Renato Golin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 18 16:43:46 PST 2017


rengolin added a comment.

In https://reviews.llvm.org/D29840#673847, @tstellar wrote:

> The only change with this patch is that by default the test-suite will be checked out to ${tag}/llvm.src/projects rather than ${tag}/, so the test-suite will still be checked out.


Right, I see. This will cause the test to be built by default as well, and not ran (CMake can't do that yet), so it'll only slow down the release for no reason.

> Would it be better to keep ${tag}/ as the default location ?

Only if `do_test_suite=export-only`.

I'd say make the default be `export-only` in addition to your current patch, so that it gets built if the user requests it (`do_test_suite=yes`), but by default only be checked out, for external LNT validation.

>   I wasn't sure if the test-suite location mattered given that the test-release.sh script doesn't do anything with it.

AFAIK, CMake will build whatever is in the right place. Regardless, having it in `${tag}` is easier for LNT integration, so I'd still keep `export-only` as the default under `${tag}` and allow `yes` to move it to `projects`.

Makes sense?

--renato


https://reviews.llvm.org/D29840





More information about the llvm-commits mailing list