Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions test/DynamoCoreTests/DynamoCoreTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,15 @@
<ItemGroup>
<Folder Include="NodesJsonDatasets\" />
</ItemGroup>
<Target Name="UnpackEngineTestPackage" AfterTargets="Build">
<PropertyGroup>
<PkgTestsRoot>$([System.IO.Path]::GetFullPath('$(SolutionDir)..\test\core\packageDependencyTests\'))</PkgTestsRoot>
<ZipPath>$(PkgTestsRoot)PythonEnginePackage.zip</ZipPath>
<DestRoot>$(PkgTestsRoot)PythonEnginePackage\</DestRoot>
</PropertyGroup>
<RemoveDir Directories="$(DestRoot)" Condition="Exists('$(DestRoot)')" />
<Exec Command="powershell -NoProfile -ExecutionPolicy Bypass -Command &quot;Add-Type -AssemblyName 'System.IO.Compression.FileSystem'; [System.IO.Compression.ZipFile]::ExtractToDirectory('$(ZipPath)','$(DestRoot)')&quot;" />
</Target>
<Target Name="MoveSomeTestDepsOutOfBin" AfterTargets="Build">
<!--moq + deps-->
<Copy SourceFiles="$(PkgCastle_Core)\lib\netstandard2.0\Castle.Core.dll" DestinationFolder="$(TestDependenciesPath)" />
Expand Down
12 changes: 0 additions & 12 deletions test/Libraries/DynamoPythonTests/DynamoPythonTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,4 @@
<ItemGroup>
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
</ItemGroup>
<ItemGroup>
<None Include="$([System.IO.Path]::GetFullPath('$(SolutionDir)..\test\core\packageDependencyTests\PythonEnginePackage.zip'))" />
</ItemGroup>
<Target Name="UnpackEngineTestPackage" AfterTargets="Build">
<PropertyGroup>
<PkgTestsRoot>$([System.IO.Path]::GetFullPath('$(SolutionDir)..\test\core\packageDependencyTests\'))</PkgTestsRoot>
<ZipPath>$(PkgTestsRoot)PythonEnginePackage.zip</ZipPath>
<DestRoot>$(PkgTestsRoot)PythonEnginePackage\</DestRoot>
</PropertyGroup>
<RemoveDir Directories="$(DestRoot)" Condition="Exists('$(DestRoot)')" />
<Exec Command="powershell -NoProfile -ExecutionPolicy Bypass -Command &quot;Add-Type -AssemblyName 'System.IO.Compression.FileSystem'; [System.IO.Compression.ZipFile]::ExtractToDirectory('$(ZipPath)','$(DestRoot)')&quot;" />
</Target>
</Project>
Loading