Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
95a147de
Commit
95a147de
authored
12 years ago
by
Nat Goodspeed
Browse files
Options
Downloads
Patches
Plain Diff
CHOP-900: Fix test.cpp merge errors merging up to viewer-release
parent
a5b0147d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/test/test.cpp
+13
-13
13 additions, 13 deletions
indra/test/test.cpp
with
13 additions
and
13 deletions
indra/test/test.cpp
+
13
−
13
View file @
95a147de
...
@@ -66,6 +66,7 @@
...
@@ -66,6 +66,7 @@
#pragma warning (pop)
#pragma warning (pop)
#endif
#endif
#include
<boost/scoped_ptr.hpp>
#include
<boost/shared_ptr.hpp>
#include
<boost/shared_ptr.hpp>
#include
<boost/make_shared.hpp>
#include
<boost/make_shared.hpp>
#include
<boost/foreach.hpp>
#include
<boost/foreach.hpp>
...
@@ -147,17 +148,16 @@ class LLTestCallback : public tut::callback
...
@@ -147,17 +148,16 @@ class LLTestCallback : public tut::callback
public:
public:
LLTestCallback
(
bool
verbose_mode
,
std
::
ostream
*
stream
,
LLTestCallback
(
bool
verbose_mode
,
std
::
ostream
*
stream
,
boost
::
shared_ptr
<
LLReplayLog
>
replayer
)
:
boost
::
shared_ptr
<
LLReplayLog
>
replayer
)
:
mVerboseMode
(
verbose_mode
),
mVerboseMode
(
verbose_mode
),
mTotalTests
(
0
),
mTotalTests
(
0
),
mPassedTests
(
0
),
mPassedTests
(
0
),
mFailedTests
(
0
),
mFailedTests
(
0
),
mSkippedTests
(
0
),
mSkippedTests
(
0
),
// By default, capture a shared_ptr to std::cout, with a no-op "deleter"
// By default, capture a shared_ptr to std::cout, with a no-op "deleter"
// so that destroying the shared_ptr makes no attempt to delete std::cout.
// so that destroying the shared_ptr makes no attempt to delete std::cout.
mStream
(
boost
::
shared_ptr
<
std
::
ostream
>
(
&
std
::
cout
,
boost
::
lambda
::
_1
)),
mStream
(
boost
::
shared_ptr
<
std
::
ostream
>
(
&
std
::
cout
,
boost
::
lambda
::
_1
)),
mReplayer
(
replayer
)
mReplayer
(
replayer
)
if
(
stream
)
{
{
if
(
stream
)
if
(
stream
)
{
{
// We want a boost::iostreams::tee_device that will stream to two
// We want a boost::iostreams::tee_device that will stream to two
...
@@ -593,11 +593,11 @@ int main(int argc, char **argv)
...
@@ -593,11 +593,11 @@ int main(int argc, char **argv)
LLTestCallback
*
mycallback
;
LLTestCallback
*
mycallback
;
if
(
getenv
(
"TEAMCITY_PROJECT_NAME"
))
if
(
getenv
(
"TEAMCITY_PROJECT_NAME"
))
{
{
mycallback
=
new
LLTCTestCallback
(
verbose_mode
,
output
,
replayer
);
mycallback
=
new
LLTCTestCallback
(
verbose_mode
,
output
.
get
()
,
replayer
);
}
}
else
else
{
{
mycallback
=
new
LLTestCallback
(
verbose_mode
,
output
,
replayer
);
mycallback
=
new
LLTestCallback
(
verbose_mode
,
output
.
get
()
,
replayer
);
}
}
tut
::
runner
.
get
().
set_callback
(
mycallback
);
tut
::
runner
.
get
().
set_callback
(
mycallback
);
...
...
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