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
#11
I have moved my tests to the new project and added an external to dpspemu. http://code.google.com/p/pspautotests/
Also I have added several of the jpcsp owners as owners of the project (feel free to add the people you think can help with this).

At the moment, most of the tests uses a pspDebugPrintf + Kprintf. The main problem is that psp doesn't run them on usermode.
Maybe we can hook normal printf output to a file like SDL does, or output via Kprintf on emulators. Or maybe a simple approach could be to have a special file: for example ms0:/__testoutput.txt that would be hooked by emulators and interpreted as testing output.

Also we have to check several tests.
For example. My CWD tests expects the program to be here 'ms0:/PSP/GAME/virtual':

http://code.google.com/p/pspautotests/so...d.expected

Since my VirtualFileSystem is pretty flexible, allows to mount filesystems on any folder like *nix does. So I mount 'ms0:/PSP/GAME/virtual' on the executable folder on homebrew applications, also disallowing the access of the parent's root folder.
To have universal tests we should agree in some conventions like that.
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)