Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Gautam Chitnis
web-ui-redesign
Commits
65bc1a4e
Commit
65bc1a4e
authored
Oct 21, 2007
by
Rémi Denis-Courmont
Browse files
Put timeout to the testsuite
parent
508d87e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/control/core.c
View file @
65bc1a4e
...
...
@@ -84,6 +84,9 @@ libvlc_instance_t * libvlc_new( int argc, const char *const *argv,
{
libvlc_instance_t
*
p_new
;
for
(
int
i
=
0
;
i
<
argc
;
i
++
)
printf
(
"%d: %s
\n
"
,
i
,
argv
[
i
]);
libvlc_int_t
*
p_libvlc_int
=
libvlc_InternalCreate
();
if
(
!
p_libvlc_int
)
RAISENULL
(
"VLC initialization failed"
);
...
...
src/control/testapi.c
View file @
65bc1a4e
...
...
@@ -28,6 +28,7 @@
#include
<stdio.h>
#include
<stdlib.h>
#include
<unistd.h>
static
libvlc_exception_t
ex
;
...
...
@@ -49,9 +50,11 @@ int main (int argc, char *argv[])
libvlc_instance_t
*
vlc
;
const
char
*
args
[
argc
+
3
];
args
[
0
]
=
"-I"
;
args
[
1
]
=
"dummy"
;
args
[
2
]
=
"-vvv"
;
alarm
(
30
);
/* Make sure "make check" does not get stuck */
args
[
0
]
=
"-vvv"
;
args
[
1
]
=
"-I"
;
args
[
2
]
=
"-dummy"
;
args
[
3
]
=
"--plugin-path=.."
;
for
(
int
i
=
1
;
i
<
argc
;
i
++
)
args
[
i
+
3
]
=
argv
[
i
];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment