Headless: Update passing tests.

Also make GitHub Actions run only passing.
This commit is contained in:
Unknown W. Brackets 2022-01-20 21:57:42 -08:00
parent c9dee44cfc
commit 47a8e5e612
3 changed files with 180 additions and 56 deletions

View File

@ -104,7 +104,7 @@ jobs:
- name: Execute tests
working-directory: ${{ env.GITHUB_WORKSPACE }}
run: python test.py --graphics=software
run: python test.py -g --graphics=software
build:
strategy:
@ -320,4 +320,4 @@ jobs:
- name: Execute tests
working-directory: ${{ env.GITHUB_WORKSPACE }}
run: python test.py --graphics=software
run: python test.py -g --graphics=software

@ -1 +1 @@
Subproject commit 1047400eaec6bcbdb2a64d326375ef6a6617c4ac
Subproject commit 455fb613edc884d9ae54a95b5393ee35b964902f

230
test.py
View File

@ -64,19 +64,38 @@ class Command(object):
# These have worked and should keep working always - regression tests.
tests_good = [
"cpu/cpu_alu/cpu_alu",
"cpu/cpu_alu/cpu_branch",
"cpu/cpu_alu/cpu_branch2",
"cpu/vfpu/colors",
"cpu/vfpu/convert",
"cpu/vfpu/gum",
"cpu/vfpu/matrix",
"cpu/vfpu/prefixes",
"cpu/vfpu/vector",
"cpu/vfpu/vavg",
"cpu/icache/icache",
"cpu/lsu/lsu",
"cpu/fpu/fpu",
"audio/atrac/addstreamdata",
"audio/atrac/atractest",
"audio/atrac/decode",
"audio/atrac/getremainframe",
"audio/atrac/getsoundsample",
"audio/atrac/ids",
"audio/atrac/resetpos",
"audio/atrac/resetting",
"audio/atrac/second/getinfo",
"audio/atrac/second/needed",
"audio/atrac/second/setbuffer",
"audio/atrac/setdata",
"audio/mp3/checkneeded",
"audio/mp3/initresource",
"audio/mp3/mp3test",
"audio/mp3/release",
"audio/mp3/reserve",
"audio/output2/changelength",
"audio/output2/reserve",
"audio/output2/threads",
"audio/reverb/basic",
"audio/reverb/volume",
"audio/sascore/sascore",
"audio/sascore/adsrcurve",
"audio/sascore/getheight",
@ -95,7 +114,11 @@ tests_good = [
"ctrl/vblank",
"display/display",
"display/vblankmulti",
"display/isstate",
"display/setframebuf",
"display/setmode",
"dmac/dmactest",
"font/altcharcode",
"font/charimagerect",
"font/find",
"font/fontinfo",
@ -104,13 +127,40 @@ tests_good = [
"font/optimum",
"font/shadowimagerect",
"gpu/callbacks/ge_callbacks",
"gpu/clut/address",
"gpu/clut/masks",
"gpu/clut/offset",
"gpu/clut/shifts",
"gpu/commands/basic",
"gpu/commands/blocktransfer",
"gpu/commands/material",
"gpu/filtering/linear",
"gpu/filtering/nearest",
"gpu/ge/context",
"gpu/ge/edram",
"gpu/ge/enqueueparam",
"gpu/ge/queue",
"gpu/primitives/indices",
"gpu/rendertarget/depal",
"gpu/signals/pause",
"gpu/signals/pause2",
"gpu/signals/suspend",
"gpu/signals/sync",
"gpu/texcolors/dxt1",
"gpu/texcolors/dxt3",
"gpu/texcolors/dxt5",
"gpu/texcolors/rgb565",
"gpu/texcolors/rgba4444",
"gpu/texcolors/rgba5551",
"gpu/texfunc/add",
"gpu/texfunc/blend",
"gpu/texfunc/decal",
"gpu/texfunc/modulate",
"gpu/texfunc/replace",
"hash/hash",
"hle/check_not_used_uids",
"intr/intr",
"intr/enablesub",
"intr/suspended",
"intr/vblank/vblank",
"io/cwd/cwd",
@ -123,7 +173,13 @@ tests_good = [
"misc/testgp",
"misc/timeconv",
"mstick/mstick",
"power/cpu",
"power/power",
"power/volatile/lock",
"power/volatile/trylock",
"power/volatile/unlock",
"rtc/rtc",
"rtc/arithmetic",
"string/string",
"sysmem/freesize",
"sysmem/memblock",
@ -153,8 +209,8 @@ tests_good = [
"threads/fpl/create",
"threads/fpl/delete",
"threads/fpl/free",
"threads/fpl/refer",
"threads/fpl/priority",
"threads/fpl/refer",
"threads/fpl/tryallocate",
"threads/k0/k0",
"threads/lwmutex/create",
@ -216,7 +272,11 @@ tests_good = [
"threads/threads/threadmanidlist",
"threads/threads/threadmanidtype",
"threads/threads/threads",
"threads/wakeup/wakeup",
"threads/tls/create",
"threads/tls/delete",
"threads/tls/free",
"threads/tls/priority",
"threads/tls/refer",
"threads/vpl/allocate",
"threads/vpl/cancel",
"threads/vpl/delete",
@ -239,69 +299,63 @@ tests_good = [
"threads/vtimers/settime",
"threads/vtimers/start",
"threads/vtimers/stop",
"threads/wakeup/wakeup",
"utility/savedata/autosave",
"utility/savedata/filelist",
"utility/savedata/makedata",
"utility/systemparam/systemparam",
"power/power",
"power/volatile/lock",
"power/volatile/trylock",
"power/volatile/unlock",
"umd/register",
"umd/callbacks/umd",
"io/directory/directory",
"umd/register",
"video/mpeg/ringbuffer/avail",
"video/mpeg/ringbuffer/construct",
"video/mpeg/ringbuffer/destruct",
"video/mpeg/ringbuffer/memsize",
"video/mpeg/ringbuffer/packnum",
"video/psmfplayer/getvideodata",
"video/psmfplayer/break",
"video/psmfplayer/create",
"video/psmfplayer/delete",
"video/psmfplayer/getaudiodata",
"video/psmfplayer/getaudiooutsize",
"video/psmfplayer/getcurrentpts",
"video/psmfplayer/getcurrentstatus",
"video/psmfplayer/getcurrentstream",
"video/psmfplayer/getpsmfinfo",
"video/psmfplayer/releasepsmf",
"video/psmfplayer/selectspecific",
"video/psmfplayer/setpsmf",
"video/psmfplayer/settempbuf",
"video/psmfplayer/stop",
]
tests_next = [
# These are the next tests up for fixing. These run by default.
"cpu/cpu_alu/cpu_branch",
"cpu/fpu/fcr",
"audio/atrac/atractest",
"audio/atrac/decode",
"audio/atrac/resetting",
"cpu/vfpu/convert",
"cpu/vfpu/prefixes",
"cpu/vfpu/vector",
"cpu/vfpu/vregs",
"audio/atrac/replay",
"audio/atrac/second/resetting",
"audio/sceaudio/datalen",
"audio/sceaudio/output",
"audio/sceaudio/reserve",
"audio/sascore/setadsr",
"audio/mp3/getbitrate",
"audio/mp3/getchannel",
"audio/mp3/getframenum",
"audio/mp3/getloopnum",
"audio/mp3/getmaxoutput",
"audio/mp3/getmpegversion",
"audio/mp3/getsamplerate",
"audio/mp3/getsumdecoded",
"audio/mp3/infotoadd",
"audio/mp3/init",
"audio/mp3/notifyadd",
"audio/mp3/setloopnum",
"audio/output2/frequency",
"audio/output2/release",
"audio/output2/rest",
"ccc/convertstring",
"display/hcount",
"intr/waits",
"threads/callbacks/cancel",
"threads/callbacks/count",
"threads/callbacks/notify",
"threads/scheduling/dispatch",
"threads/scheduling/scheduling",
"threads/threads/create",
"threads/threads/terminate",
"threads/vpl/create",
"utility/savedata/getsize",
"utility/savedata/idlist",
"utility/savedata/sizes",
"utility/msgdialog/abort",
"utility/msgdialog/dialog",
"gpu/commands/basic",
"gpu/commands/blend",
"gpu/commands/material",
"gpu/complex/complex",
"gpu/displaylist/state",
"gpu/ge/break",
"gpu/ge/get",
"gpu/reflection/reflection",
"gpu/rendertarget/rendertarget",
"gpu/signals/continue",
"gpu/signals/jumps",
"gpu/signals/pause",
"gpu/signals/simple",
"gpu/signals/suspend",
"gpu/signals/sync",
"gpu/simple/simple",
"gpu/triangle/triangle",
"font/fonttest",
"font/altcharcode",
"font/charglyphimage",
"font/charglyphimageclip",
"font/charinfo",
@ -313,29 +367,99 @@ tests_next = [
"font/shadowglyphimage",
"font/shadowglyphimageclip",
"font/shadowinfo",
"gpu/clipping/guardband",
"gpu/commands/blend",
"gpu/commands/blend565",
"gpu/commands/cull",
"gpu/commands/light",
"gpu/complex/complex",
"gpu/depth/precision",
"gpu/displaylist/alignment",
"gpu/displaylist/state",
"gpu/dither/dither",
"gpu/filtering/mipmaplinear",
"gpu/ge/break",
"gpu/ge/get",
"gpu/primitives/bezier",
"gpu/primitives/continue",
"gpu/primitives/invalidprim",
"gpu/primitives/lines",
"gpu/primitives/linestrip",
"gpu/primitives/points",
"gpu/primitives/rectangles",
"gpu/primitives/spline",
"gpu/primitives/trianglefan",
"gpu/primitives/triangles",
"gpu/primitives/trianglestrip",
"gpu/reflection/reflection",
"gpu/rendertarget/copy",
"gpu/rendertarget/rendertarget",
"gpu/signals/continue",
"gpu/signals/jumps",
"gpu/signals/simple",
"gpu/simple/simple",
"gpu/textures/mipmap",
"gpu/textures/rotate",
"gpu/triangle/triangle",
"gpu/vertices/colors",
"gpu/vertices/texcoords",
"intr/registersub",
"intr/releasesub",
"intr/waits",
"io/directory/directory",
"io/file/file",
"io/file/rename",
"io/io/io",
"io/iodrv/iodrv",
"io/open/tty0",
# Doesn't work on a PSP for security reasons, hangs in PPSSPP currently.
# Commented out to make tests run much faster.
#"modules/loadexec/loader",
"net/http/http",
"net/primary/ether",
"power/cpu",
"power/freq",
"rtc/arithmetic",
"rtc/convert",
"rtc/lookup",
"sysmem/partition",
"threads/callbacks/cancel",
"threads/callbacks/count",
"threads/callbacks/notify",
"threads/scheduling/dispatch",
"threads/scheduling/scheduling",
"threads/threads/create",
"threads/threads/terminate",
"threads/tls/get",
"threads/vpl/create",
"umd/io/umd_io",
"umd/raw_access/raw_access",
"umd/wait/wait",
"utility/msgdialog/abort",
"utility/msgdialog/dialog",
"utility/savedata/filelist",
"utility/savedata/getsize",
"utility/savedata/idlist",
# These tests appear to be broken and just hang.
#"utility/savedata/deletebroken",
#"utility/savedata/deletedata",
#"utility/savedata/deleteemptyfilename",
#"utility/savedata/loadbroken",
#"utility/savedata/loaddata",
#"utility/savedata/loademptyfilename",
#"utility/savedata/saveemptyfilename",
"utility/savedata/secureversion",
"utility/savedata/sizes",
"utility/systemparam/systemparam",
"video/mpeg/basic",
"video/mpeg/ringbuffer/avail",
"video/pmf/pmf",
"video/pmf_simple/pmf_simple",
"video/psmfplayer/basic",
"video/psmfplayer/configplayer",
"video/psmfplayer/getvideodata",
"video/psmfplayer/playmode",
"video/psmfplayer/selectstream",
"video/psmfplayer/setpsmfoffset",
"video/psmfplayer/start",
"video/psmfplayer/update",
]