[hyena] build: Enable tests when building from xbuild or an IDE
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hyena] build: Enable tests when building from xbuild or an IDE
- Date: Sat, 16 Nov 2013 16:06:44 +0000 (UTC)
commit 50392a3a1eabbd36556dfe2c0a6b2dd6577984c0
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date: Sat Nov 16 17:02:46 2013 +0100
build: Enable tests when building from xbuild or an IDE
Hyena.Data.Sqlite/Hyena.Data.Sqlite.csproj | 6 ++++++
Hyena/Hyena.csproj | 2 ++
2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/Hyena.Data.Sqlite/Hyena.Data.Sqlite.csproj b/Hyena.Data.Sqlite/Hyena.Data.Sqlite.csproj
index 7e72c93..023569f 100644
--- a/Hyena.Data.Sqlite/Hyena.Data.Sqlite.csproj
+++ b/Hyena.Data.Sqlite/Hyena.Data.Sqlite.csproj
@@ -25,6 +25,7 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>true</Optimize>
+ <DefineConstants>ENABLE_TESTS</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Submodule|AnyCPU' ">
<OutputPath>..\..\..\bin</OutputPath>
@@ -32,6 +33,7 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>true</Optimize>
+ <DefineConstants>ENABLE_TESTS</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'SubmoduleWindows|AnyCPU' ">
<OutputPath>..\..\..\bin\bin</OutputPath>
@@ -74,6 +76,10 @@
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Xml" />
+ <Reference Include="nunit.framework, Version=2.6.0.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77">
+ <Package>nunit</Package>
+ <SpecificVersion>False</SpecificVersion>
+ </Reference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Hyena\Hyena.csproj">
diff --git a/Hyena/Hyena.csproj b/Hyena/Hyena.csproj
index e51cc6f..7037ebd 100644
--- a/Hyena/Hyena.csproj
+++ b/Hyena/Hyena.csproj
@@ -23,12 +23,14 @@
<PlatformTarget>x86</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
+ <DefineConstants>ENABLE_TESTS</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Submodule|AnyCPU' ">
<OutputPath>..\..\..\bin</OutputPath>
<PlatformTarget>x86</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
+ <DefineConstants>ENABLE_TESTS</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'SubmoduleWindows|AnyCPU' ">
<OutputPath>..\..\..\bin\bin</OutputPath>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]