shithub: rgbds

Download patch

ref: 7592eaf42bc121b5cb1e48f32423baf3d362b270
parent: 12ed9e044adbb902fae4dc3e83775b74ebf8d94f
parent: 0a3af87aee82357980bf33ad8a43ddd5463f31b1
author: Antonio Niño Díaz <antonio_nd@outlook.com>
date: Wed Jun 5 19:21:51 EDT 2019

Merge pull request #354 from NieDzejkob/test-runner-stuff

Various test running fixes

--- a/.gitignore
+++ b/.gitignore
@@ -6,6 +6,6 @@
 *.exe
 .checkpatch-camelcase.*
 
-test/pokecrystal/*
-test/pokered/*
-test/ucity/*
+test/pokecrystal
+test/pokered
+test/ucity
--- a/test/run-tests.sh
+++ b/test/run-tests.sh
@@ -4,6 +4,8 @@
 
 set -e
 
+cd "$(dirname "$0")"
+
 # Tests included with the repository
 
 pushd asm
@@ -23,6 +25,7 @@
 pushd pokecrystal
 git fetch
 git checkout 06e169d
+make clean
 make -j
 make compare
 popd
@@ -33,6 +36,7 @@
 pushd pokered
 git fetch
 git checkout 98f09b6
+make clean
 make -j
 make compare
 popd
@@ -43,5 +47,6 @@
 pushd ucity
 git fetch
 git checkout 3315601
+make clean
 make -j
 popd