Skip to content

Commit

Permalink
Debug.
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed Jul 31, 2019
1 parent 5a9095a commit aa935ec
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions test/unit/apps/TranslateTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ using namespace pdal;

static int runTranslate(std::string const& cmdline, std::string& output)
{
std::cerr << "Command = " << cmdline << "!\n";
const std::string cmd = Support::binpath(Support::exename("pdal")) +
" translate";

Expand Down Expand Up @@ -122,11 +123,11 @@ std::cerr << "Json input = " << json << "!\n";
output), 0);

// Check that we work with an input and an output.
json = R"(
[
\"badinput.las\",
\"badoutput.las\"
]
json = R"(\
[\
\"badinput.las\",\
\"badoutput.las\"\
]\
)";
EXPECT_EQ(runTranslate(in + " " + out + " --json=\"" + json + "\"",
output), 0);
Expand Down

0 comments on commit aa935ec

Please sign in to comment.