[gnome-games/wip/exalm/hunchy: 2/3] flatpak: Fix desmume2015.pong-ds test



commit bbf78643463214539966c196d310df030c249775
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Thu May 2 21:22:00 2019 +0500

    flatpak: Fix desmume2015.pong-ds test

 flatpak/org.gnome.Games.UnitTests.yml      | 2 +-
 flatpak/tests/desmume2015.pong-ds.expected | 5 +++++
 flatpak/tests/test-data.json               | 5 +++++
 3 files changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/flatpak/org.gnome.Games.UnitTests.yml b/flatpak/org.gnome.Games.UnitTests.yml
index 390509f2..8b86a8ee 100644
--- a/flatpak/org.gnome.Games.UnitTests.yml
+++ b/flatpak/org.gnome.Games.UnitTests.yml
@@ -63,7 +63,7 @@ modules:
         commands:
           - /app/libexec/installed-tests/retro-gtk-0.14/retro-reftest /app/tests/blastem.240pSuite.test 2>&1 
| diff /app/tests/blastem.240pSuite.expected -
           - /app/libexec/installed-tests/retro-gtk-0.14/retro-reftest 
/app/tests/bsnes_mercury_balanced.240pSuite.test 2>&1 | diff 
/app/tests/bsnes_mercury_balanced.240pSuite.expected -
-          - /app/libexec/installed-tests/retro-gtk-0.14/retro-reftest /app/tests/desmume2015.pong-ds.test
+          - /app/libexec/installed-tests/retro-gtk-0.14/retro-reftest /app/tests/desmume2015.pong-ds.test 
2>&1 | diff /app/tests/desmume2015.pong-ds.expected -
           - /app/libexec/installed-tests/retro-gtk-0.14/retro-reftest /app/tests/gambatte.OpenMAZE.test 2>&1 
| diff /app/tests/gambatte.OpenMAZE.expected -
           - /app/libexec/installed-tests/retro-gtk-0.14/retro-reftest 
/app/tests/mednafen_pce_fast.240pSuite.test 2>&1 | diff /app/tests/mednafen_pce_fast.240pSuite.expected -
           - /app/libexec/installed-tests/retro-gtk-0.14/retro-reftest /app/tests/mgba.nomad2_full.test 2>&1 
| diff /app/tests/mgba.nomad2_full.expected -
diff --git a/flatpak/tests/desmume2015.pong-ds.expected b/flatpak/tests/desmume2015.pong-ds.expected
new file mode 100644
index 00000000..6b354fd5
--- /dev/null
+++ b/flatpak/tests/desmume2015.pong-ds.expected
@@ -0,0 +1,5 @@
+/desmume2015/pong-ds/Boot: OK
+/desmume2015/pong-ds/Options: OK
+/desmume2015/pong-ds/2/FastForward: OK
+/desmume2015/pong-ds/2/Run: OK
+/desmume2015/pong-ds/2/Video: OK
diff --git a/flatpak/tests/test-data.json b/flatpak/tests/test-data.json
index dd1ef0b8..00b8c29a 100644
--- a/flatpak/tests/test-data.json
+++ b/flatpak/tests/test-data.json
@@ -41,6 +41,11 @@
                     "path" : "desmume2015.pong-ds.2.png",
                     "dest-filename" : "desmume2015.pong-ds.2.png"
                 },
+                {
+                    "type" : "file",
+                    "path" : "desmume2015.pong-ds.expected",
+                    "dest-filename" : "desmume2015.pong-ds.expected"
+                },
                 {
                     "type" : "file",
                     "path" : "desmume2015.pong-ds.test",


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