SPARK-2067: Setup bash scripts for running system tests
This commit is contained in:
1 parent
d3305b7990
commit
59cfe3dc8d
3 files changed
+13
-4
No files matched your search
@@ -17,9 +17,9 @@
|
||||
<RootNamespace>bts</RootNamespace>
|
||||
<LangVersion>7.2</LangVersion>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<WarningsAsErrors />
|
||||
<Version>1.0.0</Version>
|
||||
</PropertyGroup>
|
||||
<WarningsAsErrors />
|
||||
<Version>1.0.0</Version>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="../spark_api/spark_api.csproj" />
|
||||
<ProjectReference Include="../spark_core/spark_core.csproj" />
|
||||
@@ -90,6 +90,9 @@
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="../spark_test/system_test_scripts/*.sh" CopyToOutputDirectory="PreserveNewest"></Content>
|
||||
</ItemGroup>
|
||||
<Target Name="diagnostic" AfterTargets="PreBuildEvent">
|
||||
</Target>
|
||||
</Project>
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
dotnet sparkcmd.dll test test_position_limits
|
||||
@@ -16,7 +16,10 @@ dotnet publish -f netcoreapp2.1
|
||||
cd ..\..\..\build\Debug\bin\netcoreapp2.1\publish
|
||||
bash -c "scp * bts@sparkvm:~/spark/build/ninja_%build_type%/server/"
|
||||
|
||||
ssh bts@sparkvm -p %SPARKVM_PORT% -o StrictHostKeyChecking=no -t "cd /home/bts/spark/build/ninja_%build_type%/server && dotnet sparkcmd.dll test %1 %2"
|
||||
cd ../../net471
|
||||
bash -c "scp *.sh bts@sparkvm:~/spark/build/ninja_%build_type%/server/"
|
||||
|
||||
ssh bts@sparkvm -p %SPARKVM_PORT% -o StrictHostKeyChecking=no -t "cd /home/bts/spark/build/ninja_%build_type%/server && ./%1 %2"
|
||||
ENDLOCAL
|
||||
|
||||
popd
|
||||
Reference in new issue
Block a user