- 19 Dec, 2016 1 commit
-
-
Dean Moldovan authored
Add a BUILD_INTERFACE and a pybind11::pybind11 alias for the interface library to match the installed target. Add new cmake tests for add_subdirectory and consolidates the .cpp and .py files needed for the cmake build tests: Before: tests |-- test_installed_module | |-- CMakeLists.txt | |-- main.cpp | \-- test.py \-- test_installed_target |-- CMakeLists.txt |-- main.cpp \-- test.py After: tests \-- test_cmake_build |-- installed_module/CMakeLists.txt |-- installed_target/CMakeLists.txt |-- subdirectory_module/CMakeLists.txt |-- subdirectory_target/CMakeLists.txt |-- main.cpp \-- test.py
-
- 13 Dec, 2016 1 commit
-
-
Lori A. Burns authored
-
- 11 Nov, 2016 1 commit
-
-
Jason Rhinelander authored
-
- 06 Sep, 2016 1 commit
-
-
Dean Moldovan authored
With this change both C++ and Python write to sys.stdout which resolves the capture issues noted in #351. Therefore, the related workarounds are removed.
-
- 22 Aug, 2016 1 commit
-
-
Dean Moldovan authored
pytest can capture test output both globally (controlled by the cmd line flag --capture) or locally (`capsys` and `capfd` fixtures). Enabling both methods at the same time causes problems on Windows: test output is not captured sometimes, resulting in test failure. This happens seemingly at random. This workaround disables global output capture ("-s", i.e. "--capture=no") leaving only the local capture fixtures. As a side-effect test output on AppVeyor CI is a little messy, but this will have to do until a better solution is found.
-
- 19 Aug, 2016 1 commit
-
-
Dean Moldovan authored
Use simple asserts and pytest's powerful introspection to make testing simpler. This merges the old .py/.ref file pairs into simple .py files where the expected values are right next to the code being tested. This commit does not touch the C++ part of the code and replicates the Python tests exactly like the old .ref-file-based approach.
-
- 15 Aug, 2016 1 commit
-
-
Dean Moldovan authored
-
- 30 Jul, 2016 1 commit
-
-
Dean Moldovan authored
-
- 08 Jul, 2016 2 commits
-
-
Wenzel Jakob authored
-
Wenzel Jakob authored
-
- 02 Jun, 2016 1 commit
-
-
Dean Moldovan authored
-
- 13 Dec, 2015 1 commit
-
-
Huu Nguyen authored
-
- 23 Oct, 2015 1 commit
-
-
Wenzel Jakob authored
-
- 18 Oct, 2015 1 commit
-
-
Wenzel Jakob authored
-