From f1d4e0b87585e6312ad485424f08808b1d368bdb Mon Sep 17 00:00:00 2001 From: David Croft Date: Thu, 30 Jan 2020 13:46:22 +0000 Subject: [PATCH] Filename bug --- Testing/test_byhand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" );