From 3f7561417bec08226bcfeb107d94be0dbf71b09e Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 21 Dec 2019 10:20:55 -0800 Subject: fixes #1032 Figure out Darwin bustedness fixes #1035 Convey is awkward -- consider acutest.h This represents a rather large effort towards cleaning up our testing and optional configuration infrastructure. A separate test library is built by default, which is static, and includes some useful utilities design to make it easier to write shorter and more robust (not timing dependent) tests. This also means that we can cover pretty nearly all the tests (protocols etc.) in every case, even if the shipped image will be minimized. Subsystems which are optional can now use a few new macros to configure what they need see nng_sources_if, nng_headers_if, and nng_defines_if. This goes a long way to making the distributed CMakefiles a lot simpler. Additionally, tests for different parts of the tree can now be located outside of the tests/ tree, so that they can be placed next to the code that they are testing. Beyond the enabling work, the work has only begun, but these changes have resolved the most often failing tests for Darwin in the cloud. --- .github/workflows/windows.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 12ff1282..03054037 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -16,5 +16,7 @@ jobs: run: cmake --build build - name: Test - run: ctest -C Debug --output-on-failure + run: | + cd build + ctest -C Debug --output-on-failure -- cgit v1.2.3-70-g09d2