[zorg] r217512 - Fix lit arg passing for libcxx-libcxxabi-singlethreaded-x86_64-linux-debian
Jonathan Roelofs
jonathan at codesourcery.com
Wed Sep 10 08:48:09 PDT 2014
Author: jroelofs
Date: Wed Sep 10 10:48:09 2014
New Revision: 217512
URL: http://llvm.org/viewvc/llvm-project?rev=217512&view=rev
Log:
Fix lit arg passing for libcxx-libcxxabi-singlethreaded-x86_64-linux-debian
http://reviews.llvm.org/D5273
Modified:
zorg/trunk/zorg/buildbot/builders/LibcxxAndAbiBuilder.py
Modified: zorg/trunk/zorg/buildbot/builders/LibcxxAndAbiBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/LibcxxAndAbiBuilder.py?rev=217512&r1=217511&r2=217512&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/LibcxxAndAbiBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/LibcxxAndAbiBuilder.py Wed Sep 10 10:48:09 2014
@@ -71,9 +71,9 @@ def getLibcxxAndAbiBuilder(f=None, env={
env['CXXFLAGS'] = (env.get('CXXFLAGS', '') +
' -D_LIBCPP_HAS_NO_MONOTONIC_CLOCK')
- litTestArgs = ''
+ litTestArgs = '-sv --show-unsupported --show-xfail'
if additional_features:
- litTestArgs = ('--param=additional_features=' +
+ litTestArgs += (' --param=additional_features=' +
','.join(additional_features))
# Nuke/remake build directory and run CMake
@@ -85,8 +85,9 @@ def getLibcxxAndAbiBuilder(f=None, env={
haltOnFailure=True, workdir=src_root))
f.addStep(buildbot.steps.shell.ShellCommand(
- name='cmake', command=['cmake', src_root], haltOnFailure=True,
- workdir=build_path, env=env))
+ name='cmake', command=['cmake', src_root,
+ '-DLLVM_LIT_ARGS="'+litTestArgs+'"'],
+ haltOnFailure=True, workdir=build_path, env=env))
# Build libcxxabi
jobs_flag = properties.WithProperties('-j%(jobs)s')
@@ -100,14 +101,13 @@ def getLibcxxAndAbiBuilder(f=None, env={
haltOnFailure=True, workdir=build_path))
# Test libc++abi
- lit_flags = properties.WithProperties("LIT_ARGS=%s" % litTestArgs)
f.addStep(buildbot.steps.shell.ShellCommand(
- name='test.libcxxabi', command=['make', lit_flags, 'check-libcxxabi'],
+ name='test.libcxxabi', command=['make', 'check-libcxxabi'],
workdir=build_path))
# Test libc++
f.addStep(buildbot.steps.shell.ShellCommand(
- name='test.libcxx', command=['make', lit_flags, 'check-libcxx'],
+ name='test.libcxx', command=['make', 'check-libcxx'],
workdir=build_path))
return f
More information about the llvm-commits
mailing list