File tree Expand file tree Collapse file tree 3 files changed +23
-4
lines changed Expand file tree Collapse file tree 3 files changed +23
-4
lines changed Original file line number Diff line number Diff line change 35
35
AssemblyInfo.cs
36
36
hibernate.cfg.xml
37
37
available-test-configurations
38
- current-test-configuration
38
+ current-test-configuration
39
+ NHibernate.VisualState.xml
Original file line number Diff line number Diff line change
1
+ <NUnitProject>
2
+ <Settings activeconfig="Debug" processModel="Multiple" />
3
+ <Config name="Debug" binpathtype="Auto" runtimeFramework="net-2.0">
4
+ <assembly path="src\NHibernate.TestDatabaseSetup\bin\Debug\NHibernate.TestDatabaseSetup.dll" />
5
+ <assembly path="src\NHibernate.Test\bin\Debug-2.0\NHibernate.Test.dll" />
6
+ <assembly path="src\NHibernate.Test.VisualBasic\bin\Debug\NHibernate.Test.VisualBasic.dll" />
7
+ </Config>
8
+ <Config name="Release" binpathtype="Auto" runtimeFramework="net-2.0">
9
+ <assembly path="src\NHibernate.TestDatabaseSetup\bin\Release\NHibernate.TestDatabaseSetup.dll" />
10
+ <assembly path="src\NHibernate.Test\bin\Release-2.0\NHibernate.Test.dll" />
11
+ <assembly path="src\NHibernate.Test.VisualBasic\bin\Release\NHibernate.Test.VisualBasic.dll" />
12
+ </Config>
13
+ </NUnitProject>
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ set NANT=%~dp0Tools\nant\bin\NAnt.exe -t:net-3.5
5
5
set BUILDTOOL = %~dp0 Tools\BuildTool\bin\Release\BuildTool.exe
6
6
set AVAILABLE_CONFIGURATIONS = %~dp0 available-test-configurations
7
7
set CURRENT_CONFIGURATION = %~dp0 current-test-configuration
8
+ set NUNIT = %~dp0 Tools\nunit\nunit-x86.exe
8
9
9
10
:main-menu
10
11
echo ========================= NHIBERNATE BUILD MENU ==========================
@@ -38,7 +39,7 @@ if errorlevel 7 goto grammar-menu
38
39
if errorlevel 6 goto build-release-package
39
40
if errorlevel 5 goto build-release
40
41
if errorlevel 4 goto build-debug
41
- if errorlevel 3 goto build- test
42
+ if errorlevel 3 goto test-run
42
43
if errorlevel 2 goto test-activate
43
44
if errorlevel 1 goto test-setup-menu
44
45
if errorlevel 0 goto build-visual-studio
@@ -141,10 +142,14 @@ copy %FOLDER%\* %CURRENT_CONFIGURATION%
141
142
echo Configuration activated.
142
143
goto main-menu
143
144
144
- :build- test
145
- %NANT% test
145
+ :test-run
146
+ start %NUNIT% NHibernate.nunit
146
147
goto main-menu
147
148
149
+ rem :build-test
150
+ rem %NANT% test
151
+ rem goto main-menu
152
+
148
153
:build-visual-studio
149
154
%NANT% visual-studio
150
155
goto main-menu
You can’t perform that action at this time.
0 commit comments