Skip to content

Commit

Permalink
always set PATH for ctest js tests #869
Browse files Browse the repository at this point in the history
  • Loading branch information
leifwalsh committed Feb 8, 2014
1 parent 6e6a237 commit b13b3fa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions jstests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ TestData.testName = '${jstestname}'"
set_tests_properties(mongo/js/${jstest} PROPERTIES
DEPENDS mongo/js/check-mongod
)
set_property(TEST mongo/js/${jstest} APPEND PROPERTY
ENVIRONMENT "PATH=${CMAKE_BINARY_DIR}/src/mongo"
)
set_property(TEST mongo/js/stop-mongod APPEND PROPERTY
DEPENDS mongo/js/${jstest}
)
Expand All @@ -130,6 +133,9 @@ jsTest.authenticate(db.getMongo())"
set_tests_properties(mongo/js-auth/${jstest} PROPERTIES
DEPENDS mongo/js-auth/add-admin-user
)
set_property(TEST mongo/js-auth/${jstest} APPEND PROPERTY
ENVIRONMENT "PATH=${CMAKE_BINARY_DIR}/src/mongo"
)
set_property(TEST mongo/js-auth/stop-mongod APPEND PROPERTY
DEPENDS mongo/js-auth/${jstest}
)
Expand Down

0 comments on commit b13b3fa

Please sign in to comment.