]> git.sesse.net Git - vlc/commitdiff
Add test case for the VLC binary
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 9 May 2012 15:58:01 +0000 (18:58 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 9 May 2012 15:58:01 +0000 (18:58 +0300)
Makefile.am
test/run_vlc.sh [new file with mode: 0755]

index d4b8c382279e7f4eee3bd33333d0c56e46cfdafb..e79bdaee39cc8ab5c4667013369a5c5e99673449 100644 (file)
@@ -477,6 +477,8 @@ endif
 vlc$(EXEEXT):
        $(AM_V_GEN)$(LN_S) -f bin/vlc-static$(EXEEXT) vlc$(EXEEXT)
 
+TESTS = test/run_vlc.sh
+
 ###############################################################################
 # Installing plugins cache
 ###############################################################################
diff --git a/test/run_vlc.sh b/test/run_vlc.sh
new file mode 100755 (executable)
index 0000000..df249ba
--- /dev/null
@@ -0,0 +1,6 @@
+#! /bin/sh
+
+VLC="./vlc --ignore-config --no-one-instance-when-started-from-file"
+
+$VLC -vv vlc://quit
+$VLC -vv --play-and-exit vlc://nop