Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
aom-rav1e
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiph.Org
aom-rav1e
Commits
95633d0e
Commit
95633d0e
authored
9 years ago
by
Johann Koenig
Browse files
Options
Downloads
Patches
Plain Diff
Only build append_negative_gtest_filter when it is used.
Change-Id: If6fec02fd8125b368ea83c99208575ac0d4a662b
parent
e5b76ba2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/test_libvpx.cc
+3
-1
3 additions, 1 deletion
test/test_libvpx.cc
with
3 additions
and
1 deletion
test/test_libvpx.cc
+
3
−
1
View file @
95633d0e
...
...
@@ -26,6 +26,7 @@ extern void vpx_dsp_rtcd();
extern
void
vpx_scale_rtcd
();
}
#if ARCH_X86 || ARCH_X86_64
static
void
append_negative_gtest_filter
(
const
char
*
str
)
{
std
::
string
filter
=
::
testing
::
FLAGS_gtest_filter
;
// Negative patterns begin with one '-' followed by a ':' separated list.
...
...
@@ -33,6 +34,7 @@ static void append_negative_gtest_filter(const char *str) {
filter
+=
str
;
::
testing
::
FLAGS_gtest_filter
=
filter
;
}
#endif // ARCH_X86 || ARCH_X86_64
int
main
(
int
argc
,
char
**
argv
)
{
::
testing
::
InitGoogleTest
(
&
argc
,
argv
);
...
...
@@ -55,7 +57,7 @@ int main(int argc, char **argv) {
append_negative_gtest_filter
(
":AVX.*:AVX/*"
);
if
(
!
(
simd_caps
&
HAS_AVX2
))
append_negative_gtest_filter
(
":AVX2.*:AVX2/*"
);
#endif
#endif
// ARCH_X86 || ARCH_X86_64
#if !CONFIG_SHARED
// Shared library builds don't support whitebox tests
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment