1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-28 03:29:39 +00:00
cc65/test/readme.txt
2020-07-13 17:04:22 +02:00

35 lines
1.1 KiB
Plaintext

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
/todo - these tests fail due to open compiler issues.
when an issue was fixed, the test should get moved to /var
/asm - contains the assembler regression tests
/dasm - contains the disassembler regression tests
/misc - a few tests that need special care of some sort
tests that (incorrectly) fail to compile and other tests that fail and
do NOT return an exit code are collected here.
to run the tests use "make" in this (top) directory, the makefile should exit
with no error.
when a test failed you can use "make continue" to run further tests
--------------------------------------------------------------------------------
TODO:
- reduce usage of "common.h" to a minimum
- convert more tests from using reference output to returning an exit code