Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Timo Koch
dune-common
Commits
b1794ef7
Commit
b1794ef7
authored
14 years ago
by
Jorrit Fahlke
Browse files
Options
Downloads
Patches
Plain Diff
[tuplestest] Test all available tuple implementations.
[[Imported from SVN: r6312]]
parent
a7a28103
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dune/common/test/Makefile.am
+12
-2
12 additions, 2 deletions
dune/common/test/Makefile.am
dune/common/test/tuplestest.cc
+8
-0
8 additions, 0 deletions
dune/common/test/tuplestest.cc
with
20 additions
and
2 deletions
dune/common/test/Makefile.am
+
12
−
2
View file @
b1794ef7
...
...
@@ -43,7 +43,9 @@ TESTPROGS = \
testfassign_fail4
\
testfassign_fail5
\
testfassign_fail6
\
tuplestest
\
tuplestest_dune
\
tuplestest_std
\
tuplestest_tr1
\
tupleutilitytest
\
utilitytest
...
...
@@ -103,7 +105,15 @@ arraylisttest_SOURCES = arraylisttest.cc
shared_ptrtest_SOURCES
=
shared_ptrtest.cc
tuplestest_SOURCES
=
tuplestest.cc
tuplestest_dune_SOURCES
=
tuplestest.cc
tuplestest_dune_CPPFLAGS
=
$(
AM_CPPFLAGS
)
\
-DDISABLE_TR1_TUPLE
-DDISABLE_STD_TUPLE
tuplestest_std_SOURCES
=
tuplestest.cc
tuplestest_tr1_SOURCES
=
tuplestest.cc
tuplestest_tr1_CPPFLAGS
=
$(
AM_CPPFLAGS
)
\
-DDISABLE_STD_TUPLE
tupleutilitytest_SOURCES
=
tupleutilitytest.cc
...
...
This diff is collapsed.
Click to expand it.
dune/common/test/tuplestest.cc
+
8
−
0
View file @
b1794ef7
...
...
@@ -7,6 +7,14 @@
#include
"config.h"
#endif
#if defined(DISABLE_TR1_TUPLE) && defined(HAVE_TR1_TUPLE)
#undef HAVE_TR1_TUPLE
#endif
#if defined(DISABLE_STD_TUPLE) && defined(HAVE_TUPLE)
#undef HAVE_TUPLE
#endif
#include
<dune/common/tuples.hh>
#include
<string>
#include
<iostream>
...
...
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