diff --git a/Testing/test_byhand.cpp b/Testing/test_byhand.cpp index 18ac854..d042c3d 100644 --- a/Testing/test_byhand.cpp +++ b/Testing/test_byhand.cpp @@ -16,7 +16,7 @@ SCENARIO( "Code has been compiled" ) FAIL( path + " directory does not exist" ); // exec exists - const auto fResult = stat( "bin/hello", &info ); + const auto fResult = stat( exec.c_str(), &info ); if( fResult != 0 ) FAIL( exec + " does not exist" );