Move from CUnit to BCUnit

parent a58f7986
......@@ -24,13 +24,13 @@ Commercial licensing can be purchased for that purpose from [Belledonne Communic
* antlr3-3.4
* bctoolbox (see below)
* C++ compiler (for instance g++ or clang++)
* (optional) CUnit
* (optional) BCUnit
#### Under Debian/Ubuntu
apt-get install libtool intltool pkg-config libantlr3c-dev antlr3 g++ make
#and for optional dependencies
apt-get install libcunit1-dev libpolarssl-dev
apt-get install libbcunit1-dev libpolarssl-dev
#### Under MacOS X using HomeBrew
......@@ -41,12 +41,12 @@ Commercial licensing can be purchased for that purpose from [Belledonne Communic
The procedure is tested for Visual Studio Express 2012.
* Compile and install libantlr3c, CUnit with ./configure && make && make install
* Compile and install libantlr3c, BCUnit with ./configure && make && make install
* get antlr3 from linphone's git server (see above). This version contains up to date visual studio project and solution files.
* get CUnit from linphone's git server (see above). This version contains up to date visual studio project and solution files.
* put belle-sip next to antlr3 and to cunit (in the same directory).
* get BCUnit from linphone's git server (see above). This version contains up to date visual studio project and solution files.
* put belle-sip next to antlr3 and to bcunit (in the same directory).
* open belle-sip/build/windows/belle-sip-tester/belle-sip-tester.sln or belle-sip/build/windows/belle-sip/belle-sip.sln
* Build the solution (antlr3 and cunit are built automatically)
* Build the solution (antlr3 and bcunit are built automatically)
#### Building bctoolbox
......@@ -66,7 +66,7 @@ git://git.linphone.org/bctoolbox.git
Or get the source code from linphone's git (linphone branch):
git clone -b linphone git://git.linphone.org/antlr3.git
git clone -b linphone git://git.linphone.org/cunit.git
git clone -b linphone git://git.linphone.org/bcunit.git
......
......@@ -4,8 +4,8 @@
/* Define to 1 if you have the <antlr3.h> header file. */
#define HAVE_ANTLR3_H 1
/* Define to 1 if you have the <CUnit/CUnit.h> header file. */
/* #undef HAVE_CUNIT_CUNIT_H */
/* Define to 1 if you have the <BCUnit/BCUnit.h> header file. */
/* #undef HAVE_BCUNIT_BCUNIT_H */
/* defined when CU_curses_run_tests is available */
/* #undef HAVE_CU_CURSES */
......
......@@ -2,7 +2,7 @@
#include "belle-sip-tester-native.h"
#include "belle-sip/belle-sip.h"
#include "cunit/Util.h"
#include "bcunit/Util.h"
using namespace belle_sip_tester_native;
using namespace Platform;
......
......@@ -55,7 +55,7 @@
<ItemDefinitionGroup>
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<AdditionalIncludeDirectories>$(ProjectDir);$(GeneratedFilesDir);$(IntDir);$(ProjectDir)..\..\..\..\include;$(ProjectDir)..\..\..\..\src;$(ProjectDir)..\..\..\..\tester;$(ProjectDir)..\..\..\..\..\cunit\build\wp8\cunit\$(Platform)\$(Configuration);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(ProjectDir);$(GeneratedFilesDir);$(IntDir);$(ProjectDir)..\..\..\..\include;$(ProjectDir)..\..\..\..\src;$(ProjectDir)..\..\..\..\tester;$(ProjectDir)..\..\..\..\..\bcunit\build\wp8\bcunit\$(Platform)\$(Configuration);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WINDOWS;_WINRT_DLL;_CRT_SECURE_NO_WARNINGS;HAVE_CU_GET_SUITE;PACKAGE_VERSION=$(BELLESIP_PACKAGE_VERSION);%(PreprocessorDefinitions)</PreprocessorDefinitions>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
......@@ -116,7 +116,7 @@
<ClCompile Include="..\..\..\..\tester\belle_sip_tester.c" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\..\..\cunit\build\wp8\cunit\cunit.vcxproj">
<ProjectReference Include="..\..\..\..\..\bcunit\build\wp8\bcunit\bcunit.vcxproj">
<Project>{902daf1d-ebf1-4d03-b598-143500a50ab4}</Project>
</ProjectReference>
<ProjectReference Include="..\..\belle-sip\belle-sip.vcxproj">
......
......@@ -11,7 +11,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "belle-sip-tester-native", "
{4C225A82-800B-427B-BA7B-61686A9B347F} = {4C225A82-800B-427B-BA7B-61686A9B347F}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cunit", "..\..\..\..\cunit\build\wp8\cunit\cunit.vcxproj", "{902DAF1D-EBF1-4D03-B598-143500A50AB4}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bcunit", "..\..\..\..\bcunit\build\wp8\bcunit\bcunit.vcxproj", "{902DAF1D-EBF1-4D03-B598-143500A50AB4}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libantlr3c", "..\..\..\..\antlr3\runtime\C\build\wp8\libantlr3c\libantlr3c.vcxproj", "{8FA74260-151B-429B-83EF-3CF3EAC8CFD9}"
EndProject
......
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