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

33 Commits

Author SHA1 Message Date
bbbradsmith
aad64063c9 makefiles no longer need comment about sim65 64-bit support 2023-05-07 16:33:07 -04:00
bbbradsmith
84f0ab322d sim65: cycles does not increment 1 at a time, so some small overhead is needed in range check 2023-05-06 13:54:28 -04:00
bbbradsmith
f2e7609046 sim65 cycles 32-bit range fix
long is 64-bit on some platforms, making this inconsistent, added range check to catch overflow.
reduced tests requesting 5 billion cycles to 2^32-1 so they can fun on 32-bit long sim65.
2023-05-05 21:45:57 -04:00
Bob Andrews
22ea30c75f
"cat" result to console on failure (only on *nix right now) 2022-08-23 11:56:05 +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
Oliver Schmidt
c658acbf85 Avoid cl65 in tests.
cl65 creates intermediate files based on the source file name in the source file directory. Calling cl65 in parallel with the same source file causes those intermediate files to get overwritten.

Fixes #1080
2020-08-26 20:39:34 +02:00
mrdudz
a4f1e37f0c increase the maximum amount of cycles, else the shift test will fail 2020-07-13 21:26:31 +02:00
Jesse Rosenstock
df97570471 Set .NOTPARALLEL in test/misc and test/val
The cl65 intermediate files stomp each other in
these directories.
2020-07-10 13:08:19 +02:00
Greg King
a0db846a97 Allowed old-style (K and R) function declarations to be fastcall.
That lets them match old-style definitions.  It avoids "Type conflict" error messages.  It allows shorter function calls.

Fixed the types of some variables in "test/ref/otccex.c".  It avoids crashes on 64-bit Windows (32-bit Windows with 64-bit pointers).
2019-07-22 09:26:23 -04:00
greg-king5
a397a8c1a1 Added missing -O configuration. 2017-06-07 10:20:20 -04:00
Oliver Schmidt
5b3611265b Revert to recursively expanded var.
4a6bca0b56 needed to move to a simply expanded variable but cc82cd9992 made that unnecessary again.
2017-03-21 20:54:55 +01:00
IrgendwerA8
cc82cd9992 Fixed addressing error for TSB/TSR and enabled tests again. 2017-03-20 21:53:07 +01:00
Oliver Schmidt
0851e3d694 Allow to control test Makefile output via QUIET (like libsrc). 2017-03-20 11:22:04 +01:00
Oliver Schmidt
50174d9860 Hide stdout of tests returning an exit code.
Now that we doubled our tests by running them for both 6502 and 65C02 Travis CI complains (again) about a too long build output. So let's reduce it by omitting the (useless) stdout of tests.
2017-03-19 20:32:23 +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
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
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
8a66605d5e added some windows/cmd.exe stuff 2014-11-23 12:18:19 +01:00
mrdudz
6144063a6d fixed up the rest of the tests, added rudimentary makefile(s) 2014-11-22 18:28:05 +01:00
mrdudz
20072a379c added makefile and common include 2014-11-22 17:02:46 +01:00