Skip to content

Conversation

@mohd-akram
Copy link
Contributor

As per the documentation:

Note that ctest expects to find a test file in the build directory root. Therefore, this command should be in the source directory root.

enable_testing() in the Release subdirectory has no effect when cmake is called with the root file causing a make: *** No rule to make target `test' error when running make test.

@BillyONeal BillyONeal merged commit bf116c5 into microsoft:master Mar 19, 2019
@BillyONeal
Copy link
Member

Thanks for your contribution!

@mohd-akram mohd-akram deleted the fix-cmake-test branch March 22, 2019 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants