Skip to content

Commit

Permalink
Fix deploy_ebpf script
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Thaler <[email protected]>
  • Loading branch information
dthaler committed Aug 15, 2023
1 parent 0b18e21 commit 2c85919
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
3 changes: 2 additions & 1 deletion scripts/deploy-ebpf.ps1.in
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ OPTIONS:
-m, --msi Copies MSI instead of individual files
-l, --local Copies files to the local temp directory instead of into a VM
-t, --test Includes files needed only for testing and debugging
-j, --jittest Includes files needed for JIT testing and debugging
--vm Specifies the VM name, which defaults to "Windows 10 dev environment"

'@
Expand Down Expand Up @@ -281,7 +282,7 @@ OPTIONS:
$copy_redist=$true
break
}
{ @("-t", "--jittest") -contains $_ }
{ @("-j", "--jittest") -contains $_ }
{
$built_files= $built_runtime_files + $built_runtime_jit_files + $built_test_files
$copy_redist=$true
Expand Down
17 changes: 16 additions & 1 deletion scripts/setup_build/setup_build.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ popd
<DeploymentContent Condition="'$(Configuration)|$(Platform)'=='NativeOnlyDebug|x64'">true</DeploymentContent>
<DeploymentContent Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</DeploymentContent>
<DeploymentContent Condition="'$(Configuration)|$(Platform)'=='NativeOnlyRelease|x64'">true</DeploymentContent>
<DestinationFolders Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(OutDir)scripts</DestinationFolders>
<DestinationFolders Condition="'$(Configuration)|$(Platform)'=='NativeOnlyDebug|x64'">$(OutDir)scripts</DestinationFolders>
<DestinationFolders Condition="'$(Configuration)|$(Platform)'=='NativeOnlyRelease|x64'">$(OutDir)scripts</DestinationFolders>
<DestinationFolders Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(OutDir)scripts</DestinationFolders>
<DestinationFolders Condition="'$(Configuration)|$(Platform)'=='FuzzerDebug|x64'">$(OutDir)scripts</DestinationFolders>
</CopyFileToFolders>
<CopyFileToFolders Include="..\run_tests.bat">
<DeploymentContent Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</DeploymentContent>
Expand All @@ -79,6 +84,11 @@ popd
<DeploymentContent Condition="'$(Configuration)|$(Platform)'=='NativeOnlyDebug|x64'">true</DeploymentContent>
<DeploymentContent Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</DeploymentContent>
<DeploymentContent Condition="'$(Configuration)|$(Platform)'=='NativeOnlyRelease|x64'">true</DeploymentContent>
<DestinationFolders Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(OutDir)scripts</DestinationFolders>
<DestinationFolders Condition="'$(Configuration)|$(Platform)'=='NativeOnlyDebug|x64'">$(OutDir)scripts</DestinationFolders>
<DestinationFolders Condition="'$(Configuration)|$(Platform)'=='NativeOnlyRelease|x64'">$(OutDir)scripts</DestinationFolders>
<DestinationFolders Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(OutDir)scripts</DestinationFolders>
<DestinationFolders Condition="'$(Configuration)|$(Platform)'=='FuzzerDebug|x64'">$(OutDir)scripts</DestinationFolders>
</CopyFileToFolders>
<CopyFileToFolders Include="..\config_test_vm.psm1">
<DeploymentContent Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</DeploymentContent>
Expand Down Expand Up @@ -114,6 +124,11 @@ popd
<DeploymentContent Condition="'$(Configuration)|$(Platform)'=='NativeOnlyDebug|x64'">true</DeploymentContent>
<DeploymentContent Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</DeploymentContent>
<DeploymentContent Condition="'$(Configuration)|$(Platform)'=='NativeOnlyRelease|x64'">true</DeploymentContent>
<DestinationFolders Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(OutDir)scripts</DestinationFolders>
<DestinationFolders Condition="'$(Configuration)|$(Platform)'=='NativeOnlyDebug|x64'">$(OutDir)scripts</DestinationFolders>
<DestinationFolders Condition="'$(Configuration)|$(Platform)'=='NativeOnlyRelease|x64'">$(OutDir)scripts</DestinationFolders>
<DestinationFolders Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(OutDir)scripts</DestinationFolders>
<DestinationFolders Condition="'$(Configuration)|$(Platform)'=='FuzzerDebug|x64'">$(OutDir)scripts</DestinationFolders>
</CopyFileToFolders>
<CopyFileToFolders Include="..\run_driver_tests.psm1">
<DeploymentContent Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</DeploymentContent>
Expand Down Expand Up @@ -338,4 +353,4 @@ copy "$(VC_CppRuntimeFilesPath_x64)\Microsoft.VC143.CRT" "$(OutDir)"</Command>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
</Project>

0 comments on commit 2c85919

Please sign in to comment.