bugscpp
bugscpp copied to clipboard
Bug: In test command, nothing happens when --output-dir is empty
When you run tests, you can specify output directory using --output-dir option
Let's assume test-result is output directory.
Test command is like below:
$ d++ test path\to\cppcheck\fixed#1 -v --output-dir=test-result
d++ just does nothing and stops without any message.
This problem happens when -v and --output-dir are both used.
If you not use --output-dir option, the default is set to the path obtained by getcwd().
So even if you just use -v option, the output directory will not be created.