Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eclipse Projects
Eclipse Titan
titan.core
Commits
e0022e7a
Commit
e0022e7a
authored
Jan 18, 2018
by
Kristof Szabados
Committed by
Gerrit Code Review
Jan 18, 2018
Browse files
Merge "Fixed handling of XML schema string in tcov2locv (bug 529855)"
parents
cd9cb643
14fb8fb9
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler2/tcov2lcov.cc
View file @
e0022e7a
...
...
@@ -336,13 +336,14 @@ int main(int argc, char *argv[])
// Leave it relative.
if
(
!
input_dir
)
input_dir
=
"."
;
if
(
!
output_file
)
output_file
=
"output.info"
;
std
::
string
xsd_file_str
;
if
(
!
xsd_file
)
{
const
char
*
ttcn3_dir
=
getenv
(
"TTCN3_DIR"
);
if
(
!
ttcn3_dir
)
{
std
::
cerr
<<
"$TTCN3_DIR environment variable is not set"
<<
std
::
endl
;
param_error
=
true
;
}
else
{
std
::
string
xsd_file_str
=
std
::
string
(
ttcn3_dir
)
+
P_SEP
+
std
::
string
(
"include"
)
+
P_SEP
+
std
::
string
(
"tcov.xsd"
);
xsd_file_str
=
std
::
string
(
ttcn3_dir
)
+
P_SEP
+
std
::
string
(
"include"
)
+
P_SEP
+
std
::
string
(
"tcov.xsd"
);
xsd_file
=
xsd_file_str
.
c_str
();
}
}
...
...
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