aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2018-02-02 11:23:56 +0100
committerChristian Tismer <tismer@stackless.com>2018-02-02 12:04:53 +0000
commita5bc27c463f40f6c984f99f81bb05e46699c7df1 (patch)
tree5f4887844f988779a306f2c030fc74eb5dc173cc /testing
parent849567b32a6203ee9274c3fc20eac150955c3404 (diff)
Registry: Trigger re-generation of files for Qt3D
This is phase 2. The files are generated. I only changed the date in the license section. After this check-in, the update is done. From Phase 1: The function registry does not contain the new Qt3D module. This produces no error because the test is configured to only break on missing functions but not on new unknown functions. We provoke a reaction of the system by removing of the 5.9 registry files. The system will generate an error once and produce the desired output. But because of the multiple testing, the test will succeed because the generated file exist on the second run and therefore the test will succeed as a flaky test. There is only one run necessary for all platforms at once. A second check-in will then do the update with the generated data. I also had to fix the testrunner to produce a good listing without labels. Task-number: PYSIDE-487 Change-Id: I06a73d244ce306977fd16223eec4dc491fff3429 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'testing')
-rw-r--r--testing/runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/runner.py b/testing/runner.py
index f86bdeebf..6c3eef388 100644
--- a/testing/runner.py
+++ b/testing/runner.py
@@ -163,11 +163,11 @@ class TestRunner(object):
print(*args, file=output, **kw)
# 'for line in input:' would read into too large chunks
+ labelled = True
while True:
line = input.readline()
if not line:
break
- labelled = True
if line.startswith('BEGIN_FILE'):
labelled = False
txt = line.rstrip()