mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Fix missing implementations for C++ tests
This commit is contained in:
@@ -131,6 +131,14 @@ namespace Semmle.Autobuild.Cpp.Tests
|
|||||||
|
|
||||||
bool IBuildActions.IsWindows() => IsWindows;
|
bool IBuildActions.IsWindows() => IsWindows;
|
||||||
|
|
||||||
|
public bool IsMacOs { get; set; }
|
||||||
|
|
||||||
|
bool IBuildActions.IsMacOs() => IsMacOs;
|
||||||
|
|
||||||
|
public bool IsArm { get; set; }
|
||||||
|
|
||||||
|
bool IBuildActions.IsArm() => IsArm;
|
||||||
|
|
||||||
string IBuildActions.PathCombine(params string[] parts)
|
string IBuildActions.PathCombine(params string[] parts)
|
||||||
{
|
{
|
||||||
return string.Join(IsWindows ? '\\' : '/', parts.Where(p => !string.IsNullOrWhiteSpace(p)));
|
return string.Join(IsWindows ? '\\' : '/', parts.Where(p => !string.IsNullOrWhiteSpace(p)));
|
||||||
|
|||||||
Reference in New Issue
Block a user