mirror of
https://github.com/RPCS3/ps3autotests.git
synced 2024-11-08 11:52:58 +01:00
Test added: cpu/hello_world
This commit is contained in:
parent
69aef39c36
commit
a36000e202
@ -3,9 +3,9 @@ PS3 Autotests
|
|||||||
|
|
||||||
A repository of PS3 programs performing several tests on the PS3 platform. Inspired by the [PSP Autotests](https://github.com/hrydgard/pspautotests) repository, and shares some goals with it and proposes some other ones:
|
A repository of PS3 programs performing several tests on the PS3 platform. Inspired by the [PSP Autotests](https://github.com/hrydgard/pspautotests) repository, and shares some goals with it and proposes some other ones:
|
||||||
|
|
||||||
|
* Provide a platform for benchmarking PS3 emulators and comparing their performance with a real PS3.
|
||||||
* Allow people to see how to use some obscure-newly-discovered APIs and features.
|
* Allow people to see how to use some obscure-newly-discovered APIs and features.
|
||||||
* Allow PS3 emulators to avoid some regressions while performing refactorings and to have a reference while implementing APIs.
|
* Allow PS3 emulators to avoid some regressions while performing refactorings and to have a reference while implementing APIs.
|
||||||
* Provide a platform for benchmarking PS3 emulators and comparing their performance with a real PS3.
|
|
||||||
|
|
||||||
The main idea behind this is having several files per test unit:
|
The main idea behind this is having several files per test unit:
|
||||||
|
|
||||||
|
7
tests/cpu/hello_world/hello_world.c
Normal file
7
tests/cpu/hello_world/hello_world.c
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main(void)
|
||||||
|
{
|
||||||
|
printf("Hello World!\n");
|
||||||
|
return 0;
|
||||||
|
}
|
1
tests/cpu/hello_world/hello_world.expected
Normal file
1
tests/cpu/hello_world/hello_world.expected
Normal file
@ -0,0 +1 @@
|
|||||||
|
Hello World!
|
BIN
tests/cpu/hello_world/hello_world.ppu.self
Normal file
BIN
tests/cpu/hello_world/hello_world.ppu.self
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user