1
0
mirror of https://github.com/fachat/xa65.git synced 2024-06-25 17:29:35 +00:00
xa65/xa/tests
2023-11-18 12:00:53 +01:00
..
adrm xa-2.3.7 2017-10-15 00:47:56 +02:00
alxl update to official xa-2.3.12 2022-03-27 22:57:02 +02:00
aserr beta1 2023-10-25 11:42:14 +02: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 candidate 2023-11-18 12:00:53 +01:00
chardelimiter beta1 2023-10-25 11:42:14 +02: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
comcom xa-2.3.7 2017-10-15 00:47:56 +02:00
cpktest beta1 2023-10-25 11:42:14 +02:00
cpp xa-2.3.7 2017-10-15 00:47:56 +02:00
csapiec beta4 2023-11-02 21:57:40 +01:00
dos51 xa-2.3.7 2017-10-15 00:47:56 +02:00
expando beta 5 2023-11-14 21:32:35 +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 release candidate 2023-11-18 12:00:53 +01:00
line release candidate 2023-11-18 12:00:53 +01:00
linkr xa-2.3.9 2019-10-28 21:54:15 +01:00
listing release candidate 2023-11-18 12:00:53 +01:00
masmcom xa-2.3.8 2017-10-15 00:50:45 +02:00
math update to official xa-2.3.11 2020-05-15 19:20:17 +02:00
mvnmvp beta1 2023-10-25 11:42:14 +02: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 beta1 2023-10-25 11:42:14 +02:00
ppdefines release candidate 2023-11-18 12:00:53 +01:00
ppstrings beta1 2023-10-25 11:42:14 +02: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 beta1 2023-10-25 11:42:14 +02:00
relmode release candidate 2023-11-18 12:00:53 +01:00
relocmode xa-2.3.10 2019-11-10 13:32:56 +01:00
relocundef beta1 2023-10-25 11:42:14 +02:00
reset_segment beta1 2023-10-25 11:42:14 +02:00
stringcom beta1 2023-10-25 11:42:14 +02:00
undef release candidate 2023-11-18 12:00:53 +01:00
usb65 2.4.0b2 2023-11-01 11:33:59 +01:00
harness beta 5 2023-11-14 21:32:35 +01:00
hextool merge Cameron's 2.3.6 official release into master 2014-08-20 21:53:15 +02:00
README release candidate 2023-11-18 12:00:53 +01: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
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"
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