aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2017-11-08 18:58:04 +0000
committerMatthias Braun <matze@braunis.de>2017-11-08 18:58:04 +0000
commit2993432ed653f7fbde6c8e05bef6803280740a71 (patch)
tree6ccb4bf992202b284334cdb3e64146cd64ad0dee /test
parentcc765940d66e30409e87bb3ce07205ac9d151ae2 (diff)
jenkins/build.py: Set SVN_REVISION for `build.py cmake` builds
build.py cmake: copies together multiple repositories; the llvm cmake scripts are not able to automatically figure out the revision number because the resulting directory tree is not a repository anymore. Explicitly set the SVN_REVISION cmake property instead. git-svn-id: https://llvm.org/svn/llvm-project/zorg/trunk@317704 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/jenkins/test_build.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/jenkins/test_build.py b/test/jenkins/test_build.py
index 8e2c4c06..4caa4559 100644
--- a/test/jenkins/test_build.py
+++ b/test/jenkins/test_build.py
@@ -132,6 +132,7 @@
# CHECK-CMAKELTO-NOT:: '-DLLVM_ENABLE_LTO=Off
# CHECK-CMAKELTO: '-DLLVM_PARALLEL_LINK_JOBS=1'
# CHECK-CMAKELTO: '-DCMAKE_BUILD_TYPE=Release'
+# CHECK-CMAKELTO: '-DSVN_REVISION=1234'
# RUN: env MAX_PARALLEL_LINKS=2 python %{src_root}/zorg/jenkins/build.py cmake all --lto | FileCheck --check-prefix CHECK-CMAKE-PAR-LTO %s
# CHECK-CMAKE-PAR-LTO: '/usr/local/bin/cmake' '-G' 'Ninja'
@@ -170,4 +171,4 @@
# Test long should always do check-all, since that is what many bots expect.
# RUN: python %{src_root}/zorg/jenkins/build.py cmake testlong | FileCheck --check-prefix CHECK-TTARGETS2 %s
-# CHECK-TTARGETS2: '/usr/local/bin/ninja' '-v' '-k' '0' 'check-all' \ No newline at end of file
+# CHECK-TTARGETS2: '/usr/local/bin/ninja' '-v' '-k' '0' 'check-all'