-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make check - no test ran #767
Comments
Thanks for reporting. We recently switched to Cmake to compile/execute the test suite, so you could also try $ mkdir build
$ cd build
$ cmake ..
$ cmake --build .
$ ctest However, we did not change the existing Makefile, and pattern Anyway, please try with cmake/ctest. |
I cannot reproduce the issue. |
Thanks Niel for your time. I didn't have much time to dig into make issues, so I switched to cmake, can build successfully on develop branch now. After running the the test suite I've the following failures: 35 - test-inspection_default (Failed) Building on master branch gives me the following errors: Scanning dependencies of target catch_main make[2]: *** [test/CMakeFiles/json_unit.dir/build.make:64: test/cotire/json_unit_CXX_prefix.hxx.gch] Error 1 |
Could you try the |
Just tested the develop version again and got the following output ( didn't change since last run on develop ) The following tests FAILED: |
Can you please provide the error logs so we can have a look why the tests fail? |
Hope this LastTest.log helps, can't see any other relevant file generated in the build tree. |
Could you please run the tests with
and attach file |
This is the test result test.log |
It seems that most errors are due to MingGW's formatting of exponents with a leading zero, cf.
or
We had a ticket on this before, but if I remember correctly, MinGW's behavior is not conformant here. |
The effect of this issue is negligible on my domain. I briefly inspected the other failed test ( parsing in particular ) and they look like corner cases ( like unit-regression.cpp, SECTION("second example from #529") ) I'm going to integrate your library - easy to use and well documented - in my app, thanks for helping me. |
No worries. I really would like to provide better support here, but I found no way yet to run MinGW on a CI server. In any way - if you need further assistance, just open an issue. |
Symptom: Running make check doesn't run any test on my environment.
The issue seems to be in test/Makefile
if I replace
TEST_PATTERN ?= "*"
with
TEST_PATTERN ?= ""
The issue seems fixed
OS: Windows 10
Plat: MSYS2 - GNU Make 4.2.1 - gcc version 7.2.0 (Rev1, Built by MSYS2 project)
Thanks
The text was updated successfully, but these errors were encountered: