aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/tst_blackbox.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2018-05-28 16:03:16 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2018-05-30 13:29:10 +0000
commit24b624b09388e4ea27de38e058b3d3d59e67bb30 (patch)
treee484e163c93bb7259a1440bd9865bdad68850656 /tests/auto/blackbox/tst_blackbox.h
parentbb86d55c9e8614e6cf5819f0300d12d021402195 (diff)
C++ scanner: Properly handle UTF-8 byte order mark
Includes in the first line of a source file starting with a byte order mark would not get detected, resulting in failure to recompile after a header file change. Skip over the BOM before passing the data to the lexer. Task-number: QBS-1348 Done-with: Ola Røer Thorsen <ola@silentwings.no> Change-Id: I894a5b1667e49be5f8ce9b5cc66e4e796fd073f1 Reviewed-by: Ola Røer Thorsen <ola@silentwings.no> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests/auto/blackbox/tst_blackbox.h')
-rw-r--r--tests/auto/blackbox/tst_blackbox.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/blackbox/tst_blackbox.h b/tests/auto/blackbox/tst_blackbox.h
index fb95e723a..e5adc762f 100644
--- a/tests/auto/blackbox/tst_blackbox.h
+++ b/tests/auto/blackbox/tst_blackbox.h
@@ -50,6 +50,7 @@ private slots:
void autotestWithDependencies();
void auxiliaryInputsFromDependencies();
void badInterpreter();
+ void bomSources();
void buildDataOfDisabledProduct();
void buildDirectories();
void buildEnvChange();