Skip to content
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.

Commit

Permalink
Fix data testsuite path
Browse files Browse the repository at this point in the history
Add separator between base path and set path if base path is set

Fixes #299
  • Loading branch information
voyageur committed Sep 7, 2020
1 parent 249d678 commit 4c95dc8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/nvtt/tests/testsuite.cpp
Expand Up @@ -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());
Expand Down

0 comments on commit 4c95dc8

Please sign in to comment.