Fix data testsuite path

Add separator between base path and set path if base path is set

Fixes #299
pull/331/head
Bernard Cafarelli 2 years ago
parent 249d678b25
commit 4c95dc8716
No known key found for this signature in database
GPG Key ID: 5A761FC3AEC20F13
  1. 3
      src/nvtt/tests/testsuite.cpp

@ -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…
Cancel
Save