[llvm-commits] [zorg] r89797 - in /zorg/trunk: test/ test/buildbot/ test/buildbot/builders/ test/buildbot/builders/Import.py test/lit.cfg zorg/buildbot/builders/LLVMGCCBuilder.py
Daniel Dunbar
daniel at zuster.org
Tue Nov 24 12:44:38 PST 2009
Author: ddunbar
Date: Tue Nov 24 14:44:38 2009
New Revision: 89797
URL: http://llvm.org/viewvc/llvm-project?rev=89797&view=rev
Log:
Fix a refacto in the LLVMGCCBuilder, and start a test suite to prevent future
embarrassments.
- I heart lit.
Added:
zorg/trunk/test/
zorg/trunk/test/buildbot/
zorg/trunk/test/buildbot/builders/
zorg/trunk/test/buildbot/builders/Import.py
zorg/trunk/test/lit.cfg
Modified:
zorg/trunk/zorg/buildbot/builders/LLVMGCCBuilder.py
Added: zorg/trunk/test/buildbot/builders/Import.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/test/buildbot/builders/Import.py?rev=89797&view=auto
==============================================================================
--- zorg/trunk/test/buildbot/builders/Import.py (added)
+++ zorg/trunk/test/buildbot/builders/Import.py Tue Nov 24 14:44:38 2009
@@ -0,0 +1,5 @@
+# RUN: python %s
+
+import zorg
+from zorg.buildbot.builders import ClangBuilder, LLVMBuilder, LLVMGCCBuilder
+
Added: zorg/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/test/lit.cfg?rev=89797&view=auto
==============================================================================
--- zorg/trunk/test/lit.cfg (added)
+++ zorg/trunk/test/lit.cfg Tue Nov 24 14:44:38 2009
@@ -0,0 +1,28 @@
+# -*- Python -*-
+
+import os
+import platform
+
+# Configuration file for the 'lit' test runner.
+
+# name: The name of this test suite.
+config.name = 'Zorg'
+
+# testFormat: The test format to use to interpret tests.
+#
+# For now we require '&&' between commands, until they get globally killed and
+# the test runner updated.
+execute_external = platform.system() != 'Windows'
+config.test_format = lit.formats.ShTest(execute_external)
+
+# suffixes: A list of file extensions to treat as test files.
+config.suffixes = ['.py']
+
+# test_source_root: The root path where tests are located.
+config.test_source_root = os.path.dirname(__file__)
+config.test_exec_root = config.test_source_root
+
+config.target_triple = None
+
+config.environment['PYTHONPATH'] = os.path.join(config.test_source_root, '..')
+
Modified: zorg/trunk/zorg/buildbot/builders/LLVMGCCBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/LLVMGCCBuilder.py?rev=89797&r1=89796&r2=89797&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/LLVMGCCBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/LLVMGCCBuilder.py Tue Nov 24 14:44:38 2009
@@ -261,7 +261,6 @@
f.addStep(WarningCountingShellCommand(name="install.llvm-gcc.stage2",
command = ['nice', '-n', '10',
make, 'install'],
- command="nice -n 10 make",
haltOnFailure=True,
description=["install",
"llvm-gcc",
More information about the llvm-commits
mailing list