1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-18 00:07:21 +00:00
Commit Graph

34 Commits

Author SHA1 Message Date
Christian Groessler
7445550831 remote TABs in doc/ and test/ 2019-02-12 22:50:49 +01:00
Greg King
a6b04f6e97 Changed most "backticks" (grave accents) into apostrophes.
Quotations that are embraced by tick marks now look better, in most fonts.
2019-01-05 14:57:12 -05:00
laubzega
4b78d40e97 Added testcase for between-blocks gotos.
Deleted old testcase.
2018-10-02 18:49:53 +02:00
greg-king5
e24bb372d0 Added a missing -O configuration. 2017-06-07 10:26:34 -04:00
Oliver Schmidt
0851e3d694 Allow to control test Makefile output via QUIET (like libsrc). 2017-03-20 11:22:04 +01:00
Oliver Schmidt
4a6bca0b56 Run test for the 65C02 code generator / runtime too.
Now that sim65's 65C02 support is actually functional we can run test for the 65C02 support in the compiler and the runtime.

We learn the hard way this is a good idea as there are tests failing when built with optimizations for the 65C02:
- val/compare7
- val/compare8
- val/compare9
- val/compare10
- val/or1
2017-03-19 20:07:19 +01:00
Oliver Schmidt
66634ef683 Cleaned up test Makefiles. 2017-03-19 17:48:44 +01:00
Greg King
73261ea48f Fixed a pointer test again -- but, it's better than in pull request #391.
This time, the expression compares the pointer directly, instead of comparing the pointer's target.  The new expression avoids an array underrun.
2017-03-11 15:11:15 -05:00
Christian Groessler
8a81f9c0c8 Fix line endings (CRLF -> LF) on all affected files. 2017-03-10 11:21:14 +01:00
Greg King
8f0ea644dd Fixed a pointer-difference, comparison-with-zero expression.
Some GCC C compilers can't subtract higher pointers from lower pointers properly, when those pointers must be scaled (because they point to objects that are wider than a char). The scaling is done as unsigned which makes the difference positive instead of negative.

So, a broken expression was changed into a direct comparison between the two pointers.
2017-03-01 06:52:43 -05:00
Greg King
99f3c7d01d Fixed a makefile: "yaccdbg.c" includes "yacc.c". So, yaccdbg must depend on both of them. 2017-03-01 06:29:53 -05:00
Oliver Schmidt
50b0536222 Ignore return values only with CMD.EXE MkII.
CMD.EXE considers file deletion commands not able to delete anything as there's nothing to delete as failed. Of course we don't want to bail out of the Makefile because of missing files to delete. Therefore we ignore the return values with '-'. This change limits this workaround to CMD.EXE.
2015-07-11 00:01:39 +02:00
Oliver Schmidt
992f0f03c5 Ignore return values only with CMD.EXE.
CMD.EXE considers file deletion commands not able to delete anything as there's nothing to delete as failed. Of course we don't want to bail out of the Makefile because of missing files to delete. Therefore we ignore the return values with '-'. This change limits this workaround to CMD.EXE.
2015-07-10 22:39:53 +02:00
mrdudz
18b2de1624 remove comment 2015-06-29 11:18:24 +02:00
mrdudz
5b1917d23f remove workaround for optimizer bug 2015-06-29 02:34:12 +02:00
Oliver Schmidt
5a7ba692f5 Avoid "*** Recursive variable `RM' references itself (eventually)." 2015-06-27 00:33:24 +02:00
Oliver Schmidt
9bd11f161f Made test Makefiles work with CMD.EXE 2015-06-27 00:03:45 +02:00
Greg King
f6d1234576 Added some names to the list of test-suite programs that need the --all-cdecl work-around.
Added a work-around for a cc65 bug that made the yacc tests fail.
2015-06-25 13:57:17 -04:00
Greg King
b24c87e61f Changed the compiler test-suite to work with the fastcall-default version of cc65. 2015-04-22 10:05:07 -04:00
Greg King
244eeedcfc Shortenned the code that creates the TESTS make variable.
And, fixed the variable-substitution that creates the CC65 optimization option.
2014-12-18 14:17:56 -05:00
Greg King
e414e89b64 Use simply-defined make variables. 2014-12-17 17:44:39 -05:00
Greg King
d9c8c1de45 Create the makefile variable REFS in the same way that TESTS is made. 2014-12-17 16:30:09 -05:00
Greg King
ad56b6abe9 Made the makefiles' clean target remove the object files from the source directory. 2014-12-17 15:59:29 -05:00
mrdudz
92ed5fd64b scan sources just once 2014-11-26 19:32:54 +01:00
mrdudz
3e8ae54759 actually use optimization switches 2014-11-26 01:38:30 +01:00
mrdudz
60026925ad use testwrk for binaries, and generated reference data 2014-11-25 13:47:31 +01:00
mrdudz
9c03326360 use 'testwrk' dir for bdiff 2014-11-25 12:56:45 +01:00
mrdudz
8a558a7cef use own naive bdiff tool instead of diff/fc 2014-11-24 20:57:58 +01:00
mrdudz
a0a03e5f73 added linefeeds 2014-11-24 20:35:35 +01:00
mrdudz
8a66605d5e added some windows/cmd.exe stuff 2014-11-23 12:18:19 +01:00
mrdudz
875e0762e7 generate reference output using host compiler, compare using diff, fix yacc input file to work on both host and sim65 2014-11-22 19:45:40 +01:00
mrdudz
20cf4e1cc7 moved tests that need special care into misc dir 2014-11-22 19:42:39 +01:00
mrdudz
6144063a6d fixed up the rest of the tests, added rudimentary makefile(s) 2014-11-22 18:28:05 +01:00
mrdudz
ca300826cf added tests as prepared by oliver 2014-09-25 21:38:34 +02:00