Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gstreamer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
403
Issues
403
List
Boards
Labels
Service Desk
Milestones
Merge Requests
77
Merge Requests
77
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GStreamer
gstreamer
Commits
65ed511c
Commit
65ed511c
authored
Sep 26, 2016
by
Tim-Philipp Müller
🐠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: remove unused valgrind stuff
Code was also checking the wrong define anyway.
parent
accde6ea
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
46 deletions
+0
-46
tests/check/gst/gstbuffer.c
tests/check/gst/gstbuffer.c
+0
-20
tests/check/gst/gstmemory.c
tests/check/gst/gstmemory.c
+0
-20
tests/check/gst/gstmeta.c
tests/check/gst/gstmeta.c
+0
-6
No files found.
tests/check/gst/gstbuffer.c
View file @
65ed511c
...
...
@@ -24,12 +24,6 @@
# include "config.h"
#endif
#ifdef HAVE_VALGRIND_H
# include <valgrind/valgrind.h>
#else
# define RUNNING_ON_VALGRIND FALSE
#endif
#include <gst/check/gstcheck.h>
GST_START_TEST
(
test_subbuffer
)
...
...
@@ -466,20 +460,6 @@ GST_START_TEST (test_try_new_and_alloc)
gst_buffer_unmap
(
buf
,
&
info
);
gst_buffer_unref
(
buf
);
#if 0
/* Disabled this part of the test, because it happily succeeds on 64-bit
* machines that have enough memory+swap, because the address space is large
* enough. There's not really any way to test the failure case except by
* allocating chunks of memory until it fails, which would suck. */
/* now this better fail (don't run in valgrind, it will abort
* or warn when passing silly arguments to malloc) */
if (!RUNNING_ON_VALGRIND) {
buf = gst_buffer_new_and_alloc ((guint) - 1);
fail_unless (buf == NULL);
}
#endif
}
GST_END_TEST
;
...
...
tests/check/gst/gstmemory.c
View file @
65ed511c
...
...
@@ -24,12 +24,6 @@
# include "config.h"
#endif
#ifdef HAVE_VALGRIND_H
# include <valgrind/valgrind.h>
#else
# define RUNNING_ON_VALGRIND FALSE
#endif
#include <gst/check/gstcheck.h>
GST_START_TEST
(
test_submemory
)
...
...
@@ -271,20 +265,6 @@ GST_START_TEST (test_try_new_and_alloc)
gst_memory_unmap
(
mem
,
&
info
);
gst_memory_unref
(
mem
);
#if 0
/* Disabled this part of the test, because it happily succeeds on 64-bit
* machines that have enough memory+swap, because the address space is large
* enough. There's not really any way to test the failure case except by
* allocating chunks of memory until it fails, which would suck. */
/* now this better fail (don't run in valgrind, it will abort
* or warn when passing silly arguments to malloc) */
if (!RUNNING_ON_VALGRIND) {
mem = gst_allocator_alloc (NULL, (guint) - 1, 0);
fail_unless (mem == NULL);
}
#endif
}
GST_END_TEST
;
...
...
tests/check/gst/gstmeta.c
View file @
65ed511c
...
...
@@ -24,12 +24,6 @@
# include "config.h"
#endif
#ifdef HAVE_VALGRIND_H
# include <valgrind/valgrind.h>
#else
# define RUNNING_ON_VALGRIND FALSE
#endif
#include <gst/check/gstcheck.h>
/* test metadata for PTS/DTS and duration */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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