mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Rewrite 7z uncompressing to work on all supported platforms
On Windows we ship 7za.exe in our binaries. On MacOS we do the same, but the executable needs to be called with the full path. On Linux we don't ship anything but assume it to be available from the distribution.
This commit is contained in:
committed by
Klaus Basan
parent
2843e20d54
commit
659b78832e
@@ -66,7 +66,7 @@ namespace BlackMiscTest
|
||||
const QString td = tempDir.path();
|
||||
const QString compressedFile(CFileUtils::appendFilePaths(CDirectoryUtils::shareTestDirectory(), "countries.json.gz"));
|
||||
const QString unCompressedFile(CFileUtils::appendFilePaths(td, "countries.json"));
|
||||
const bool c = CCompressUtils::zip7Uncompress(compressedFile, td, true);
|
||||
const bool c = CCompressUtils::zip7Uncompress(compressedFile, td);
|
||||
|
||||
QVERIFY2(c, "Uncompressing failed");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user