[pdal-commits] [PDAL/PDAL] ac44b8: Default tests' data path to repo's data
GitHub
noreply at github.com
Wed Sep 17 07:52:06 PDT 2014
Branch: refs/heads/master
Home: https://github.com/PDAL/PDAL
Commit: ac44b8910e6419fb49448e906123667166525f40
https://github.com/PDAL/PDAL/commit/ac44b8910e6419fb49448e906123667166525f40
Author: Pete Gadomski <pete.gadomski at gmail.com>
Date: 2014-09-17 (Wed, 17 Sep 2014)
Changed paths:
M test/unit/CMakeLists.txt
M test/unit/TestConfig.cpp
R test/unit/TestConfig.hpp
A test/unit/TestConfig.hpp.in
Log Message:
-----------
Default tests' data path to repo's data
My rough guess is that 99% of the times pdal_test is run, it uses
${CMAKE_SOURCE_DIR}/test/data as its data path. This patch sets the
default test data path to that directory, using cmake's configure_file.
Now you can just run:
```bash
pdal_test
```
to run the test suite.
The old invocations are still valid: `pdal_test /my/other/test/data`,
etc.
Commit: e656a7784884728c9c3c9cc17ae77df096b128cf
https://github.com/PDAL/PDAL/commit/e656a7784884728c9c3c9cc17ae77df096b128cf
Author: Howard Butler <howard at hobu.co>
Date: 2014-09-17 (Wed, 17 Sep 2014)
Changed paths:
M test/unit/CMakeLists.txt
M test/unit/TestConfig.cpp
R test/unit/TestConfig.hpp
A test/unit/TestConfig.hpp.in
Log Message:
-----------
Merge pull request #466 from gadomski/run-tests-without-path
Default tests' data path to repo's data
Compare: https://github.com/PDAL/PDAL/compare/c092f06a7ed7...e656a7784884
More information about the pdal-commits
mailing list