VTests: fail early if build fails

This commit is contained in:
Casper Jeukendrup 2023-07-27 19:03:13 +02:00
parent 3a190c346d
commit 5a7312feec
No known key found for this signature in database
GPG key ID: 6C571BEF59E722DD
2 changed files with 6 additions and 2 deletions

View file

@ -19,6 +19,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
trap 'echo Build failed; exit 1' ERR
BUILD_TOOLS=$HOME/build_tools
ARTIFACTS_DIR=build.artifacts
BUILD_DIR=build.release

View file

@ -19,14 +19,16 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
trap 'echo Generate PNGs failed; exit 1' ERR
REF_BIN=./musescore_reference/app/bin/mscore4portable
CUR_BIN=./musescore_current/app/bin/mscore4portable
chmod +x $REF_BIN
chmod +x ./musescore_reference/app/bin/crashpad_handler
# chmod +x ./musescore_reference/app/bin/crashpad_handler
chmod +x $CUR_BIN
chmod +x ./musescore_current/app/bin/crashpad_handler
# chmod +x ./musescore_current/app/bin/crashpad_handler
echo reference version:
$REF_BIN --long-version