Commit 07233a79 authored by Ghislain MARY's avatar Ghislain MARY

Fix resource detection in belle-sip-tester for Windows 10.

parent 9f584aa5
...@@ -93,6 +93,9 @@ ...@@ -93,6 +93,9 @@
<Content Include="ApplicationInsights.config"> <Content Include="ApplicationInsights.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
<Content Include="Assets\common\bc_completion">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="project.json" /> <None Include="project.json" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
...@@ -138,10 +141,16 @@ ...@@ -138,10 +141,16 @@
<Name>belle-sip-tester-runtime-component</Name> <Name>belle-sip-tester-runtime-component</Name>
</ProjectReference> </ProjectReference>
</ItemGroup> </ItemGroup>
<ItemGroup />
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0' "> <PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0' ">
<VisualStudioVersion>14.0</VisualStudioVersion> <VisualStudioVersion>14.0</VisualStudioVersion>
</PropertyGroup> </PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" /> <Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>
XCopy /I /Y $(ProjectDir)..\..\..\..\tester\common\bc_completion $(ProjectDir)Assets\common
</PreBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets. Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild"> <Target Name="BeforeBuild">
......
...@@ -114,7 +114,7 @@ void BelleSipTester::runAllToXml() ...@@ -114,7 +114,7 @@ void BelleSipTester::runAllToXml()
init(true); init(true);
FILE *f = fopen(logFile, "w"); FILE *f = fopen(logFile, "w");
belle_sip_set_log_file(f); belle_sip_set_log_file(f);
bc_tester_start("belle-sip-tester"); bc_tester_start(NULL);
bc_tester_uninit(); bc_tester_uninit();
fclose(f); fclose(f);
free(xmlFile); free(xmlFile);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment