xa65/xa/tests
A. Fachat 3be092964c release 2.4.1 2024-03-12 09:25:18 +01:00
..
adrm xa-2.3.7 2017-10-15 00:47:56 +02:00
align release 2.4.1 2024-03-12 09:25:18 +01:00
alxl update to official xa-2.3.12 2022-03-27 22:57:02 +02:00
aserr official xa-2.4.0 2023-11-19 21:24:38 +01:00
binclude merge Cameron's 2.3.6 official release into master 2014-08-20 21:53:15 +02:00
branch xa-2.3.7 2017-10-15 00:47:56 +02:00
ca65 release 2.4.1 2024-03-12 09:25:18 +01:00
chardelimiter official xa-2.4.0 2023-11-19 21:24:38 +01:00
charset xa-2.3.7 2017-10-15 00:47:56 +02:00
chppch xa-2.3.7 2017-10-15 00:47:56 +02:00
cll release 2.4.1 2024-03-12 09:25:18 +01:00
comcom release 2.4.1 2024-03-12 09:25:18 +01:00
cpktest official xa-2.4.0 2023-11-19 21:24:38 +01:00
cpp xa-2.3.7 2017-10-15 00:47:56 +02:00
csapiec official xa-2.4.0 2023-11-19 21:24:38 +01:00
dos51 xa-2.3.7 2017-10-15 00:47:56 +02:00
expando official xa-2.4.0 2023-11-19 21:24:38 +01:00
fordef xa-2.3.7 2017-10-15 00:47:56 +02:00
incerr merge Cameron's 2.3.6 official release into master 2014-08-20 21:53:15 +02:00
ldoreloc official xa-2.4.0 2023-11-19 21:24:38 +01:00
line official xa-2.4.0 2023-11-19 21:24:38 +01:00
linkr xa-2.3.9 2019-10-28 21:54:15 +01:00
listing official xa-2.4.0 2023-11-19 21:24:38 +01:00
masmcom release 2.4.1 2024-03-12 09:25:18 +01:00
math update to official xa-2.3.11 2020-05-15 19:20:17 +02:00
mode release 2.4.1 2024-03-12 09:25:18 +01:00
mvnmvp official xa-2.4.0 2023-11-19 21:24:38 +01:00
neg_offset update to official xa-2.3.11 2020-05-15 19:20:17 +02:00
nonl xa-2.3.7 2017-10-15 00:47:56 +02:00
op816 xa-2.3.7 2017-10-15 00:47:56 +02:00
openpp xa-2.3.7 2017-10-15 00:47:56 +02:00
pparity official xa-2.4.0 2023-11-19 21:24:38 +01:00
ppdefines official xa-2.4.0 2023-11-19 21:24:38 +01:00
ppstrings official xa-2.4.0 2023-11-19 21:24:38 +01:00
quotch xa-2.3.8 2017-10-15 00:50:45 +02:00
recmac xa-2.3.7 2017-10-15 00:47:56 +02:00
recucom official xa-2.4.0 2023-11-19 21:24:38 +01:00
relmode official xa-2.4.0 2023-11-19 21:24:38 +01:00
relocmode xa-2.3.10 2019-11-10 13:32:56 +01:00
relocundef official xa-2.4.0 2023-11-19 21:24:38 +01:00
reset_segment official xa-2.4.0 2023-11-19 21:24:38 +01:00
stringcom official xa-2.4.0 2023-11-19 21:24:38 +01:00
undef official xa-2.4.0 2023-11-19 21:24:38 +01:00
usb65 official xa-2.4.0 2023-11-19 21:24:38 +01:00
README release 2.4.1 2024-03-12 09:25:18 +01:00
harness official xa-2.4.0 2023-11-19 21:24:38 +01:00
hextool merge Cameron's 2.3.6 official release into master 2014-08-20 21:53:15 +02:00

README

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
testing, but is here for your interest. It requires a reasonably compatible
`make` and Perl.

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.

Don't run the makefiles directly, if they exist; they may not work properly.
If a Makefile is not present, then the test harness assembles "test.s" and
compares it with "ok".

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
relocmode/	Tests to prevent use of irrational segments if relocating
		mde isn't on
relocundef/  	Tests for the detection of undefined references during a
		reloc65 export
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
		the correct file ('816)
binclude/	Binary include code with some weird casing
ppstrings/	Don't substitute inside strings (unless -S)
neg_offset/	Test negative offsets/values with/without relocation
chppch/		Changing preprocessor characters (-p)
charset/	Tests of when charsets should be honoured and when not
ca65/		Compatibility tests for ca65 compatibility
relmode/	tests concerning switches between segments and absolute mode
mvnmvp/		Test MVN MVP unusual addressing mode ('816)
dos51/		Regression test, label scoping, "real world code"
cpktest/	Regression test, label listing, "real world code"
usb65/		Unusual macro and scoping, "real world code"
listing/	Test of listing feature
op816/		Regression test for '816 opcodes (thanks Alessandro Gatti)
branch/		Branch range test
masmcom/	Another test for -M that generates totally valid code
quotch/		Test quoting problematic characters (thanks Simon Rowe)
linkr/		Test linking using .dsb and generated code
csapiec/	Test on pointer arithmetic in relocating mode
math/		Math tests (currently divide by zero, thanks Frederic Cambus)
alxl/		Various '816 width tests (includes Samuel Falvo's test)
pparity/	Tests of preprocessor macro arity (with Emil Johansson's test)
recucom/	Recursive comments test
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)

Cameron Kaiser, André Fachat