Commit c7b7fde2 authored by Robert Loehning's avatar Robert Loehning

Squish: Fix verification in tst_rename_file

This doesn't change anything until we replace the used project.
main.cpp or utility.cpp may get the tempFiletype "Headers" and
then the test will crash because the file can't be opened.
In addition, only files with filetype "Headers" are included in
other files, so verifying including of other files is
pointless.

Change-Id: I30b20269a800eca5ef51de3af209e674da5189bd
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent a8cdf035
......@@ -61,7 +61,7 @@ def main():
previous, filename)
# QTCREATORBUG-13176 does update the navigator async
progressBarWait()
if tempFiletype == "Headers": # QTCREATORBUG-13204
if filetype == "Headers": # QTCREATORBUG-13204
verifyRenamedIncludes(templateDir, "main.cpp", previous, filename)
verifyRenamedIncludes(templateDir, "utility.cpp", previous, filename)
previous = filename
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment