Skip to content

Commit 90528cd

Browse files
committed
add a test for SEE
1 parent 6892485 commit 90528cd

File tree

3 files changed

+35
-0
lines changed

3 files changed

+35
-0
lines changed

build/Program.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ let main argv =
7171

7272
let fake_xunit_dirs = [
7373
yield "e_sqlite3"
74+
yield "e_see"
7475
//yield "e_sqlite3mc"
7576
if RuntimeInformation.IsOSPlatform(OSPlatform.Windows) then yield "winsqlite3"
7677
]
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
using System;
3+
4+
public static class foo
5+
{
6+
public static int Main()
7+
{
8+
SQLitePCL.Batteries_V2.Init();
9+
return Xunit.Run.AllTestsInCurrentAssembly();
10+
}
11+
}
12+
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<TargetFrameworks>$(tfm_framework);$(tfm_net);$(tfm_windows)</TargetFrameworks>
4+
<OutputType>Exe</OutputType>
5+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
6+
<DefineConstants>$(DefineConstants);TEST_WITH_CRYPTO</DefineConstants>
7+
</PropertyGroup>
8+
<PropertyGroup Condition=" '$(TargetFramework)' == '$(tfm_framework)' ">
9+
<RuntimeIdentifiers>win-x86;win-x64</RuntimeIdentifiers>
10+
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
11+
</PropertyGroup>
12+
<ItemGroup>
13+
<PackageReference Include="sqlitepclraw.config.e_sqlite3" Version="$(pkg_version_for_testing)" />
14+
<PackageReference Include="SourceGear.SEE" Version="3.50.3" />
15+
<PackageReference Include="sqlitepclraw.ugly" Version="$(pkg_version_for_testing)" />
16+
</ItemGroup>
17+
<ItemGroup>
18+
<Compile Include="..\..\..\src\common\attrs_for_tests.cs" />
19+
<Compile Include="..\..\..\src\common\fake_xunit.cs" />
20+
<Compile Include="..\..\..\src\common\tests_xunit.cs" />
21+
</ItemGroup>
22+
</Project>

0 commit comments

Comments
 (0)