From cd04fff2ba234a06e765b8215ba5a17369ee1e4b Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Sun, 25 Jul 2021 12:29:26 +0200 Subject: [PATCH] Add gb-boilerplate and gb-starter-kit to test suite Fixes #849 --- test/.gitignore | 2 ++ test/run-tests.sh | 21 ++++++++++++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/test/.gitignore b/test/.gitignore index 32dd40f7f6..13e879962b 100644 --- a/test/.gitignore +++ b/test/.gitignore @@ -1,3 +1,5 @@ +/gb-boilerplate/ +/gb-starter-kit/ /pokecrystal/ /pokered/ /ucity/ diff --git a/test/run-tests.sh b/test/run-tests.sh index 5f246b31f9..3e127f7e2c 100755 --- a/test/run-tests.sh +++ b/test/run-tests.sh @@ -1,7 +1,6 @@ #!/usr/bin/env bash # Return failure as soon as a command fails to execute - set -e cd "$(dirname "$0")" @@ -52,3 +51,23 @@ git checkout 15be184b26b337110e1ec2998cd42f134f00f281 make clean make -j4 RGBDS=../../ popd + +if [ ! -d gb-boilerplate ]; then + git clone https://github.com/ISSOtm/gb-boilerplate.git --shallow-since=2020-11-01 --single-branch --recursive +fi +pushd gb-boilerplate +git fetch +git checkout 6d5e660a4a290560ceefbb916550ed77402e1d1b +make clean +make -j4 RGBDS=../../ +popd + +if [ ! -d gb-starter-kit ]; then + git clone https://github.com/ISSOtm/gb-starter-kit.git --shallow-since=2020-11-01 --single-branch --recursive +fi +pushd gb-starter-kit +git fetch +git checkout dbae1a16529610c1ed871368f9eebeb5124a72c9 +make clean +make -dr RGBDS=../../ +popd