You are not logged in -
nap
CSDb User Forums
Forums
>
C64 Coding
>
Automatic regression testing
2014-06-22
23:18
Martin Piper
Registered: Nov 2007
Posts: 722
Automatic regression testing
At the moment what I do for automatic regression of multiplexor code is to have an external process capture thousands of lossless screenshots of the VICE window as it is running.
Meanwhile the C64 code will run through an endless cycle of animating sprite formations while mainline running code that uses different length opcodes across the frames. This is to ensure that any raster IRQs are triggered at different scan line cycle offsets. It basically causes jitter to make sure the multiplexor doesn't unexpectedly cause visual bugs when being used.
I then post process these screenshots and have some code to detect any sprite bugs, it then detects the frame count which is displayed in the background at certain points.
However this isn't that optimal because it means I have to re-run the test and advance to that frame count to try to debug the code. It also takes ages since VICE has to be running and generating non-warp video output to a Window.
What would be ideal is to be able to run VICE in warp console mode and to be able to reliably do the following:
Every frame:
Break point at the bottom of the screen.
Dump a BMP.
Wait for the external tool to regression test.
If there is a problem save a snapshot with CPU execution history that contains exact cycle counts.
Continue the test and keep logging test data.
Does anybody else do this with the Windows build?
... 28 posts hidden. Click
here
to view all posts....
Previous
-
1
|
2
| 3 |
4
-
Next
Refresh
Subscribe to this thread:
You need to be logged in to post in the forum.
Search the forum:
Search
All forums
C64 Coding
C64 Composing
C64 Pixeling
C64 Productions
CSDb Bug Reports
CSDb Development
CSDb Discussions
CSDb Entries
CSDb Feedback
CSDb Info
CSDb moderators
CSDb Questions
Messages to moderators
Requests
for
in
Writer & text
Text
Writer
All times are CET.
Search CSDb
All
Releases
Groups
Sceners
Events
BBS
SIDs
-------
Forum
Comments
Advanced
Users Online
rexbeng
zscs
Paulko64
Guests online: 104
Top Demos
1
Next Level
(9.7)
2
13:37
(9.7)
3
Mojo
(9.7)
4
Coma Light 13
(9.6)
5
Edge of Disgrace
(9.6)
6
What Is The Matrix 2
(9.6)
7
The Demo Coder
(9.6)
8
Uncensored
(9.6)
9
Comaland 100%
(9.6)
10
Wonderland XIV
(9.6)
Top onefile Demos
1
No Listen
(9.6)
2
Layers
(9.6)
3
Cubic Dream
(9.6)
4
Party Elk 2
(9.6)
5
Copper Booze
(9.6)
6
Dawnfall V1.1
(9.5)
7
Rainbow Connection
(9.5)
8
Onscreen 5k
(9.5)
9
Morph
(9.5)
10
Libertongo
(9.5)
Top Groups
1
Performers
(9.3)
2
Booze Design
(9.3)
3
Oxyron
(9.3)
4
Triad
(9.3)
5
Censor Design
(9.3)
Top Webmasters
1
Slaygon
(9.6)
2
Perff
(9.6)
3
Sabbi
(9.5)
4
Morpheus
(9.4)
5
CreaMD
(9.1)
Home
-
Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.047 sec.