[llvm-commits] [zorg] r146769 - in /zorg/trunk/lnt/tests: Web/NightlytestMachinesRoot.py Web/NightlytestRoot.py Web/NightlytestRunRoot.py Web/RootPage.py Web/WebSubmit.py lit.cfg

Daniel Dunbar daniel at zuster.org
Fri Dec 16 15:14:33 PST 2011


Author: ddunbar
Date: Fri Dec 16 17:14:33 2011
New Revision: 146769

URL: http://llvm.org/viewvc/llvm-project?rev=146769&view=rev
Log:
lnt/tests: Remove some of the web tests which are irritating.
 - Flask has better tools for writing these tests that don't require bringing up
   a web server. I don't know how to use them, yet, but that is just a detail
   right?

Removed:
    zorg/trunk/lnt/tests/Web/NightlytestMachinesRoot.py
    zorg/trunk/lnt/tests/Web/NightlytestRoot.py
    zorg/trunk/lnt/tests/Web/NightlytestRunRoot.py
    zorg/trunk/lnt/tests/Web/RootPage.py
    zorg/trunk/lnt/tests/Web/WebSubmit.py
Modified:
    zorg/trunk/lnt/tests/lit.cfg

Removed: zorg/trunk/lnt/tests/Web/NightlytestMachinesRoot.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/tests/Web/NightlytestMachinesRoot.py?rev=146768&view=auto
==============================================================================
--- zorg/trunk/lnt/tests/Web/NightlytestMachinesRoot.py (original)
+++ zorg/trunk/lnt/tests/Web/NightlytestMachinesRoot.py (removed)
@@ -1,4 +0,0 @@
-# RUN: curl -s %base_url/nightlytest/machines/1/ | FileCheck %s
-# CHECK: <h2>{{.*}}LNT{{.*}} : {{.*}}nightlytest{{.*}}</h2>
-# CHECK: Render Time:
-

Removed: zorg/trunk/lnt/tests/Web/NightlytestRoot.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/tests/Web/NightlytestRoot.py?rev=146768&view=auto
==============================================================================
--- zorg/trunk/lnt/tests/Web/NightlytestRoot.py (original)
+++ zorg/trunk/lnt/tests/Web/NightlytestRoot.py (removed)
@@ -1,3 +0,0 @@
-# RUN: curl -s %base_url/nightlytest/ | FileCheck %s
-# CHECK: <h2>{{.*}}LNT{{.*}} : {{.*}}nightlytest{{.*}}</h2>
-# CHECK: Render Time:

Removed: zorg/trunk/lnt/tests/Web/NightlytestRunRoot.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/tests/Web/NightlytestRunRoot.py?rev=146768&view=auto
==============================================================================
--- zorg/trunk/lnt/tests/Web/NightlytestRunRoot.py (original)
+++ zorg/trunk/lnt/tests/Web/NightlytestRunRoot.py (removed)
@@ -1,10 +0,0 @@
-# RUN: curl -s %base_url/nightlytest/1/ | FileCheck --check-prefix=BRIEF %s
-# BRIEF: <h2>{{.*}}LNT{{.*}} : {{.*}}nightlytest{{.*}} : {{.*}}machine{{.*}}</h2>
-# BRIEF: See Full Test Results
-# BRIEF: Render Time:
-
-# RUN: curl -s %base_url/nightlytest/1/?full=1 | FileCheck --check-prefix=FULL %s
-# FULL: <h2>{{.*}}LNT{{.*}} : {{.*}}nightlytest{{.*}} : {{.*}}machine{{.*}}</h2>
-# FULL: See Brief Test Results
-# FULL: Render Time:
-

Removed: zorg/trunk/lnt/tests/Web/RootPage.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/tests/Web/RootPage.py?rev=146768&view=auto
==============================================================================
--- zorg/trunk/lnt/tests/Web/RootPage.py (original)
+++ zorg/trunk/lnt/tests/Web/RootPage.py (removed)
@@ -1,2 +0,0 @@
-# RUN: curl -s %base_url/ | FileCheck %s
-# CHECK: <h2>{{.*}}LNT{{.*}} - Overview</h2>

Removed: zorg/trunk/lnt/tests/Web/WebSubmit.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/tests/Web/WebSubmit.py?rev=146768&view=auto
==============================================================================
--- zorg/trunk/lnt/tests/Web/WebSubmit.py (original)
+++ zorg/trunk/lnt/tests/Web/WebSubmit.py (removed)
@@ -1,5 +0,0 @@
-# RUN: lnt submit %base_url/submitRun %S/../DB/Inputs/sample-a-small.plist > %t
-# RUN: FileCheck %s < %t
-
-# CHECK: Importing u'{{.*}}.plist'
-# CHECK: Import succeeded.

Modified: zorg/trunk/lnt/tests/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/tests/lit.cfg?rev=146769&r1=146768&r2=146769&view=diff
==============================================================================
--- zorg/trunk/lnt/tests/lit.cfg (original)
+++ zorg/trunk/lnt/tests/lit.cfg Fri Dec 16 17:14:33 2011
@@ -28,10 +28,3 @@
 config.environment['PYTHONPATH'] = src_root
 
 config.substitutions.append(('%src_root', src_root))
-
-# FIXME: Write better tests.
-config.substitutions.append(('%base_url', 'http://localhost/perf'))
-
-# FIXME: Very gross.
-config.substitutions.append(('%email_host', 'relay.example.com'))
-config.substitutions.append(('%email_to', 'example at example.com'))





More information about the llvm-commits mailing list