Make C++ unit tests run and pass on Windows (#3869)
* Make C++ unit tests run and pass on Windows * Fix logic for external memory. The letter ':' is part of drive letter, so remove the drive letter before splitting on ':'. * Cosmetic syntax changes to keep MSVC happy. * Fix lint * Add Windows guard
This commit is contained in:
committed by
GitHub
parent
d9642cf757
commit
2b045aa805
@@ -24,9 +24,9 @@
|
||||
#define DeclareUnifiedTest(name) name
|
||||
#endif
|
||||
|
||||
bool FileExists(const std::string name);
|
||||
bool FileExists(const std::string& filename);
|
||||
|
||||
long GetFileSize(const std::string filename);
|
||||
long GetFileSize(const std::string& filename);
|
||||
|
||||
void CreateSimpleTestData(const std::string& filename);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user