1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 06:31:31 +00:00
cc65/test
Greg King a0db846a97 Allowed old-style (K and R) function declarations to be fastcall.
That lets them match old-style definitions.  It avoids "Type conflict" error messages.  It allows shorter function calls.

Fixed the types of some variables in "test/ref/otccex.c".  It avoids crashes on 64-bit Windows (32-bit Windows with 64-bit pointers).
2019-07-22 09:26:23 -04:00
..
asm Allow to control test Makefile output via QUIET (like libsrc). 2017-03-20 11:22:04 +01:00
dasm Allow to control test Makefile output via QUIET (like libsrc). 2017-03-20 11:22:04 +01:00
err remote TABs in doc/ and test/ 2019-02-12 22:50:49 +01:00
misc versionable header for sim65 2019-05-29 22:56:51 +02:00
ref Allowed old-style (K and R) function declarations to be fastcall. 2019-07-22 09:26:23 -04:00
val Allowed old-style (K and R) function declarations to be fastcall. 2019-07-22 09:26:23 -04:00
.gitignore removed binaries and references from git ignore 2014-11-25 14:16:39 +01:00
bdiff.c use own naive bdiff tool instead of diff/fc 2014-11-24 20:57:58 +01:00
Makefile Allow to control test Makefile output via QUIET (like libsrc). 2017-03-20 11:22:04 +01:00
readme.txt added note on how to continue after failure, added missing limits.ref 2014-11-26 14:22:22 +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.

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