[llvm-commits] [llvm] r113923 - in /llvm/trunk/utils/lit/lit: LitConfig.py LitFormats.py
Daniel Dunbar
daniel at zuster.org
Tue Sep 14 20:52:38 PDT 2010
Author: ddunbar
Date: Tue Sep 14 22:52:38 2010
New Revision: 113923
URL: http://llvm.org/viewvc/llvm-project?rev=113923&view=rev
Log:
lit: Expose FileBasedTest object and Test module via 'lit' object that gets
exposed to config files.
Modified:
llvm/trunk/utils/lit/lit/LitConfig.py
llvm/trunk/utils/lit/lit/LitFormats.py
Modified: llvm/trunk/utils/lit/lit/LitConfig.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/LitConfig.py?rev=113923&r1=113922&r2=113923&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/LitConfig.py (original)
+++ llvm/trunk/utils/lit/lit/LitConfig.py Tue Sep 14 22:52:38 2010
@@ -8,6 +8,9 @@
easily.
"""
+ # Provide access to Test module.
+ import Test
+
# Provide access to built-in formats.
import LitFormats as formats
Modified: llvm/trunk/utils/lit/lit/LitFormats.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/LitFormats.py?rev=113923&r1=113922&r2=113923&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/LitFormats.py (original)
+++ llvm/trunk/utils/lit/lit/LitFormats.py Tue Sep 14 22:52:38 2010
@@ -1,2 +1,3 @@
+from TestFormats import FileBasedTest
from TestFormats import GoogleTest, ShTest, TclTest
from TestFormats import SyntaxCheckTest, OneCommandPerFileTest
More information about the llvm-commits
mailing list