isequal: add --skip for both left and right file

isequal: New option --skip as a shortcut for --skipleft and --skipright
at once.

Use that for the .list-ref files, so they now contain the first line of
the output, too, which is ignored.
This commit is contained in:
Spiro Trikaliotis
2022-06-19 22:42:44 +02:00
parent 1446b7dcc3
commit e17cb6d602
13 changed files with 24 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
ca65 Vx.xx - Git XXXXXXXXX
Main file : 001-macro-simple-listing.s
Current file: 001-macro-simple-listing.s

View File

@@ -1,3 +1,4 @@
ca65 Vx.xx - Git XXXXXXXXX
Main file : 002-macro-param-listing.s
Current file: 002-macro-param-listing.s

View File

@@ -1,3 +1,4 @@
ca65 Vx.xx - Git XXXXXXXXX
Main file : 020-asciiz.s
Current file: 020-asciiz.s

View File

@@ -1,3 +1,4 @@
ca65 Vx.xx - Git XXXXXXXXX
Main file : 100-byte.s
Current file: 100-byte.s

View File

@@ -1,3 +1,4 @@
ca65 Vx.xx - Git XXXXXXXXX
Main file : 101-byt.s
Current file: 101-byt.s

View File

@@ -1,3 +1,4 @@
ca65 Vx.xx - Git XXXXXXXXX
Main file : 102-word.s
Current file: 102-word.s

View File

@@ -1,3 +1,4 @@
ca65 Vx.xx - Git XXXXXXXXX
Main file : 103-dbyt.s
Current file: 103-dbyt.s

View File

@@ -1,3 +1,4 @@
ca65 Vx.xx - Git XXXXXXXXX
Main file : 104-dword.s
Current file: 104-dword.s

View File

@@ -1,3 +1,4 @@
ca65 Vx.xx - Git XXXXXXXXX
Main file : 105-faraddr.s
Current file: 105-faraddr.s

View File

@@ -1,3 +1,4 @@
ca65 Vx.xx - Git XXXXXXXXX
Main file : 106-hibytes.s
Current file: 106-hibytes.s

View File

@@ -1,3 +1,4 @@
ca65 Vx.xx - Git XXXXXXXXX
Main file : 107-lobytes.s
Current file: 107-lobytes.s

View File

@@ -106,7 +106,7 @@ ifneq ($(wildcard $1.list-ref),)
# we have a reference file, compare that, too
# remove first line which contains a version number
$(ISEQUAL) --skipright=1 $1.list-ref $$(@:.bin=.lst)
$(ISEQUAL) --skip=1 $1.list-ref $$(@:.bin=.lst)
endif
endef # LISTING_template