Skip to content

Commit 55dc320

Browse files
committed
Update wording in ShowBuildMenu and allow NUnit tests to be ran with --x64
1 parent c97850e commit 55dc320

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ShowBuildMenu.bat

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ echo ========================= NHIBERNATE BUILD MENU ==========================
1212
echo --- TESTING ---
1313
echo B. (Step 1) Set up a new test configuration for a particular database.
1414
echo C. (Step 2) Activate a test configuration.
15-
echo D. (Step 3) Run tests using active configuration.
15+
echo D. (Step 3) Run tests using active configuration (Needs built in Visual Studio).
1616
echo.
1717
echo --- BUILD ---
1818
echo E. Build NHibernate (Debug)
@@ -165,7 +165,9 @@ echo Configuration activated.
165165
goto main-menu
166166

167167
:test-run
168-
start "nunit3-console" cmd /K %NUNIT% --x86 --agents=1 --process=separate NHibernate.nunit
168+
SET NUNITPLATFORM=
169+
IF /I "%PLATFORM%" NEQ "x64" set NUNITPLATFORM=--x86
170+
start "nunit3-console" cmd /K %NUNIT% %NUNITPLATFORM% --agents=1 --process=separate NHibernate.nunit
169171
goto main-menu
170172

171173
rem :build-test

0 commit comments

Comments
 (0)