[gnome-games] flatpak: Add a PCSX ReARMed test



commit 1cd92898da1a90febae3cb0e210540130026f6bd
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Tue Apr 17 20:50:35 2018 +0200

    flatpak: Add a PCSX ReARMed test

 flatpak/org.gnome.Games.UnitTests.json            |   5 ++++-
 flatpak/tests/240p-test-suite-ps1.json            |  15 +++++++++++++++
 flatpak/tests/pcsx_rearmed.240pTestSuitePS1.8.png | Bin 0 -> 916 bytes
 flatpak/tests/pcsx_rearmed.240pTestSuitePS1.test  |   8 ++++++++
 flatpak/tests/test-data.json                      |  14 +++++++++++++-
 5 files changed, 40 insertions(+), 2 deletions(-)
---
diff --git a/flatpak/org.gnome.Games.UnitTests.json b/flatpak/org.gnome.Games.UnitTests.json
index 6daf09c..b3767e9 100644
--- a/flatpak/org.gnome.Games.UnitTests.json
+++ b/flatpak/org.gnome.Games.UnitTests.json
@@ -41,8 +41,10 @@
         "libretro-cores/libretro-bsnes.json",
         "libretro-cores/libretro-nestopia.json",
         "libretro-cores/libretro-mednafen_pce_fast.json",
+        "libretro-cores/libretro-pcsx_rearmed.json",
         "tests/240p-test-suite-nes.json",
         "tests/240p-test-suite-pce.json",
+        "tests/240p-test-suite-ps1.json",
         "tests/240p-test-suite-snes.json",
         "tests/test-data.json",
         {
@@ -59,7 +61,8 @@
                     "commands" : [
                         "retro-reftest /app/tests/bsnes_balanced.240pSuite.test",
                         "retro-reftest /app/tests/mednafen_pce_fast.240pSuite.test",
-                        "retro-reftest /app/tests/nestopia.240pee.test"
+                        "retro-reftest /app/tests/nestopia.240pee.test",
+                        "retro-reftest /app/tests/pcsx_rearmed.240pTestSuitePS1.test"
                     ],
                     "dest-filename" : "games-unit-tests"
                 },
diff --git a/flatpak/tests/240p-test-suite-ps1.json b/flatpak/tests/240p-test-suite-ps1.json
new file mode 100644
index 0000000..f672907
--- /dev/null
+++ b/flatpak/tests/240p-test-suite-ps1.json
@@ -0,0 +1,15 @@
+        {
+            "name" : "240p-test-suite-ps1",
+            "buildsystem" : "simple",
+            "build-commands" : [
+                "mkdir -p /app/tests/",
+                "install -m644 -pD binary/240pTestSuitePS1.bin /app/tests/240pTestSuitePS1.bin",
+                "install -m644 -pD binary/240pTestSuitePS1.cue /app/tests/240pTestSuitePS1.cue"
+            ],
+            "sources" : [
+                {
+                    "type": "git",
+                    "url": "https://github.com/filipalac/240pTestSuite-PS1.git";
+                }
+            ]
+        }
diff --git a/flatpak/tests/pcsx_rearmed.240pTestSuitePS1.8.png 
b/flatpak/tests/pcsx_rearmed.240pTestSuitePS1.8.png
new file mode 100644
index 0000000..df9d30d
Binary files /dev/null and b/flatpak/tests/pcsx_rearmed.240pTestSuitePS1.8.png differ
diff --git a/flatpak/tests/pcsx_rearmed.240pTestSuitePS1.test 
b/flatpak/tests/pcsx_rearmed.240pTestSuitePS1.test
new file mode 100644
index 0000000..50340e4
--- /dev/null
+++ b/flatpak/tests/pcsx_rearmed.240pTestSuitePS1.test
@@ -0,0 +1,8 @@
+[Retro Reftest]
+Path=/pcsx_rearmed/240pTestSuitePS1
+Core=/app/lib/libretro/pcsx_rearmed_libretro.so
+Medias=240pTestSuitePS1.cue;
+
+[Frame 8]
+Tests=Run;Video;
+Video=pcsx_rearmed.240pTestSuitePS1.8.png
diff --git a/flatpak/tests/test-data.json b/flatpak/tests/test-data.json
index 788298f..f8f8931 100644
--- a/flatpak/tests/test-data.json
+++ b/flatpak/tests/test-data.json
@@ -8,7 +8,9 @@
                 "install -m644 -pD mednafen_pce_fast.240pSuite.120.png 
/app/tests/mednafen_pce_fast.240pSuite.120.png",
                 "install -m644 -pD mednafen_pce_fast.240pSuite.test 
/app/tests/mednafen_pce_fast.240pSuite.test",
                 "install -m644 -pD nestopia.240pee.120.png /app/tests/nestopia.240pee.120.png",
-                "install -m644 -pD nestopia.240pee.test /app/tests/nestopia.240pee.test"
+                "install -m644 -pD nestopia.240pee.test /app/tests/nestopia.240pee.test",
+                "install -m644 -pD pcsx_rearmed.240pTestSuitePS1.test 
/app/tests/pcsx_rearmed.240pTestSuitePS1.test",
+                "install -m644 -pD pcsx_rearmed.240pTestSuitePS1.8.png 
/app/tests/pcsx_rearmed.240pTestSuitePS1.8.png"
             ],
             "sources" : [
                 {
@@ -40,6 +42,16 @@
                     "type" : "file",
                     "path" : "nestopia.240pee.test",
                     "dest-filename" : "nestopia.240pee.test"
+                },
+                {
+                    "type" : "file",
+                    "path" : "pcsx_rearmed.240pTestSuitePS1.8.png",
+                    "dest-filename" : "pcsx_rearmed.240pTestSuitePS1.8.png"
+                },
+                {
+                    "type" : "file",
+                    "path" : "pcsx_rearmed.240pTestSuitePS1.test",
+                    "dest-filename" : "pcsx_rearmed.240pTestSuitePS1.test"
                 }
             ]
         }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]