mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Prevent tests from running if RGBDS hasn't been built
Prevents a *lot* of spurious errors due to files not generating
This commit is contained in:
@@ -6,6 +6,12 @@ set -e
|
|||||||
|
|
||||||
cd "$(dirname "$0")"
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
|
# Refuse to run if RGBDS isn't present
|
||||||
|
if [[ ! ( -x ../rgbasm && -x ../rgblink && -x ../rgbfix && -x ../rgbgfx ) ]]; then
|
||||||
|
echo "Please build RGBDS before running the tests"
|
||||||
|
false
|
||||||
|
fi
|
||||||
|
|
||||||
# Tests included with the repository
|
# Tests included with the repository
|
||||||
|
|
||||||
pushd asm
|
pushd asm
|
||||||
|
|||||||
Reference in New Issue
Block a user