[LNT] r249774 - Update some test cases I forgot about
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 8 16:12:20 PDT 2015
Author: cmatthews
Date: Thu Oct 8 18:12:19 2015
New Revision: 249774
URL: http://llvm.org/viewvc/llvm-project?rev=249774&view=rev
Log:
Update some test cases I forgot about
Modified:
lnt/trunk/lnt/server/ui/templates/layout.html
lnt/trunk/tests/server/db/CreateV4TestSuiteInstance.py
lnt/trunk/tests/server/ui/test_api.py
Modified: lnt/trunk/lnt/server/ui/templates/layout.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/layout.html?rev=249774&r1=249773&r2=249774&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/layout.html (original)
+++ lnt/trunk/lnt/server/ui/templates/layout.html Thu Oct 8 18:12:19 2015
@@ -221,6 +221,6 @@
</table>
</div>
</div>
->>>>>>> Re-indent layout.html, fix hanging div
+
</body>
</html>
Modified: lnt/trunk/tests/server/db/CreateV4TestSuiteInstance.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/tests/server/db/CreateV4TestSuiteInstance.py?rev=249774&r1=249773&r2=249774&view=diff
==============================================================================
--- lnt/trunk/tests/server/db/CreateV4TestSuiteInstance.py (original)
+++ lnt/trunk/tests/server/db/CreateV4TestSuiteInstance.py Thu Oct 8 18:12:19 2015
@@ -59,6 +59,7 @@ field_change2 = ts_db.FieldChange(order2
ts_db.add(field_change2)
TEST_TITLE = "Some regression title"
+
regression = ts_db.Regression(TEST_TITLE, "PR1234")
ts_db.add(regression)
@@ -105,7 +106,7 @@ assert machine.os == "test-os"
assert order.next_order_id is None
assert order.previous_order_id is None
-assert order.llvm_project_revision == "test-revision"
+assert order.llvm_project_revision == "1234"
assert run.machine is machine
assert run.order is order
Modified: lnt/trunk/tests/server/ui/test_api.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/tests/server/ui/test_api.py?rev=249774&r1=249773&r2=249774&view=diff
==============================================================================
--- lnt/trunk/tests/server/ui/test_api.py (original)
+++ lnt/trunk/tests/server/ui/test_api.py Thu Oct 8 18:12:19 2015
@@ -58,12 +58,10 @@ order_expected_response = {u'id': 1,
u'next_order_id': 0,
u'previous_order_id': 2}
-graph_data = [{u'time': u'2012-05-01T16:28:23',
- u'rev': u'152292',
- u'val': 1.0},
- {u'time': u'2012-05-03T16:28:24',
- u'rev': u'152293',
- u'val': 10.0}]
+graph_data = [[152292, 1.0,
+ {u'date': u'2012-05-01 16:28:23', u'label': u'152292'}],
+ [152293, 10.0,
+ {u'date': u'2012-05-03 16:28:24', u'label': u'152293'}]]
class JSONAPITester(unittest.TestCase):
More information about the llvm-commits
mailing list