-
-
Notifications
You must be signed in to change notification settings - Fork 649
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
Add clearFilters() to doctest::Context #33
Comments
about the long compilation times - the source file where doctest gets implemented is always slow. about Including any system header under clang should result in Is the ADI compiler based on clang? or g++? If it is g++ then defining about the filter clearing feature - yes, I will add it - it seems useful. Thanks for using the library! |
Hi Viktor, thanks for your advice about using DOCTEST_CONFIG_USE_IOSFWD instead of _LIBCPP_VERSION. That worked. A time stamping feature when logging would be nice using time.h for example. Best wishes, Günter |
integration with time stuff is planned in the roadmap :) |
Actually can you post me the error message when not using |
The compiler stops at 100 errors. I have attached the build output. |
I just wanted to let you know that doctest works great for me running on an Analog Devices ADSP21479 SHARC MCU. For that to work I had to add this macro to my build: DOCTEST_CONFIG_COLORS_NONE and _LIBCPP_VERSION.
Since I am running the tests menu driven (The Analog Devices Eclipse based CrossCore Embedded Studio 2.3.0 allows printf / scanf through the Eclipse Console.) I also created my own main function (DOCTEST_CONFIG_IMPLEMENT). Because doctest is not geared towards menu driven test I added one function to the code which allows me to run only one test the user has chosen from the menu. If you like to incorporate it into the next version, please go ahead. The function just clears the filter vectors.
BTW, it takes a few seconds to compile doctest under the Analog Devices compiler (_ADI_COMPILER) on my decently fast Windows 7 PC.
Thanks for the great work,
Günter Fuchs
[email protected]
doctest.txt
The text was updated successfully, but these errors were encountered: