1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-03 06:29:36 +00:00
cc65/test
Oliver Schmidt b04028b5d8 Added test for mktime() and gmtime().
A recent regression makes gmtime()/localtime() fail. So it's obviously desirable to have a test for that code.
2018-07-24 03:26:40 +02: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 Fix regression of #pragma bss-name 2017-03-21 22:35:25 +01:00
misc Added a missing -O configuration. 2017-06-07 10:31:09 -04:00
ref Added a missing -O configuration. 2017-06-07 10:26:34 -04:00
val Added test for mktime() and gmtime(). 2018-07-24 03:26:40 +02:00
.gitignore
bdiff.c
Makefile Allow to control test Makefile output via QUIET (like libsrc). 2017-03-20 11:22:04 +01:00
readme.txt

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