Spiro Trikaliotis
b5b3654017
Un-silence Make
2022-06-20 23:07:36 +02:00
Spiro Trikaliotis
aa64234707
Testcases for case
2022-06-20 23:03:12 +02:00
Spiro Trikaliotis
3a5fee75a3
Remove TAB for reference file, too
2022-06-20 22:57:20 +02:00
Spiro Trikaliotis
b816ee6676
Remove TABs again
2022-06-20 22:53:46 +02:00
Spiro Trikaliotis
b3846ee1c4
Complete check of ld65 output
...
ld65 output was only checked for listing build before. No, both builds
are tested separately for better test coverage.
2022-06-20 22:19:22 +02:00
Spiro Trikaliotis
343bc1a489
More assert tests
...
Also test ldwarning and lderror options.
2022-06-20 22:16:55 +02:00
Spiro Trikaliotis
e9888a0c28
testcase for ca65 .align
2022-06-20 22:01:01 +02:00
Spiro Trikaliotis
77a6ea3704
Makefile fix for ld65 error processing
2022-06-20 16:34:14 +02:00
Spiro Trikaliotis
7476c86ba9
More .assert testcases
...
Add testcases with error generation.
2022-06-20 16:33:25 +02:00
Spiro Trikaliotis
2040da0520
Reorga of test/asm/listing/
...
add ref/ and control/ subdirectories, so the control files and result
files do not clutter the directory, and it is clear which file has which
purpose.
2022-06-20 16:30:51 +02:00
Spiro Trikaliotis
e17cb6d602
isequal: add --skip for both left and right file
...
isequal: New option --skip as a shortcut for --skipleft and --skipright
at once.
Use that for the .list-ref files, so they now contain the first line of
the output, too, which is ignored.
2022-06-19 22:42:44 +02:00
Spiro Trikaliotis
1446b7dcc3
isequal: Add options for better handling
...
--binary: handled binary files
--empty: check if file is empty
--skipleft=<n>: Skip <n> lines at the start of the left (first) file
--skipright=<n>: Skip <n> lines at the start of the right (second) file
Note that --binary, --empty and one or both of --skipXXX are mutual
exclusive; that is, you cannot specify more than one of them at the same
time, or the behaviour will be unpredictable.
2022-06-18 23:50:26 +02:00
Spiro Trikaliotis
297a11fcec
Add more assert tests
2022-06-18 22:22:27 +02:00
Spiro Trikaliotis
794ebd7a0b
Test cases for .assert warnings
2022-06-18 21:04:36 +02:00
Spiro Trikaliotis
a9e0dba991
Remove TAB to comply to style
2022-06-16 21:59:37 +02:00
Spiro Trikaliotis
48ae6716ad
Some test cases for ca65
2022-06-16 20:57:53 +02:00
mrdudz
5aa75ae81f
handle loadaddr the same as with the other CBM targets
2022-06-06 14:01:16 +02:00
Bob Andrews
30dc9b8d1a
Merge pull request #1755 from rofl0r/fix_target_path
...
cl65: fix regression in --print-target-path
2022-06-04 16:33:46 +02:00
rofl0r
94e7b11870
cl65: fix regression in --print-target-path
...
since the "empty prefix means run from current dir" hack was removed,
cl65 --print-target-path no longer prints the path relative to the
binary, but the hardcoded library path which points to prefix, because
the code adds the hardcoded path first to the pathsearch, but then actually
only returns the first entry rather than looking whether the path exists.
closes #1754
2022-05-30 12:22:02 +00:00
Bob Andrews
dcdf7ade08
Merge pull request #1748 from smuehlst/issue-1747
...
Fix switched meaning of '\n' and '\r' for osic1p target
2022-05-19 01:04:17 +02:00
Stephan Mühlstrasser
44257b9b4a
Fix switched meaning of '\n' and '\r'
...
When conio was implemented for the osic1p target, the cbm
target was used as a blueprint. But it was overlooked that the
cbm target encodes CR as 0x0A and LF as 0x0D, while the
osic1p target uses the ASCII encoding of CR and LF. Therefore
conio output of '\n' moved the active position to the start of the
line and '\r' moved the active position to the next line.
This change implements the correct semantics of '\n' and '\r'
in conio for the osic1p target.
Fixes #1747 .
2022-05-18 18:57:52 +02:00
Greg King
93e94c8dea
Fixed a multi-line comment.
...
The left border is thicker in cc65 than it is in VICE.
2022-05-18 05:09:48 -04:00
Bob Andrews
93ee91fb4b
Merge pull request #1644 from polluks2/missing-purple
...
Added more purple and removed the colour violet
2022-05-17 15:54:59 +02:00
Bob Andrews
e0cc3650e4
Merge branch 'master' into missing-purple
2022-05-17 15:34:51 +02:00
mrdudz
d30fc65dd5
add check for +x flag
2022-05-17 15:28:51 +02:00
mrdudz
91199c57e8
remove +x flag
2022-05-17 15:28:51 +02:00
Bob Andrews
25efedf3e6
Merge pull request #1745 from Compyx/codeopt-unused-var-fix
...
Fix set but unused variable
2022-05-17 14:47:19 +02:00
mrdudz
0f291aee86
rename the actual checkstyle target too :)
2022-05-17 14:39:35 +02:00
mrdudz
75441afb71
rename the "check" target to "checkstyle".
...
also created a new "check" target which runs all tests, as it is common with GNU programs
2022-05-17 14:30:41 +02:00
mrdudz
1a5852ab91
don't try to build the checkversion sample for targets that do not have printf
2022-05-17 13:52:30 +02:00
mrdudz
4674b09421
clean and mostlyclean should also clean the test and targettest directories
2022-05-17 13:25:12 +02:00
compyx
2fdb1e6b0d
Fix set but unused variable
2022-05-17 10:05:25 +02:00
Bob Andrews
8328bbf51d
Update README.md
2022-05-10 01:56:52 +02:00
Bob Andrews
4da7e1553f
Merge pull request #1676 from polluks2/patch-1
...
smarter manufacturer
2022-05-10 01:32:10 +02:00
mrdudz
8062f8d029
sample program that demonstrates how to compare the value of __CC65__ for
...
any version of the compiler
2022-05-10 01:16:19 +02:00
mrdudz
1b73ffb8ae
document changes to __CC65__
2022-05-10 01:13:24 +02:00
mrdudz
f67fb3b326
define __CC65__ as ((VER_MAJOR * 0x100) + VER_MINOR), fixes issue #1667
2022-05-10 01:12:13 +02:00
mrdudz
1c3d386e09
simple test related to #1678
2022-05-09 21:27:21 +02:00
mrdudz
b6ffa4af64
Fix endless loop on expanding a recursive macro, fixed issue #1678 , patch by kugelfuhr
2022-05-09 21:26:45 +02:00
mrdudz
1abb5f4734
Add a directory for tests that exercise the supported C standard differences.
...
As a first test added the snippet given in issue #1670
2022-05-08 19:29:57 +02:00
mrdudz
3640beaa46
fix some header files to conform with C99 hopefully, should fix issue #1670
2022-05-08 19:29:57 +02:00
mrdudz
d0ac06c9b0
must include stdarg.h to use varargs
2022-05-08 19:29:57 +02:00
Bob Andrews
1c34d798be
Update Contributing.md
2022-05-08 19:27:32 +02:00
Bob Andrews
fc4faa582a
Update Contributing.md
2022-05-08 18:46:12 +02:00
mrdudz
43af562ce1
At the end of the optimizer run, remove jump cascades again. fixes the
...
regression reported in #1652
2022-05-08 13:22:10 +02:00
mrdudz
5813fd81d3
add extra optimizer step that replaces BRA by JMP if the target is external
2022-05-08 13:20:18 +02:00
mrdudz
e6b9a4b292
test related to issue #1652 , shows regression broken by #1231 and the
...
case that #1231 improved.
2022-05-08 13:19:32 +02:00
mrdudz
e0ae8ddc68
add sourcelines to the generated asm for easier inspection,
...
redirect output of sim65, including cycle count, into a seperate .out file per program
2022-05-08 13:18:27 +02:00
Bob Andrews
8bdc3b092c
Update Contributing.md
2022-05-06 22:13:33 +02:00
Bob Andrews
2314cddb5a
Merge pull request #1718 from polluks2/patch-2
...
Some clean-up
2022-05-06 13:08:14 +02:00