2014-11-22 20:29:26 +00:00
|
|
|
This directory contains test code for automatic regression testing of the CC65
|
|
|
|
compiler.
|
|
|
|
|
|
|
|
|
|
|
|
/val - the bulk of tests are contained here, individual tests should exit with
|
|
|
|
an exit code of EXIT_SUCCESS when they pass, or EXIT_FAILURE on error
|
|
|
|
|
|
|
|
/ref - these tests produce output that must be compared with reference output
|
|
|
|
|
|
|
|
/err - contains tests that MUST NOT compile
|
|
|
|
|
2020-07-13 15:04:22 +00:00
|
|
|
/todo - these tests fail due to open compiler issues.
|
|
|
|
when an issue was fixed, the test should get moved to /var
|
2020-06-30 22:13:55 +00:00
|
|
|
|
|
|
|
/asm - contains the assembler regression tests
|
|
|
|
|
|
|
|
/dasm - contains the disassembler regression tests
|
|
|
|
|
2014-11-22 20:29:26 +00:00
|
|
|
/misc - a few tests that need special care of some sort
|
2020-07-13 15:04:22 +00:00
|
|
|
tests that (incorrectly) fail to compile and other tests that fail and
|
|
|
|
do NOT return an exit code are collected here.
|
2014-11-22 20:29:26 +00:00
|
|
|
|
|
|
|
|
2014-11-23 11:18:19 +00:00
|
|
|
to run the tests use "make" in this (top) directory, the makefile should exit
|
|
|
|
with no error.
|
2014-11-23 11:50:47 +00:00
|
|
|
|
2014-11-26 13:22:22 +00:00
|
|
|
when a test failed you can use "make continue" to run further tests
|
|
|
|
|
2014-11-23 11:50:47 +00:00
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
TODO:
|
|
|
|
|
|
|
|
- reduce usage of "common.h" to a minimum
|
|
|
|
- convert more tests from using reference output to returning an exit code
|