You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am sorry to open yet another bug about Ninja. I had a look at the very long #79 and #74 and I understood that Ninja is a problem, but also that this problem have been solved.
Sadly I still get errors in this the following configuration :
__FILE__ == C:/Users/z19100018/CLionProjects/ninja_approvaltests/tests.cpp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ninja_approvaltests.exe is a Catch v2.13.7 host application.
Run with -? for options
-------------------------------------------------------------------------------
MyTestCase
-------------------------------------------------------------------------------
C:/Users/z19100018/CLionProjects/ninja_approvaltests/tests.cpp:5
...............................................................................
C:/Users/z19100018/CLionProjects/ninja_approvaltests/tests.cpp:5: FAILED:
due to unexpected exception with message:
Unable to create directory:
===============================================================================
test cases: 1 | 1 failed
assertions: 1 | 1 failed
Process finished with exit code 1
If I uncomment the line with useApprovalsSubdirectory(), it works:
__FILE__ == C:/Users/z19100018/CLionProjects/ninja_approvaltests/tests.cpp
===============================================================================
All tests passed (1 assertion in 1 test case)
Process finished with exit code 0
Here, we can see that the path provided by Ninja in __FILE__ is absolute. The issues linked above say that the problem is supposed to come from relative paths.
Any thoughts on this?
Thanks a lot!
The text was updated successfully, but these errors were encountered:
Hello
I am sorry to open yet another bug about Ninja. I had a look at the very long #79 and #74 and I understood that Ninja is a problem, but also that this problem have been solved.
Sadly I still get errors in this the following configuration :
My project structure:
My preset:
tests.cpp
=main.cpp
=Like this I get the following error:
If I uncomment the line with
useApprovalsSubdirectory()
, it works:Here, we can see that the path provided by Ninja in
__FILE__
is absolute. The issues linked above say that the problem is supposed to come from relative paths.Any thoughts on this?
Thanks a lot!
The text was updated successfully, but these errors were encountered: