Skip to content

Commit

Permalink
cleanup pc2pc tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Aug 17, 2012
1 parent b6412ad commit cb943ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
4 changes: 2 additions & 2 deletions apps/AppSupport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ std::string AppSupport::inferWriterDriver(const std::string& filename, pdal::Opt


boost::to_lower(ext);

if (ext == "laz")
if (boost::algorithm::iequals(ext,".laz"))
{
options.add("compression", true);
}
Expand Down
7 changes: 0 additions & 7 deletions test/unit/apps/pc2pcTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,6 @@ BOOST_AUTO_TEST_CASE(pc2pc_test_switches)
BOOST_CHECK(fileIsCompressed(outputLaz));
#endif

#ifdef PDAL_HAVE_LASZIP
// does "--input foo.laz" make an uncompressed output?
//BUG stat = Support::run_command(cmd + " --input=" + inputLaz + " --output=" + outputLas, output);
//BUG BOOST_CHECK_EQUAL(stat, 0);
//BUG BOOST_CHECK(fileIsOkay(outputLas));
//BUG BOOST_CHECK(!fileIsCompressed(outputLas));
#endif

#ifdef PDAL_HAVE_LIBLAS
// does --liblas work?
Expand Down

0 comments on commit cb943ce

Please sign in to comment.