1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-03 06:29:36 +00:00
cc65/test
2014-11-25 13:47:31 +01:00
..
err use testwrk for binaries, and generated reference data 2014-11-25 13:47:31 +01:00
misc use testwrk for binaries, and generated reference data 2014-11-25 13:47:31 +01:00
ref use testwrk for binaries, and generated reference data 2014-11-25 13:47:31 +01:00
val use testwrk for binaries, and generated reference data 2014-11-25 13:47:31 +01:00
.gitignore generate reference output using host compiler, compare using diff, fix yacc input file to work on both host and sim65 2014-11-22 19:45:40 +01:00
bdiff.c use own naive bdiff tool instead of diff/fc 2014-11-24 20:57:58 +01:00
Makefile use testwrk for binaries, and generated reference data 2014-11-25 13:47:31 +01:00
readme.txt removed common.h reference 2014-11-23 12:50:47 +01: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

/misc - a few tests that need special care of some sort


to run the tests use "make" in this (top) directory, the makefile should exit
with no error.

--------------------------------------------------------------------------------

TODO:

- reduce usage of "common.h" to a minimum
- convert more tests from using reference output to returning an exit code