This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Development offering
#4
Great then!

I will check the jpcsp sourcecode when I get some time and I will see how to do that.
In my emulator I run automated tests using the command line.

:: pspemu.exe --unit_tests

It launches all the tests I have done. It iterates recursively the tests_ex folder searching for .expected files. Then search for a file with the same name and .elf extension and executes it. It compares the Kprintf ouput with the one in the .expected file and shows a visual diff of the changes.

Also I can run only one tests or a few ones while I'm developing a functionality:

:: pspemu.exe --unit_tests cwd

Then before every commit I launch all the tests to check if I have introduced any regression. The more tests covering all the psp API, the less regressions can I make because I launch every test on every commit. (Still some are failing sometimes because of the multithreaded cpu execution [it introduces some indeterminacy on execution]).

In order to make this on jpcsp, I will need to start a new emulation state or reset a previous one. In a way I can load/unload several executables in a single run. And all the stuff should be independant of the display, and don't have static states that can't be resetted.
Then I will have to implement Kprintf on jpcsp and allow to hook it to be able to check on the automated tests.

At this stage it is easy to start and restart the emulation?
Reply


Messages In This Thread
Development offering - by soywiz - 07-26-2011, 11:40 AM
RE: Development offering - by Hykem - 07-26-2011, 05:13 PM
RE: Development offering - by gid15 - 07-26-2011, 08:28 PM
RE: Development offering - by soywiz - 07-26-2011, 10:53 PM
RE: Development offering - by Hykem - 07-27-2011, 03:38 PM
RE: Development offering - by Butz_san - 07-27-2011, 03:58 AM
RE: Development offering - by soywiz - 07-27-2011, 05:21 PM
RE: Development offering - by Orphis - 07-29-2011, 01:06 PM
RE: Development offering - by gid15 - 07-30-2011, 07:30 AM
RE: Development offering - by gid15 - 07-30-2011, 11:27 AM
RE: Development offering - by soywiz - 07-31-2011, 12:47 PM
RE: Development offering - by soywiz - 08-01-2011, 01:04 AM
RE: Development offering - by soywiz - 08-01-2011, 04:01 AM
RE: Development offering - by hlide - 08-02-2011, 02:45 AM
RE: Development offering - by Orphis - 08-05-2011, 12:17 AM
RE: Development offering - by soywiz - 08-05-2011, 04:03 PM
RE: Development offering - by Orphis - 08-05-2011, 04:22 PM
RE: Development offering - by soywiz - 08-07-2011, 09:50 PM
RE: Development offering - by Orphis - 08-08-2011, 02:15 AM
RE: Development offering - by beanclr - 08-14-2011, 10:55 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)