mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
18246278c5
Explicitly use `signed char` or `unsigned char`, rather than ``` signed char k; char k; signed char k; char k; ``` This should have resulted in the same thing; however, note that `REFCC` was never defined, and `common.h` was not included, so the old code in fact tested `char` then `unsigned char`, which are the same. The only difference is that a switch using plain `char` is not tested, but since this is the same as either `signed char` or `unsigned char`, the lack of test coverage seems relatively safe.
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