majintao0131 / yaml-cpp

Automatically exported from code.google.com/p/yaml-cpp
MIT License
0 stars 0 forks source link

unit tests do not run if yaml-cpp is not the root project #246

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.place yaml-cpp in a sub-directory of another project
2.use cmake from parent project to build 
3.run make test from build directory of parent project

What is the expected output? What do you see instead?
The unit tests should run regardless of where yaml-cpp is in the tree

What version of the product are you using? On what operating system?
0.5.1 CentOS 6.5 with RHEL devtoolset

Please provide any additional information below.
Line 15 of test/CMakeLists.txt should read:
add_test(yaml-reader-test  ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/run-tests)

Original issue reported on code.google.com by del...@gmail.com on 23 Apr 2014 at 2:02

GoogleCodeExporter commented 9 years ago

Original comment by jbe...@gmail.com on 24 Apr 2014 at 2:58

GoogleCodeExporter commented 9 years ago
Fixed, r32df1d6a0e0c6af6964b9c9c59ad8fd1c1086b5f.

Original comment by jbe...@gmail.com on 24 Jan 2015 at 8:48