Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
30e05da5
Commit
30e05da5
authored
Jun 30, 2016
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable unit test coloring on Windows
parent
53e183b3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
libcaf_test/caf/test/unit_test_impl.hpp
libcaf_test/caf/test/unit_test_impl.hpp
+5
-1
No files found.
libcaf_test/caf/test/unit_test_impl.hpp
View file @
30e05da5
...
@@ -566,7 +566,7 @@ int main(int argc, char** argv) {
...
@@ -566,7 +566,7 @@ int main(int argc, char** argv) {
}
}
// our simple command line parser.
// our simple command line parser.
auto
res
=
message_builder
(
cli_argv
,
cli_argv
+
divider
-
1
).
extract_opts
({
auto
res
=
message_builder
(
cli_argv
,
cli_argv
+
divider
-
1
).
extract_opts
({
{
"no-colors,n"
,
"disable coloring"
},
{
"no-colors,n"
,
"disable coloring
(ignored on Windows)
"
},
{
"log-file,l"
,
"set output file"
,
log_file
},
{
"log-file,l"
,
"set output file"
,
log_file
},
{
"console-verbosity,v"
,
"set verbosity level of console (1-5)"
,
{
"console-verbosity,v"
,
"set verbosity level of console (1-5)"
,
verbosity_console
},
verbosity_console
},
...
@@ -602,7 +602,11 @@ int main(int argc, char** argv) {
...
@@ -602,7 +602,11 @@ int main(int argc, char** argv) {
<<
res
.
helptext
<<
std
::
endl
;
<<
res
.
helptext
<<
std
::
endl
;
return
1
;
return
1
;
}
}
# ifndef CAF_WINDOWS
auto
colorize
=
res
.
opts
.
count
(
"no-colors"
)
==
0
;
auto
colorize
=
res
.
opts
.
count
(
"no-colors"
)
==
0
;
# else
auto
colorize
=
false
;
# endif
std
::
vector
<
char
*>
args
;
std
::
vector
<
char
*>
args
;
if
(
divider
<
argc
)
{
if
(
divider
<
argc
)
{
// make a new args vector that contains argv[0] and all remaining args
// make a new args vector that contains argv[0] and all remaining args
...
...
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