[tracker-miners/sam/ft-changes] functional-tests: Skip 600-applications-camera correctly



commit ee0dab7547eed9cd9e45fb6f134cb91808acb2bf
Author: Sam Thursfield <sam afuera me uk>
Date:   Wed Jun 12 21:18:00 2019 +0200

    functional-tests: Skip 600-applications-camera correctly
    
    Rather than disable the test in meson.build, we can have it return
    code 77 ('skipped') so that it shows up as a skipped test in the logs.

 tests/functional-tests/600-applications-camera.py | 4 ++++
 tests/functional-tests/meson.build                | 5 +----
 2 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/tests/functional-tests/600-applications-camera.py 
b/tests/functional-tests/600-applications-camera.py
index f51f41f76..edf3726a5 100755
--- a/tests/functional-tests/600-applications-camera.py
+++ b/tests/functional-tests/600-applications-camera.py
@@ -285,4 +285,8 @@ class TrackerCameraVideosApplicationTests (TrackerCameraTestSuite):
 
 
 if __name__ == "__main__":
+    print("FIXME: This test is skipped as it currently fails. See: 
https://gitlab.gnome.org/GNOME/tracker-miners/issues/55";)
+    import sys
+    sys.exit(77)
+
     ut.main()
diff --git a/tests/functional-tests/meson.build b/tests/functional-tests/meson.build
index 8a245fcbe..90ee0e90a 100644
--- a/tests/functional-tests/meson.build
+++ b/tests/functional-tests/meson.build
@@ -35,13 +35,10 @@ functional_tests = [
   '410-extractor-decorator',
   '500-writeback',
   '501-writeback-details',
+  '600-applications-camera',
   '601-applications-sync',
 ]
 
-# FIXME: this is currently skipped as it doesn't work.
-# '600-applications-camera',
-
-
 test_runner = find_program('test-runner.sh')
 
 config_json = configure_file(


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