From f63339472e0de6281f61ef0c8eea7ca181fa298a Mon Sep 17 00:00:00 2001 From: AntonioND Date: Sun, 2 Apr 2017 17:17:41 +0100 Subject: [PATCH] Update reference output of tests Due to recent changes, lots of tests generated a slightly different error output. - bank-noexist : This test doesn't generate any error output now as unknown labels are left for the linker to resolve. - null-in-macro : This test used to crash. Now, the parser verifies that a MACRO ends in ENDM, generating an error message if not. Signed-off-by: AntonioND --- test/asm/bank-noexist.out | 2 -- test/asm/divzero-instr.out | 2 +- test/asm/divzero-section-bank.out | 2 +- test/asm/macro-@.out | 2 +- test/asm/null-in-macro.out | 2 ++ test/asm/undefined-dot.out | 3 ++- 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/test/asm/bank-noexist.out b/test/asm/bank-noexist.out index 33c3e439..e69de29b 100644 --- a/test/asm/bank-noexist.out +++ b/test/asm/bank-noexist.out @@ -1,2 +0,0 @@ -ERROR: bank-noexist.asm(2) : - 'noexist' not defined diff --git a/test/asm/divzero-instr.out b/test/asm/divzero-instr.out index 7942d7ca..a0538f32 100644 --- a/test/asm/divzero-instr.out +++ b/test/asm/divzero-instr.out @@ -1,2 +1,2 @@ -ERROR: divzero-instr.asm(2) : +ERROR: divzero-instr.asm(2): division by zero diff --git a/test/asm/divzero-section-bank.out b/test/asm/divzero-section-bank.out index dc7fa730..2e2d1a2c 100644 --- a/test/asm/divzero-section-bank.out +++ b/test/asm/divzero-section-bank.out @@ -1,2 +1,2 @@ -ERROR: divzero-section-bank.asm(1) : +ERROR: divzero-section-bank.asm(1): division by zero diff --git a/test/asm/macro-@.out b/test/asm/macro-@.out index 8ad32e0f..67efacf0 100644 --- a/test/asm/macro-@.out +++ b/test/asm/macro-@.out @@ -1,2 +1,2 @@ -ERROR: macro-@.asm(1) -> @(-1) : +ERROR: macro-@.asm(1) -> @(-1): Macro '@' not defined diff --git a/test/asm/null-in-macro.out b/test/asm/null-in-macro.out index e69de29b..322e4f0f 100644 --- a/test/asm/null-in-macro.out +++ b/test/asm/null-in-macro.out @@ -0,0 +1,2 @@ +ERROR: null-in-macro.asm(1): + Unterminated MACRO definition diff --git a/test/asm/undefined-dot.out b/test/asm/undefined-dot.out index f6b05bf9..d59c0fe7 100644 --- a/test/asm/undefined-dot.out +++ b/test/asm/undefined-dot.out @@ -1,2 +1,3 @@ -ERROR: undefined-dot.asm(3) : +ERROR: undefined-dot.asm(3): '.' not defined +../../rgbasm: Assembly aborted in pass 2 (1 errors)!