Enable long test suite for push-to-master events, except the AArch64 one.
We want to enable long tests on master merges to improve coverage of the test suite. There are some tests which are never run regularly, which is not good.
Passes CI trigger and branch as environment variables to runsuite_wrapper.pl
. These are used in CMake script to set TEST_LONG
, which enables the long test suite.
Also fixes the Policy CMP0077 warning due to using an existing cmake normal variable TEST_LONG
as a cache variable as well. Adds a new RUN_LONG_SUITE
variable instead that can be used as a command line option -DRUN_LONG_SUITE=ON
to cmake, which sets TEST_LONG
internally.
The AArch64 long suite will be enabled separately by modifying Jenkins config. This PR is for non-AArch64 test suites, run using Github Actions CI only.
Issue: #4800 Fixes: #4791 (closed)