shithub: rgbds

Download patch

ref: dab5f59ed9b1aefddb035e6938df1440c7dec46f
parent: 22a6a82642a14d2893a4bf400f2ad115f4dcd660
author: ISSOtm <[email protected]>
date: Sun Sep 22 21:28:48 EDT 2019

Fix location of all relevant SECTIONs in tests
If section placement is changed such that those are no longer guaranteed to be
placed at zero, tests would break when they shouldn't.

--- a/test/asm/equ-charmap.asm
+++ b/test/asm/equ-charmap.asm
@@ -1,4 +1,4 @@
 	charmap "A", 1
-SECTION "sec", ROM0
+SECTION "sec", ROM0[0]
 _A_ EQU "A"
 	db _A_
--- a/test/asm/narg-decreases-after-shift.asm
+++ b/test/asm/narg-decreases-after-shift.asm
@@ -10,5 +10,5 @@
 	db _NARG
 ENDM
 
-SECTION "Test output", ROM0
+SECTION "Test output", ROM0[0]
 	testing 1, 2, 3
--- a/test/asm/utf-8.asm
+++ b/test/asm/utf-8.asm
@@ -1,2 +1,2 @@
-SECTION "sec", ROM0
+SECTION "sec", ROM0[0]
 	db "é"
--- a/test/link/all-instructions.asm
+++ b/test/link/all-instructions.asm
@@ -1,4 +1,4 @@
-SECTION "All instructions", ROM0
+SECTION "All instructions", ROM0[0]
 
     ; 8-bit Arithmetic and Logic Instructions