pybind11/tests
andriish 38370a87f4
fix: support NVIDIA-PGI HPC SDK (#2475)
* Added guards to the includes

Added new CI config

Added new trigger

Changed CI workflow name

Debug CI

Debug CI

Debug CI

Debug CI

Added flags fro PGI

Disable Eigen

Removed tests that fail

Uncomment lines

* fix: missing include

fix: minor style cleanup

tests: support skipping

ci: remove and tighten a bit

fix: try msvc workaround for pgic

* tests: split up prealoc tests

* fix: PGI compiler fix

* fix: PGI void_t only

* fix: try to appease nvcc

* ci: better ordering for slow tests

* ci: minor improvements to testing

* ci: Add NumPy to testing

* ci: Eigen generates CUDA warnings / PGI errors

* Added CentOS7 back for a moment

* Fix YAML

* ci: runs-on missing

* centos7 is missing pytest

* ci: use C++11 on CentOS 7

* ci: test something else

* Try just adding flags on CentOS 7

* fix: CentOS 7

* refactor: move include to shared location

* Added verbose flag

* Try to use system cmake3 on CI

* Try to use system cmake3 on CI, attempt2

* Try to use system cmake3 on CI, attempt3

* tests: not finding pytest should be a warning, not a fatal error

* tests: cleanup

* Weird issue?

* fix: final polish

Co-authored-by: Andrii Verbytskyi <andrii.verbytskyi@mpp.mpg.de>
Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com>
Co-authored-by: Andrii Verbytskyi <averbyts@cern.ch>
2020-09-11 22:06:52 -04:00
..
test_cmake_build feat: new FindPython support (#2370) 2020-08-19 12:26:26 -04:00
test_embed tests: avoid putting build products into source directory (#2353) 2020-08-19 13:11:57 -04:00
CMakeLists.txt fix: support NVIDIA-PGI HPC SDK (#2475) 2020-09-11 22:06:52 -04:00
conftest.py tests: avoid putting build products into source directory (#2353) 2020-08-19 13:11:57 -04:00
constructor_stats.h ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
cross_module_gil_utils.cpp Make sure detail::get_internals acquires the GIL before making Python calls. (#1836) 2019-07-15 16:47:02 +02:00
env.py ci: reduce flakiness a little (#2418) 2020-08-20 11:58:34 -04:00
local_bindings.h Fix nullptr dereference when loading an external-only module_local type 2017-09-10 12:28:03 +02:00
object.h Improve custom holder support (#607) 2017-01-31 17:05:44 +01:00
pybind11_cross_module_tests.cpp Make TypeErrors more informative when an optional header is missing 2017-09-12 08:06:46 +02:00
pybind11_tests.cpp tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
pybind11_tests.h Change NAMESPACE_* macros into PYBIND11_NAMESPACE_* (#2283) 2020-07-08 18:14:41 -04:00
pytest.ini tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
requirements.txt ci: include Python 3.9 RC1 (#2387) 2020-08-12 14:09:42 -04:00
test_async.cpp Add support for __await__, __aiter__, and __anext__ protocols (#1842) 2019-07-18 09:02:35 +02:00
test_async.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_buffers.cpp support for readonly buffers (#863) (#1466) 2019-11-24 08:33:05 +01:00
test_buffers.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_builtin_casters.cpp cast pointer to std::tuple and std::pair (#2334) 2020-07-28 21:44:19 +02:00
test_builtin_casters.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_call_policies.cpp ci: fix clang warnings 2020-07-26 09:25:27 -04:00
test_call_policies.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_callbacks.cpp Fix async Python functors invoking from multiple C++ threads (#1587) (#1595) 2019-06-11 23:28:58 +02:00
test_callbacks.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_chrono.cpp Fix bug roundtripping datetime.time objects after midnight in eastern hemisphere timezones (#2417) (#2438) 2020-08-28 15:21:43 +02:00
test_chrono.py ci: harden chrono test, mark another macos 4.9 dev failure (#2448) 2020-08-31 14:28:07 -04:00
test_class.cpp Add error_scope to py::class_::dealloc() to protect destructor calls (#2342) 2020-07-31 17:46:12 -07:00
test_class.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_constants_and_functions.cpp Add -Wdeprecated to test suite and fix associated warnings (#1191) 2017-11-22 17:37:41 -04:00
test_constants_and_functions.py fix: support nvcc and test (#2461) 2020-09-10 11:49:26 -04:00
test_copy_move.cpp fix: support nvcc and test (#2461) 2020-09-10 11:49:26 -04:00
test_copy_move.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_custom_type_casters.cpp Refactor: Extract Custom Type Casts related tests 2020-07-01 00:07:49 +02:00
test_custom_type_casters.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_docstring_options.cpp Update all remaining tests to new test styles 2017-08-05 18:46:22 -04:00
test_docstring_options.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_eigen.cpp tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_eigen.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_enum.cpp Avoid conversion to int_ rhs argument of enum eq/ne (#1912) 2019-09-19 18:23:27 +02:00
test_enum.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_eval_call.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_eval.cpp Update all remaining tests to new test styles 2017-08-05 18:46:22 -04:00
test_eval.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_exceptions.cpp fix: throwing repr caused a segfault (#2389) 2020-08-18 07:14:34 -04:00
test_exceptions.py fix: throwing repr caused a segfault (#2389) 2020-08-18 07:14:34 -04:00
test_factory_constructors.cpp fix: support NVIDIA-PGI HPC SDK (#2475) 2020-09-11 22:06:52 -04:00
test_factory_constructors.py fix: support NVIDIA-PGI HPC SDK (#2475) 2020-09-11 22:06:52 -04:00
test_gil_scoped.cpp ci: fix clang warnings 2020-07-26 09:25:27 -04:00
test_gil_scoped.py ci: harden chrono test, mark another macos 4.9 dev failure (#2448) 2020-08-31 14:28:07 -04:00
test_iostream.cpp Utility for redirecting C++ streams to Python (#1009) 2017-08-25 02:12:43 +02:00
test_iostream.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_kwargs_and_defaults.cpp feat: py::pos_only (#2459) 2020-09-04 20:02:05 -04:00
test_kwargs_and_defaults.py feat: py::pos_only (#2459) 2020-09-04 20:02:05 -04:00
test_local_bindings.cpp Fix nullptr dereference when loading an external-only module_local type 2017-09-10 12:28:03 +02:00
test_local_bindings.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_methods_and_attributes.cpp ci: fix clang warnings 2020-07-26 09:25:27 -04:00
test_methods_and_attributes.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_modules.cpp Update all remaining tests to new test styles 2017-08-05 18:46:22 -04:00
test_modules.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_multiple_inheritance.cpp PyPy3 support (#2146) 2020-07-07 15:58:16 +02:00
test_multiple_inheritance.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_numpy_array.cpp Enable py::ellipsis on Python 2 (#2360) 2020-08-04 14:45:55 +02:00
test_numpy_array.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_numpy_dtypes.cpp Dtype field ordering for NumPy 1.14 (#1837) 2019-07-15 13:31:03 +02:00
test_numpy_dtypes.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_numpy_vectorize.cpp ci: disallow some common capitalization mistakes (#2472) 2020-09-08 15:26:50 +02:00
test_numpy_vectorize.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_opaque_types.cpp Improve macro type handling for types with commas 2018-03-10 14:24:23 -04:00
test_opaque_types.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_operator_overloading.cpp Use defined for some preprocessor variables that might be undefined (#2476) 2020-09-10 13:58:26 -04:00
test_operator_overloading.py Set __hash__ to None for types that defines __eq__, but not __hash__ (#2291) 2020-07-27 01:44:25 +02:00
test_pickling.cpp Relax py::pickle() get/set type check 2017-09-06 15:20:52 +02:00
test_pickling.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_pytypes.cpp Add check if str(handle) correctly converted the object, and throw py::error_already_set if not (bis) (#2477) 2020-09-11 19:53:04 +02:00
test_pytypes.py Add check if str(handle) correctly converted the object, and throw py::error_already_set if not (bis) (#2477) 2020-09-11 19:53:04 +02:00
test_sequences_and_iterators.cpp tests: fix CI by including <algorithm> to stop MSVC from complaining about std::count_if in tests/test_sequences_and_iterators.cpp (#2435) 2020-08-25 23:51:07 -04:00
test_sequences_and_iterators.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_smart_ptr.cpp ci: fix clang warnings 2020-07-26 09:25:27 -04:00
test_smart_ptr.py fix: support NVIDIA-PGI HPC SDK (#2475) 2020-09-11 22:06:52 -04:00
test_stl_binders.cpp test pair-copyability on C++17 upwards (#1886) 2019-10-31 12:38:24 +01:00
test_stl_binders.py tests: cleanup and ci hardening (#2397) 2020-08-16 16:02:12 -04:00
test_stl.cpp Use defined for some preprocessor variables that might be undefined (#2476) 2020-09-10 13:58:26 -04:00
test_stl.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_tagbased_polymorphic.cpp Adding a default virtual destructor to Animal type in test_tagbased_polymorphic.cpp. 2020-04-14 17:48:43 +02:00
test_tagbased_polymorphic.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_union.cpp Fix assertion failure for unions (#1685) (#1709) 2019-06-11 23:28:58 +02:00
test_union.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
test_virtual_functions.cpp fix: support NVIDIA-PGI HPC SDK (#2475) 2020-09-11 22:06:52 -04:00
test_virtual_functions.py fix: support NVIDIA-PGI HPC SDK (#2475) 2020-09-11 22:06:52 -04:00