qt5base-lts/tests/auto/tools/qmake/testdata
Edward Welbourne 00a855d643 Avoid having division caught up in parsing of comments.
A loop to skip space and comments was meant to break on anything else
but would have not broken on a division operator (where it should) due
to it getting caught in the check for a comment-start, without falling
back suitably when it didn't complete that check.

Managed to contrive a suitably twisted change to findDeps test to
reveal the bug; broken previously, now fixed.  Not ideal, as it relied
on another bug to fail previously - backslash-newline shouldn't end a
preprocessing directive line - but it should still pass once that's
fixed, too.  Exercising a bug in qmake usually involves code that
won't compile anyway, making it tricky to write a test that reveals
the bug but that passes once it's fixed.

Change-Id: I08a1d7cc5e3d7fd1ac0a48e5c09dfdfbb7580b11
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
2015-11-20 15:01:38 +00:00
..
bundle-spaces remove nonsense DEFINES 2013-07-03 21:38:37 +02:00
duplicateLibraryEntries remove nonsense DEFINES 2013-07-03 21:38:37 +02:00
export_across_file_boundaries de-noise test 2015-02-04 16:33:51 +00:00
findDeps Avoid having division caught up in parsing of comments. 2015-11-20 15:01:38 +00:00
findMocs Update copyright headers 2015-02-11 06:49:51 +00:00
include_dir Update copyright headers 2015-02-11 06:49:51 +00:00
include_dir_build Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
include_pwd Fix semantics of the src dir in the include search paths with MinGW 2012-09-10 14:09:45 +02:00
install_depends Update copyright headers 2015-02-11 06:49:51 +00:00
one_space Update copyright headers 2015-02-11 06:49:51 +00:00
pro_file_cache Fix qmake's pro file cache to interact correctly with write_file 2012-10-25 16:22:00 +02:00
project Update copyright headers 2015-02-11 06:49:51 +00:00
prompt remove nonsense DEFINES 2013-07-03 21:38:37 +02:00
quotedfilenames more autotests for spaces, destdirs and library linking 2015-02-17 18:27:40 +00:00
resources Allow RESOURCES to contain standalone files and collections of files 2015-05-18 15:49:56 +00:00
shadow_files Update copyright headers 2015-02-11 06:49:51 +00:00
shadow_files_build Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
simple_app more autotests for spaces, destdirs and library linking 2015-02-17 18:27:40 +00:00
simple_app_build Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
simple_dll more autotests for spaces, destdirs and library linking 2015-02-17 18:27:40 +00:00
simple_lib more autotests for spaces, destdirs and library linking 2015-02-17 18:27:40 +00:00
subdir_via_pro_file_extra_target Update copyright headers 2015-02-11 06:49:51 +00:00
subdirs more autotests for spaces, destdirs and library linking 2015-02-17 18:27:40 +00:00
substitutes remove nonsense DEFINES 2013-07-03 21:38:37 +02:00
substitutes_build Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00