diff options
author | Robert Loehning <robert.loehning@qt.io> | 2019-02-12 18:01:38 +0100 |
---|---|---|
committer | Robert Loehning <robert.loehning@qt.io> | 2019-02-13 10:05:42 +0000 |
commit | 4b8200086bfc9acc8d25eca40b271ba33c0fcc35 (patch) | |
tree | 47844a0f0ebb909e9013fe7e8beb2740d76d7871 /tests/system/shared | |
parent | 0b6a36df7e7d9e5c6b1eeef418923ec508977ac3 (diff) |
Squish: Fix handling of "Take a Tour" in startCreatorVerifyingClang
Change-Id: Ica4414c6e284af69aedf06b7d56b7e72587c7e90
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests/system/shared')
-rw-r--r-- | tests/system/shared/clang.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/system/shared/clang.py b/tests/system/shared/clang.py index f012b12c54..810f652b0b 100644 --- a/tests/system/shared/clang.py +++ b/tests/system/shared/clang.py @@ -23,11 +23,15 @@ # ############################################################################ +firstStart = True + def startCreatorVerifyingClang(useClang): + global firstStart try: # start Qt Creator with / without enabled ClangCodeModel plugin (without modifying settings) loadOrNoLoad = '-load' if useClang else '-noload' - startQC([loadOrNoLoad, 'ClangCodeModel']) + startQC([loadOrNoLoad, 'ClangCodeModel'], cancelTour=firstStart) + firstStart = False except RuntimeError: t, v = sys.exc_info()[:2] strv = str(v) |