Skip to content

Commit

Permalink
Make Swift.Tests compile for all targets (except Was, as we don't shi…
Browse files Browse the repository at this point in the history
…p EUnit/Wasm yet)
  • Loading branch information
dwarfland committed Apr 11, 2019
1 parent 2ef1d5b commit 129f48f
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Tests/Program.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import RemObjects.Elements.EUnit
import RemObjects.Elements.EUnit

let lTests = Discovery.DiscoverTests()
Runner.RunTests(lTests, withListener: Runner.DefaultListener)
Runner.RunTests(lTests, withListener: Runner.DefaultListener)
return 0
59 changes: 58 additions & 1 deletion Tests/Swift.Tests.elements
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<Configuration Condition="'$(Configuration)' == ''">Release</Configuration>
<MangleTypeNames>True</MangleTypeNames>
<EntitlementsFile>Entitlements.entitlements</EntitlementsFile>
<CrossPlatform>True</CrossPlatform>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<Optimize>False</Optimize>
Expand All @@ -22,6 +23,7 @@
<PropertyGroup Condition=" '$(Target)' == 'Cooper' ">
<Mode>Cooper</Mode>
<SubMode>Plain</SubMode>
<DefaultUses>java.util,com.remobjects.elements.linq</DefaultUses>
</PropertyGroup>
<PropertyGroup Condition=" '$(Target)' == 'Echoes' ">
<Mode>Echoes</Mode>
Expand Down Expand Up @@ -72,10 +74,16 @@
<Target>Cooper</Target>
</Reference>
<Reference Include="RemObjects.Elements.EUnit">
<Private>True</Private>
<Target>Cooper</Target>
</Reference>
<Reference Include="Elements">
<Reference Include="cooper">
<Target>Cooper</Target>
<Private>True</Private>
</Reference>
<Reference Include="elements">
<Target>Cooper</Target>
<Private>True</Private>
</Reference>
<Reference Include="System">
<Target>Echoes</Target>
Expand All @@ -94,6 +102,10 @@
<Target>Echoes</Target>
<Private>True</Private>
</Reference>
<Reference Include="Echoes">
<Target>Echoes</Target>
<Private>True</Private>
</Reference>
<Reference Include="Foundation">
<Target>Island.Darwin.macOS</Target>
</Reference>
Expand Down Expand Up @@ -142,6 +154,51 @@
<Reference Include="rtl">
<Target>Island.Darwin.watchOS</Target>
</Reference>
<Reference Include="EUnit">
<Target>Island.Windows</Target>
</Reference>
<Reference Include="Island">
<Target>Island.Windows</Target>
</Reference>
<Reference Include="gc">
<Target>Island.Windows</Target>
</Reference>
<Reference Include="elements">
<Target>Island.Windows</Target>
</Reference>
<Reference Include="EUnit">
<Target>Island.Linux</Target>
</Reference>
<Reference Include="Island">
<Target>Island.Linux</Target>
</Reference>
<Reference Include="gc">
<Target>Island.Linux</Target>
</Reference>
<Reference Include="elements">
<Target>Island.Linux</Target>
</Reference>
<Reference Include="EUnit">
<Target>Island.WebAssembly</Target>
</Reference>
<Reference Include="Island">
<Target>Island.WebAssembly</Target>
</Reference>
<Reference Include="elements">
<Target>Island.WebAssembly</Target>
</Reference>
<Reference Include="EUnit">
<Target>Island.Android</Target>
</Reference>
<Reference Include="Island">
<Target>Island.Android</Target>
</Reference>
<Reference Include="gc">
<Target>Island.Android</Target>
</Reference>
<Reference Include="elements">
<Target>Island.Android</Target>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Program.swift" />
Expand Down

0 comments on commit 129f48f

Please sign in to comment.