Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ISSOtm committed Nov 5, 2023
1 parent 408adaa commit d5aa058
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions test/patches/gb-starter-kit.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
diff --git a/Makefile b/Makefile
index fc5b476..74d573b 100644
--- a/Makefile
+++ b/Makefile
@@ -86,6 +86,8 @@ assets/%.pb8: assets/% src/tools/pb8.py
assets/%.pb8.size: assets/%
@${MKDIR_P} ${@D}
$(call filesize,$<,8) > assets/$*.pb8.size
+ stat --format='%Y %y' $@
+ stat --format='%Y %y' obj/crash_handler.mk


# How to build a ROM.
@@ -107,7 +109,6 @@ obj/%.mk: src/%.asm
# even when it isn't!
# This causes weird issues that depend, among other things, on the version of Make.
obj/%.o: obj/%.mk
- @touch $@

ifeq ($(filter clean,${MAKECMDGOALS}),)
include $(patsubst src/%.asm,obj/%.mk,${SRCS})
2 changes: 1 addition & 1 deletion test/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ test_downstream() { # owner/repo make-target
return 1
fi
make clean
make -j4 $2 RGBDS=../../
make -drj4 $2 RGBDS=../../
popd
}

Expand Down

0 comments on commit d5aa058

Please sign in to comment.