Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
G
gflags
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
gflags
Commits
33ee7ad6
Commit
33ee7ad6
authored
Mar 17, 2014
by
Andreas Schuh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in documentation and path of execute_test.cmake script.
parent
cb00fb9e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
utils.cmake
cmake/utils.cmake
+2
-2
No files found.
cmake/utils.cmake
View file @
33ee7ad6
...
@@ -67,7 +67,7 @@ endfunction ()
...
@@ -67,7 +67,7 @@ endfunction ()
#
#
# Using PASS_REGULAR_EXPRESSION and FAIL_REGULAR_EXPRESSION would
# Using PASS_REGULAR_EXPRESSION and FAIL_REGULAR_EXPRESSION would
# do as well, but CMake/CTest does not allow us to specify an
# do as well, but CMake/CTest does not allow us to specify an
# expected exi
s
t status. Moreover, the execute_test.cmake script
# expected exit status. Moreover, the execute_test.cmake script
# sets environment variables needed by the --fromenv/--tryfromenv tests.
# sets environment variables needed by the --fromenv/--tryfromenv tests.
macro
(
add_gflags_test name expected_rc expected_output unexpected_output cmd
)
macro
(
add_gflags_test name expected_rc expected_output unexpected_output cmd
)
add_test
(
add_test
(
...
@@ -76,7 +76,7 @@ macro (add_gflags_test name expected_rc expected_output unexpected_output cmd)
...
@@ -76,7 +76,7 @@ macro (add_gflags_test name expected_rc expected_output unexpected_output cmd)
"-DEXPECTED_RC:STRING=
${
expected_rc
}
"
"-DEXPECTED_RC:STRING=
${
expected_rc
}
"
"-DEXPECTED_OUTPUT:STRING=
${
expected_output
}
"
"-DEXPECTED_OUTPUT:STRING=
${
expected_output
}
"
"-DUNEXPECTED_OUTPUT:STRING=
${
unexpected_output
}
"
"-DUNEXPECTED_OUTPUT:STRING=
${
unexpected_output
}
"
-P
"
${
PROJECT_SOURCE_DIR
}
/test
/execute_test.cmake"
-P
"
${
CMAKE_CURRENT_LIST_DIR
}
/execute_test.cmake"
WORKING_DIRECTORY
"
${
PROJECT_SOURCE_DIR
}
/test"
WORKING_DIRECTORY
"
${
PROJECT_SOURCE_DIR
}
/test"
)
)
endmacro
()
endmacro
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment