tests: Run ges-launch tests non-interactively
authorDoug Nazar <nazard@nazar.ca>
Sat, 1 May 2021 23:18:15 +0000 (19:18 -0400)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 10 May 2021 02:09:10 +0000 (02:09 +0000)
It's not needed for the tests and fixes an occasional issue where
the terminal is left in -echo mode.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/248>

tests/check/meson.build

index 8f15824..6cdac7d 100644 (file)
@@ -104,10 +104,10 @@ if gstvalidate_dep.found()
 
     if is_validatetest
       testfile = meson.current_source_dir() / 'scenarios' / scenario + '.validatetest'
-      test(scenario, ges_launch, env: env, args: ['--set-test-file', testfile, '--mute'])
+      test(scenario, ges_launch, env: env, args: ['--no-interactive', '--set-test-file', testfile, '--mute'])
     else
       scenario_file = meson.current_source_dir() / 'scenarios' / scenario + '.scenario'
-      test(scenario, ges_launch, env: env, args: ['--set-scenario', scenario_file])
+      test(scenario, ges_launch, env: env, args: ['--no-interactive', '--set-scenario', scenario_file])
     endif
 
   endforeach