2016-09-06 12:54:21 +00:00
|
|
|
Assembler Testcases
|
|
|
|
===================
|
|
|
|
|
2023-03-07 23:44:56 +00:00
|
|
|
cpudetect
|
|
|
|
---------
|
2016-09-07 17:21:24 +00:00
|
|
|
|
2023-03-07 23:44:56 +00:00
|
|
|
Tests the --cpu command line option of ca65/ld65.
|
|
|
|
Refer to cpudetect/readme.txt
|
2016-09-06 12:54:21 +00:00
|
|
|
|
2016-09-07 17:21:24 +00:00
|
|
|
|
2023-03-07 23:44:56 +00:00
|
|
|
opcodes
|
|
|
|
-------
|
2016-09-07 17:21:24 +00:00
|
|
|
|
2023-03-07 23:44:56 +00:00
|
|
|
Test of assembler opcodes for each CPU.
|
|
|
|
Refer to opcodes/readme.txt
|
2016-09-07 17:21:24 +00:00
|
|
|
|
|
|
|
|
2023-03-07 23:44:56 +00:00
|
|
|
err:
|
|
|
|
----
|
2016-09-07 17:21:24 +00:00
|
|
|
|
2023-03-07 23:44:56 +00:00
|
|
|
Used to test assembler errors. These tests MUST NOT assemble without error.
|
2022-04-20 12:50:42 +00:00
|
|
|
|
|
|
|
|
2023-03-07 23:44:56 +00:00
|
|
|
listing:
|
|
|
|
--------
|
2022-04-26 15:07:57 +00:00
|
|
|
|
2023-03-07 23:44:56 +00:00
|
|
|
This is the most versatile assembler test form, allowing control customizations,
|
|
|
|
reference tests for binary output, stdout and error text ouput, error tests,
|
|
|
|
listings, custom linker configuration, etc. as needed.
|
|
|
|
Refer to listing/readme.txt
|
|
|
|
|
|
|
|
|
|
|
|
val:
|
2022-04-26 15:07:57 +00:00
|
|
|
----
|
|
|
|
|
2023-03-07 23:53:30 +00:00
|
|
|
Runtime assembly tests using sim65 that should end with an exit code of 0 if
|
|
|
|
they pass. If they fail the exit code should be either -1, or a number
|
|
|
|
indicating what part of the test failed.
|
2023-05-07 20:33:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
misc:
|
|
|
|
-----
|
|
|
|
|
|
|
|
This is for tests that require special make steps or conditions.
|