[LNT] r291164 - Make sure sample field also has a name in all cases
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 5 11:32:38 PST 2017
Author: cmatthews
Date: Thu Jan 5 13:32:37 2017
New Revision: 291164
URL: http://llvm.org/viewvc/llvm-project?rev=291164&view=rev
Log:
Make sure sample field also has a name in all cases
Hopefully this will fix a Green Dragon bot failure.
Modified:
lnt/trunk/tests/server/db/blacklist.py
Modified: lnt/trunk/tests/server/db/blacklist.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/tests/server/db/blacklist.py?rev=291164&r1=291163&r2=291164&view=diff
==============================================================================
--- lnt/trunk/tests/server/db/blacklist.py (original)
+++ lnt/trunk/tests/server/db/blacklist.py Thu Jan 5 13:32:37 2017
@@ -32,14 +32,15 @@ class BlacklistProcessingTest(unittest.T
machine = self.machine = ts_db.Machine("test-machine")
ts_db.add(machine)
+
+ a_field = ts_db.Sample.fields[0]
+
ts_db.commit()
test = self.test = ts_db.Test("Foo")
test2 = self.test2 = ts_db.Test("SingleSource/Foo/Bar/baz")
test3 = self.test3 = ts_db.Test("SingleSource/UnitTests/Bar/baz")
test4 = self.test4 = ts_db.Test("MultiSource/Benchmarks/Ptrdist/ks/ks")
-
- a_field = None
self.field_change1 = ts_db.FieldChange(order1234,
order1236,
More information about the llvm-commits
mailing list