Commit e0022e7a authored by Kristof Szabados's avatar Kristof Szabados Committed by Gerrit Code Review
Browse files

Merge "Fixed handling of XML schema string in tcov2locv (bug 529855)"

parents cd9cb643 14fb8fb9
......@@ -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();
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment