File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed
Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 11param (
22 [Parameter (Mandatory = $True )]$Configuration ,
3- [Parameter (Mandatory = $True )]$FirebirdSelection )
3+ [Parameter (Mandatory = $True )]$FirebirdSelection ,
4+ [Parameter (Mandatory = $True )]$TestSuite )
45
56$ErrorActionPreference = ' Stop'
67
@@ -61,7 +62,7 @@ function Prepare() {
6162 rm $fbDownloadName
6263 mv .\server\* .
6364 rmdir .\server
64-
65+
6566 ni firebird.log - ItemType File | Out-Null
6667
6768 echo " Starting Firebird"
@@ -76,6 +77,12 @@ function Cleanup() {
7677 rm - Force - Recurse $firebirdDir
7778}
7879
80+ function Tests-All () {
81+ Tests- FirebirdClient
82+ Tests- EF6
83+ Tests- EFCore
84+ }
85+
7986function Tests-FirebirdClient () {
8087 echo " === $ ( $MyInvocation.MyCommand.Name ) ==="
8188
@@ -87,7 +94,7 @@ function Tests-FirebirdClient() {
8794 echo " === END ==="
8895}
8996
90- function Tests-EF () {
97+ function Tests-EF6 () {
9198 echo " === $ ( $MyInvocation.MyCommand.Name ) ==="
9299
93100 cd " $baseDir \src\EntityFramework.Firebird.Tests\bin\$Configuration \net452"
@@ -107,9 +114,7 @@ function Tests-EFCore() {
107114
108115Prepare
109116try {
110- Tests- FirebirdClient
111- Tests- EF
112- Tests- EFCore
117+ & $TestSuite
113118}
114119finally {
115120 Cleanup
Original file line number Diff line number Diff line change @@ -19,4 +19,4 @@ after_build:
1919 - ps : gci "$baseDir\Provider\out" | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
2020test_script :
2121 - ps : $env:tests_firebird_dir = 'C:\firebird'
22- - ps : " & $baseDir\\ Provider\\ tests.ps1 -Configuration $env:CONFIGURATION -FirebirdSelection $env:firebird_selection"
22+ - ps : " & $baseDir\\ Provider\\ tests.ps1 -Configuration $env:CONFIGURATION -FirebirdSelection $env:firebird_selection -TestSuite Tests-All "
You can’t perform that action at this time.
0 commit comments