1
0
mirror of https://github.com/fachat/xa65.git synced 2024-06-01 22:41:32 +00:00
xa65/xa/tests/README

65 lines
2.8 KiB
Plaintext
Raw Normal View History

2011-12-16 22:04:51 +00:00
This is a directory of test suites for complex or pathological cases that
have been repaired (?) in the current version. It is primarily for internal
2023-11-19 20:24:38 +00:00
testing, but is here for your interest. It requires a reasonably compatible
`make` and Perl.
2011-12-16 22:04:51 +00:00
2023-11-19 20:24:38 +00:00
You can run specific tests from the main source directory with
make test TESTS=test,test,test,...
or, if `make test` doesn't work right on your system, you can run the Perl
harness directly:
./harness -cc=... -cflags=... -make=... -tests=testdir,testdir,testdir,...
If -tests is omitted, all tests are run.
2023-11-19 20:24:38 +00:00
Don't run the makefiles directly, if they exist; they may not work properly.
2017-10-14 22:50:45 +00:00
If a Makefile is not present, then the test harness assembles "test.s" and
compares it with "ok".
2011-12-16 22:04:51 +00:00
adrm/ Addressing mode test (especially the optimizer and quantity
prefixes)
nonl/ Patryk's no-new-line-on-last-line cases ;)
fordef/ Optimizer warnings for forward defined labels
2019-11-10 12:32:56 +00:00
relocmode/ Tests to prevent use of irrational segments if relocating
mde isn't on
2011-12-16 22:04:51 +00:00
relocundef/ Tests for the detection of undefined references during a
2017-10-14 22:47:56 +00:00
reloc65 export
2011-12-16 22:04:51 +00:00
ldoreloc/ Test case for the relocation table reading of ldo when undef'd
refs are involved
comcom/ Comments-with-comments-with-commands-etc. for testing -M
recmac/ Recursive macro evaluation testing
openpp/ Testing of open #if*s in pp
cpp/ Random preprocessor tests, mostly crap
incerr/ 1) .xl/.al should error without -w 2) error should be in
2017-10-14 22:47:56 +00:00
the correct file ('816)
2011-12-16 22:04:51 +00:00
binclude/ Binary include code with some weird casing
2019-11-10 12:32:56 +00:00
ppstrings/ Don't substitute inside strings (unless -S)
2020-05-15 17:20:17 +00:00
neg_offset/ Test negative offsets/values with/without relocation
2011-12-16 22:04:51 +00:00
chppch/ Changing preprocessor characters (-p)
charset/ Tests of when charsets should be honoured and when not
2023-11-19 20:24:38 +00:00
ca65/ Compatibility tests for ca65 compatibility
relmode/ tests concerning switches between segments and absolute mode
2017-10-14 22:47:56 +00:00
mvnmvp/ Test MVN MVP unusual addressing mode ('816)
dos51/ Regression test, label scoping, "real world code"
cpktest/ Regression test, label listing, "real world code"
2024-03-12 08:25:18 +00:00
usb65/ Unusual macro and scoping, "real world code"
2023-11-19 20:24:38 +00:00
listing/ Test of listing feature
2017-10-14 22:47:56 +00:00
op816/ Regression test for '816 opcodes (thanks Alessandro Gatti)
branch/ Branch range test
2017-10-14 22:50:45 +00:00
masmcom/ Another test for -M that generates totally valid code
quotch/ Test quoting problematic characters (thanks Simon Rowe)
2019-10-28 20:54:15 +00:00
linkr/ Test linking using .dsb and generated code
2020-05-15 17:20:17 +00:00
csapiec/ Test on pointer arithmetic in relocating mode
math/ Math tests (currently divide by zero, thanks Frederic Cambus)
2022-03-27 20:57:02 +00:00
alxl/ Various '816 width tests (includes Samuel Falvo's test)
2023-02-11 13:09:07 +00:00
pparity/ Tests of preprocessor macro arity (with Emil Johansson's test)
recucom/ Recursive comments test
2023-11-19 20:24:38 +00:00
aserror/ Tests of .assert and #error syntax/function
reset_segment/ Verifies conditions under which a segment is reset
expando/ Test of preprocessor expansion (thanks Tom Hargreaves)
2011-12-16 22:04:51 +00:00
Cameron Kaiser, André Fachat