forked from qt-creator/qt-creator
Squish: Fix creating test cases
Change-Id: Iad0e20a213d0a45a2b7d8a43d18d320e02949179 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -178,7 +178,7 @@ static bool copyScriptTemplates(const SuiteConf &suiteConf, const Utils::FilePat
|
|||||||
const Utils::FilePath scripts = s->scriptsPath(suiteConf.language());
|
const Utils::FilePath scripts = s->scriptsPath(suiteConf.language());
|
||||||
const Utils::FilePath test = scripts.pathAppended(testStr + extension);
|
const Utils::FilePath test = scripts.pathAppended(testStr + extension);
|
||||||
const Utils::FilePath testFile = destination.pathAppended("test" + extension);
|
const Utils::FilePath testFile = destination.pathAppended("test" + extension);
|
||||||
QTC_ASSERT(testFile.exists(), return false);
|
QTC_ASSERT(!testFile.exists(), return false);
|
||||||
ok = test.copyFile(testFile);
|
ok = test.copyFile(testFile);
|
||||||
QTC_ASSERT(ok, return false);
|
QTC_ASSERT(ok, return false);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user