You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -147,14 +147,14 @@ class TestCppcheck : public TestFixture {
147
147
ASSERT_EQUALS("2>&1", redirect);
148
148
return EXIT_SUCCESS;
149
149
}
150
-
if (exe == exename("python3"))
150
+
if (exe == exename_("python3"))
151
151
{
152
152
ASSERT_EQUALS(1, args.size());
153
153
ASSERT_EQUALS("--version", args[0]);
154
154
ASSERT_EQUALS("2>&1", redirect);
155
155
return EXIT_SUCCESS;
156
156
}
157
-
if (exe == exename("python"))
157
+
if (exe == exename_("python"))
158
158
{
159
159
ASSERT_EQUALS(1, args.size());
160
160
ASSERT_EQUALS("--version", args[0]);
@@ -218,7 +218,7 @@ class TestCppcheck : public TestFixture {
218
218
219
219
// TODO: clang-tidy is currently not invoked for file inputs - see #12053
220
220
// TODO: needs to become a proper error
221
-
TODO_ASSERT_EQUALS("Failed to execute '" + exename("clang-tidy") + "' (no command callback provided)\n", "", GET_REDIRECT_ERROUT);
221
+
TODO_ASSERT_EQUALS("Failed to execute '" + exename_("clang-tidy") + "' (no command callback provided)\n", "", GET_REDIRECT_ERROUT);
222
222
223
223
ASSERT_EQUALS(0, called); // not called because we check if the callback exists
224
224
}
@@ -303,7 +303,7 @@ class TestCppcheck : public TestFixture {
303
303
ASSERT_EQUALS("Bailing out from analysis: Checking file failed: Failed to execute addon - no command callback provided", it->shortMessage()); // TODO: add addon name
304
304
305
305
// TODO: needs to become a proper error
306
-
ASSERT_EQUALS("Failed to execute '" + exename("clang-tidy") + "' (no command callback provided)\n", GET_REDIRECT_ERROUT);
306
+
ASSERT_EQUALS("Failed to execute '" + exename_("clang-tidy") + "' (no command callback provided)\n", GET_REDIRECT_ERROUT);
307
307
308
308
ASSERT_EQUALS(0, called); // not called because we check if the callback exists
0 commit comments