1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 04:30:10 +00:00
cc65/test/asm/listing
Spiro Trikaliotis e17cb6d602 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.
2022-06-19 22:42:44 +02:00
..
001-macro-simple-listing.list-ref isequal: add --skip for both left and right file 2022-06-19 22:42:44 +02:00
001-macro-simple-listing.s Some test cases for ca65 2022-06-16 20:57:53 +02:00
002-macro-param-listing.list-ref isequal: add --skip for both left and right file 2022-06-19 22:42:44 +02:00
002-macro-param-listing.s Some test cases for ca65 2022-06-16 20:57:53 +02:00
010-paramcount.err-ref Some test cases for ca65 2022-06-16 20:57:53 +02:00
010-paramcount.s Some test cases for ca65 2022-06-16 20:57:53 +02:00
020-asciiz.bin-ref Some test cases for ca65 2022-06-16 20:57:53 +02:00
020-asciiz.list-ref isequal: add --skip for both left and right file 2022-06-19 22:42:44 +02:00
020-asciiz.s Remove TAB to comply to style 2022-06-16 21:59:37 +02:00
030-assert-success.bin-ref Test cases for .assert warnings 2022-06-18 21:04:36 +02:00
030-assert-success.err-ref Test cases for .assert warnings 2022-06-18 21:04:36 +02:00
030-assert-success.ld65err-ref Test cases for .assert warnings 2022-06-18 21:04:36 +02:00
030-assert-success.s Test cases for .assert warnings 2022-06-18 21:04:36 +02:00
031-assert-error.err Add more assert tests 2022-06-18 22:22:27 +02:00
031-assert-error.err-ref Add more assert tests 2022-06-18 22:22:27 +02:00
031-assert-error.no-ld65 Add more assert tests 2022-06-18 22:22:27 +02:00
031-assert-error.s Add more assert tests 2022-06-18 22:22:27 +02:00
032-assert-error2.err Add more assert tests 2022-06-18 22:22:27 +02:00
032-assert-error2.ld65err-ref Add more assert tests 2022-06-18 22:22:27 +02:00
032-assert-error2.s Add more assert tests 2022-06-18 22:22:27 +02:00
032-assert-error3.err Add more assert tests 2022-06-18 22:22:27 +02:00
032-assert-error3.ld65err-ref Add more assert tests 2022-06-18 22:22:27 +02:00
032-assert-error3.s Add more assert tests 2022-06-18 22:22:27 +02:00
100-byte.bin-ref Some test cases for ca65 2022-06-16 20:57:53 +02:00
100-byte.list-ref isequal: add --skip for both left and right file 2022-06-19 22:42:44 +02:00
100-byte.s Remove TAB to comply to style 2022-06-16 21:59:37 +02:00
101-byt.bin-ref Some test cases for ca65 2022-06-16 20:57:53 +02:00
101-byt.list-ref isequal: add --skip for both left and right file 2022-06-19 22:42:44 +02:00
101-byt.s Remove TAB to comply to style 2022-06-16 21:59:37 +02:00
102-word.bin-ref Some test cases for ca65 2022-06-16 20:57:53 +02:00
102-word.list-ref isequal: add --skip for both left and right file 2022-06-19 22:42:44 +02:00
102-word.s Remove TAB to comply to style 2022-06-16 21:59:37 +02:00
103-dbyt.bin-ref Some test cases for ca65 2022-06-16 20:57:53 +02:00
103-dbyt.list-ref isequal: add --skip for both left and right file 2022-06-19 22:42:44 +02:00
103-dbyt.s Remove TAB to comply to style 2022-06-16 21:59:37 +02:00
104-dword.bin-ref Some test cases for ca65 2022-06-16 20:57:53 +02:00
104-dword.list-ref isequal: add --skip for both left and right file 2022-06-19 22:42:44 +02:00
104-dword.s Remove TAB to comply to style 2022-06-16 21:59:37 +02:00
105-faraddr.bin-ref Some test cases for ca65 2022-06-16 20:57:53 +02:00
105-faraddr.list-ref isequal: add --skip for both left and right file 2022-06-19 22:42:44 +02:00
105-faraddr.s Remove TAB to comply to style 2022-06-16 21:59:37 +02:00
106-hibytes.bin-ref Some test cases for ca65 2022-06-16 20:57:53 +02:00
106-hibytes.list-ref isequal: add --skip for both left and right file 2022-06-19 22:42:44 +02:00
106-hibytes.s Remove TAB to comply to style 2022-06-16 21:59:37 +02:00
107-lobytes.bin-ref Some test cases for ca65 2022-06-16 20:57:53 +02:00
107-lobytes.list-ref isequal: add --skip for both left and right file 2022-06-19 22:42:44 +02:00
107-lobytes.s Remove TAB to comply to style 2022-06-16 21:59:37 +02:00
Makefile isequal: add --skip for both left and right file 2022-06-19 22:42:44 +02:00
readme.txt Add proper readmes 2022-02-20 11:20:20 +01:00

Overall test:
-------------

These testcases can be used to test different aspects of the assembler.
The name of a test is everything in the form <test>.s.

The following reference files can be added:

- <test>.bin-ref:
  This is a reference for the resulting binary.
  The binary as binary tested against this file.
  If they are not equal, the test fails.

- <test>.list-ref
  This is a reference for the resulting listing output
  This file *must* have the first line of the listing removed, as that
  contains a ca65 version string, and almost always this will be changed!


Note that the resulting .bin file is generated twice: Once with no listing
file, and once with listing file. This way, one can find out if the listing
file generation changes anything with the resulting binary output.


TODO:
- add the possibility to test for specific error output that are to be
  expected