mrdudz
fee2b834b0
fix float const - int var
2023-09-02 00:08:21 +02:00
mrdudz
9481f7a498
fix const int + float
2023-09-01 23:43:02 +02:00
mrdudz
6f004dadf7
fix float const -/ int const
2023-09-01 22:15:52 +02:00
mrdudz
86d0859d8d
evil spaces
2023-08-31 05:20:34 +02:00
mrdudz
abe65d524d
make float X= const work, and a test for that
2023-08-31 05:04:02 +02:00
mrdudz
ab238c1045
some fixes for X=, related tests
2023-08-31 00:44:03 +02:00
mrdudz
681fe5d562
update/add a bunch of tests. should be all for "basic" and "cmp" now
2023-08-30 02:12:43 +02:00
mrdudz
771155ff02
add tests for float vs int var
2023-08-29 14:50:26 +02:00
mrdudz
bb24862401
cleanup
2023-08-29 12:07:19 +02:00
mrdudz
dd5f12b352
fix int variable + float constant, fix float variable + int constant, add tests
2023-08-29 12:00:17 +02:00
mrdudz
3164917f46
cleanup
2023-08-29 03:15:54 +02:00
mrdudz
2e220e709e
some fixes relalated to comparing with integer constants, related tests. some fixes related to adding integers, related tests
2023-08-29 01:11:59 +02:00
mrdudz
f587e6eaf9
add code for fnegeax, and tests for it
2023-08-27 05:15:04 +02:00
mrdudz
b034fe35fc
another case that doesnt fail
2023-08-26 23:14:50 +02:00
mrdudz
ac320910ca
updated
2023-08-26 23:08:51 +02:00
mrdudz
fa347d416a
move test to todo again, and patch the Makefile - it works in *one* particular config (only)
2023-08-26 22:34:25 +02:00
mrdudz
0c69e4e290
move test to test/val ... for some reason it is working now in this branch :)
2023-08-26 21:48:35 +02:00
mrdudz
fcad1067ad
fix some fallout
2023-08-25 23:04:13 +02:00
mrdudz
0f7c299abc
Merge branch 'master' into fptest
...
# Conflicts:
# src/cc65/expr.c
# test/todo/Makefile
2023-07-08 15:56:45 +02:00
mrdudz
c8aa9cc703
add struct assign check related to #2079
2023-05-29 17:20:09 +02:00
Bob Andrews
652949f183
Merge pull request #2104 from Movax12/remove-feature-requirement-addrsize
...
ca65: Remove .feature requirement for .addrsize
2023-05-22 00:39:04 +02:00
Bob Andrews
9ff7b88192
Merge pull request #2113 from polluks2/patch-9
...
Unified NULL #2110
2023-05-19 16:06:46 +02:00
polluks2
8ff008722b
Fixed test
...
Don't define NULL yourself. QED
2023-05-19 02:49:49 +02:00
Bob Andrews
70bf4d492b
Merge pull request #2105 from bbbradsmith/sim65-64bit-cycle-count
...
Sim65 64bit cycle count
2023-05-16 15:53:23 +02:00
bbbradsmith
5a30d746b4
extern/static conflict test: remove warning as errors to match the new expected cases
2023-05-11 20:15:27 -04:00
bbbradsmith
3419cbd348
sim65 64-bit cycle count tests
...
These take ~10 seconds to run locally
2023-05-07 16:33:47 -04:00
bbbradsmith
aad64063c9
makefiles no longer need comment about sim65 64-bit support
2023-05-07 16:33:07 -04:00
mvax
bee29dedd1
fix feature.s test
2023-05-06 17:11:57 -04:00
mvax
560085cb17
modify and add tests
2023-05-06 16:22:04 -04:00
Bob Andrews
9c70235173
Merge pull request #2096 from Movax12/BugFix-for-ismnemonic-function
...
Bugfix for the .ISMNEMONIC, .ISMNEM builtin function
2023-05-06 21:42:59 +02:00
Bob Andrews
9c27084fa5
Merge pull request #2084 from bbbradsmith/numerical_constant_errors-int
...
Numerical constant errors and improvements (integer)
2023-05-06 21:36:59 +02:00
Bob Andrews
7b40515506
Merge pull request #2099 from bbbradsmith/split2092-sim65-fix
...
sim65 fix platform-dependent issues
2023-05-06 20:36:59 +02: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
mvax
fe35386b79
add test - add overloading instruction test
2023-05-06 12:56:34 -04:00
bbbradsmith
df749abbfb
libtest target alternative to libs
...
saves me about 20 minutes if I only want to run tests
2023-05-05 21:56:52 -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
mvax
dd0a2bf1bc
add test - fix stlye
2023-05-05 19:10:16 -04:00
mvax
7994889213
add test - fix again
2023-05-05 19:07:14 -04:00
mvax
c5cf32ac47
add test - fix
2023-05-05 18:50:44 -04:00
mvax
18570d18b8
add test
2023-05-05 18:43:10 -04:00
Bob Andrews
a325c95652
Merge pull request #2090 from bbbradsmith/split2089-make-test-standard
...
add test/standard to test makefile
2023-05-05 20:42:57 +02:00
Bob Andrews
7a040978d7
Merge pull request #2088 from bbbradsmith/struct-3byte-misc-todo
...
guard test to ensure 3-byte struct isn't re-enabled without evaluation by accident
2023-05-05 20:39:37 +02:00
bbbradsmith
5c20fb2812
test/todo makefile uses testwrk/val by mistake
2023-05-05 11:28:42 -04:00
bbbradsmith
9f3e47e9c9
test/standard was never added to test makefile
2023-05-05 11:04:31 -04:00
bbbradsmith
cfc8a41a03
guard test to ensure 3-byte struct isn't re-enabled without evaluation by accident
2023-05-04 17:07:34 -04:00
Bob Andrews
a7676bdff5
Merge pull request #2075 from bbbradsmith/struct-duplicate-member-error
...
Error for struct/union with a duplicate member
2023-05-04 22:43:17 +02:00
bbbradsmith
84eafb7f9c
err test for struct with duplicate member
2023-05-03 21:09:03 -04:00
bbbradsmith
b5f255f912
Test case for const-overflow warnings
2023-05-03 19:54:40 -04:00
bbbradsmith
e3cb8dfb9b
Numerical constant scanner requires explicitly 32-bit sized type for cross-platform consistency
2023-05-03 19:27:37 -04:00
Bob Andrews
45bdeb62ad
Merge pull request #2070 from bbbradsmith/fix2060
...
RHS primary integer promotion must happen after loading the primary, not before
2023-05-03 23:57:19 +02:00