From 65eb5b2b2b4aa67052d959a207d97c1987be1cb3 Mon Sep 17 00:00:00 2001 From: Ivan Komissarov Date: Fri, 15 May 2020 21:30:26 +0200 Subject: Add blackbox examples test It is necessary to build examples with different profiles pretty much like it is done with other tests. Thus, build examples as a separate blackbox test. Change-Id: If4e910fb60a6d51e1a0c690e7a4ece4b17bd5b95 Reviewed-by: Christian Kandeler --- tests/auto/shared.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/auto/shared.h') diff --git a/tests/auto/shared.h b/tests/auto/shared.h index beda8fff3..8dced2062 100644 --- a/tests/auto/shared.h +++ b/tests/auto/shared.h @@ -335,6 +335,8 @@ inline QString testWorkDir(const QString &testName) inline bool copyDllExportHeader(const QString &srcDataDir, const QString &targetDataDir) { QFile sourceFile(srcDataDir + "/../../dllexport.h"); + if (!sourceFile.exists()) + return true; const QString targetPath = targetDataDir + "/dllexport.h"; QFile::remove(targetPath); return sourceFile.copy(targetPath); -- cgit v1.2.1