Fix data testsuite path
Add separator between base path and set path if base path is set Fixes #299
This commit is contained in:
parent
249d678b25
commit
4c95dc8716
@ -509,6 +509,9 @@ int main(int argc, char *argv[])
|
||||
nvtt::Context context;
|
||||
context.enableCudaAcceleration(!nocuda);
|
||||
|
||||
if (basePath.length() > 0) {
|
||||
basePath.appendSeparator();
|
||||
}
|
||||
basePath.append(set.basePath);
|
||||
|
||||
FileSystem::changeDirectory(basePath.str());
|
||||
|
Loading…
Reference in New Issue
Block a user