summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-05-07 13:17:26 (GMT)
committerBrad King <brad.king@kitware.com>2010-05-07 13:17:26 (GMT)
commit678073bec29201e9edba2b00b6f3c96a528fe610 (patch)
tree987e47e396d56c10c0e544ca6e5504d58551534e /Tests
parent162597e4bff5348e17e1b0f0261310b502ffe7fd (diff)
downloadCMake-678073bec29201e9edba2b00b6f3c96a528fe610.zip
CMake-678073bec29201e9edba2b00b6f3c96a528fe610.tar.gz
CMake-678073bec29201e9edba2b00b6f3c96a528fe610.tar.bz2
CTest: Submit author email in Update.xml
Add the <Email>...</Email> element in Update.xml for each commit reported. This field was defined by Dart but never really used. Distributed version control systems use author name and email instead of a user id, so now it makes sense to use this field.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CTestUpdateBZR.cmake.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/CTestUpdateBZR.cmake.in b/Tests/CTestUpdateBZR.cmake.in
index eebb4f6..7f90b50 100644
--- a/Tests/CTestUpdateBZR.cmake.in
+++ b/Tests/CTestUpdateBZR.cmake.in
@@ -39,6 +39,9 @@ create_content(import)
run_child(WORKING_DIRECTORY ${TOP}/import
COMMAND ${BZR} init
)
+run_child(WORKING_DIRECTORY ${TOP}/import
+ COMMAND ${BZR} whoami --branch "Test Author <testauthor@cmake.org>"
+ )
run_child(WORKING_DIRECTORY ${TOP}/import
COMMAND ${BZR} add .
@@ -57,6 +60,10 @@ run_child(
WORKING_DIRECTORY ${TOP}
COMMAND ${BZR} branch "${REPO}" user-source
)
+run_child(
+ WORKING_DIRECTORY ${TOP}/user-source
+ COMMAND ${BZR} whoami --branch "Test Author <testauthor@cmake.org>"
+ )
#-----------------------------------------------------------------------------
# Make changes in the working tree.