Fixing minor issues with RunUnitTestSuite.bat.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@384 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
0c762117b8
commit
56ead5dd7e
|
@ -27,7 +27,7 @@ echo #=====================================================================
|
||||||
echo # Open Asset Import Library - Unittests
|
echo # Open Asset Import Library - Unittests
|
||||||
echo #=====================================================================
|
echo #=====================================================================
|
||||||
echo #
|
echo #
|
||||||
echo # Executing the Assimp unit test suite for the following
|
echo # Executes the Assimp library unit test suite for the following
|
||||||
echo # build configurations (if available):
|
echo # build configurations (if available):
|
||||||
echo #
|
echo #
|
||||||
echo # Release
|
echo # Release
|
||||||
|
@ -43,69 +43,52 @@ echo ======================================================================
|
||||||
echo.
|
echo.
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
echo ======================================================================
|
|
||||||
echo Config: Release (Multi-threaded, using boost)
|
echo assimp-core release
|
||||||
echo ======================================================================
|
echo **********************************************************************
|
||||||
call RunSingleUnitTestSuite unit_release_%ARCHEXT% release.txt
|
call RunSingleUnitTestSuite unit_release_%ARCHEXT% release.txt
|
||||||
|
|
||||||
|
echo assimp-core release -st
|
||||||
echo ======================================================================
|
echo **********************************************************************
|
||||||
echo Config: Release -st (Single-threaded, using boost)
|
|
||||||
echo ======================================================================
|
|
||||||
call RunSingleUnitTestSuite unit_release-st_%ARCHEXT% release-st.txt
|
call RunSingleUnitTestSuite unit_release-st_%ARCHEXT% release-st.txt
|
||||||
|
|
||||||
|
echo assimp-core release -noboost
|
||||||
echo ======================================================================
|
echo **********************************************************************
|
||||||
echo Config: Release -noboost (NoBoost workaround, implicit -st)
|
|
||||||
echo ======================================================================
|
|
||||||
call RunSingleUnitTestSuite unit_release-noboost-st_%ARCHEXT% release-st-noboost.txt
|
call RunSingleUnitTestSuite unit_release-noboost-st_%ARCHEXT% release-st-noboost.txt
|
||||||
|
|
||||||
|
echo assimp-core release -dll
|
||||||
echo ======================================================================
|
echo **********************************************************************
|
||||||
echo Config: Release -DLL (Multi-threaded DLL, using boost)
|
|
||||||
echo ======================================================================
|
|
||||||
call RunSingleUnitTestSuite unit_release-dll_%ARCHEXT% release-dll.txt
|
call RunSingleUnitTestSuite unit_release-dll_%ARCHEXT% release-dll.txt
|
||||||
|
|
||||||
|
echo assimp-core debug
|
||||||
echo ======================================================================
|
echo **********************************************************************
|
||||||
echo Config: Debug (Multi-threaded, using boost)
|
|
||||||
echo ======================================================================
|
|
||||||
call RunSingleUnitTestSuite unit_debug_%ARCHEXT% debug.txt
|
call RunSingleUnitTestSuite unit_debug_%ARCHEXT% debug.txt
|
||||||
|
|
||||||
|
echo assimp-core debug -st
|
||||||
|
echo **********************************************************************
|
||||||
echo ======================================================================
|
|
||||||
echo Config: Debug -st (Single-threaded, using boost)
|
|
||||||
echo ======================================================================
|
|
||||||
call RunSingleUnitTestSuite unit_debug-st_%ARCHEXT% debug-st.txt
|
call RunSingleUnitTestSuite unit_debug-st_%ARCHEXT% debug-st.txt
|
||||||
|
|
||||||
|
echo assimp-core debug -noboost
|
||||||
echo ======================================================================
|
echo **********************************************************************
|
||||||
echo Config: Debug -noboost (NoBoost workaround, implicit -st)
|
|
||||||
echo ======================================================================
|
|
||||||
call RunSingleUnitTestSuite unit_debug-noboost-st_%ARCHEXT% debug-st-noboost.txt
|
call RunSingleUnitTestSuite unit_debug-noboost-st_%ARCHEXT% debug-st-noboost.txt
|
||||||
|
|
||||||
|
echo assimp-core debug -dll
|
||||||
echo ======================================================================
|
echo **********************************************************************
|
||||||
echo Config: Debug -DLL (Multi-threaded, using boost)
|
|
||||||
echo ======================================================================
|
|
||||||
call RunSingleUnitTestSuite unit_debug-dll_%ARCHEXT% debug-dll.txt
|
call RunSingleUnitTestSuite unit_debug-dll_%ARCHEXT% debug-dll.txt
|
||||||
|
|
||||||
|
|
||||||
|
echo ======================================================================
|
||||||
|
IF %FIRSTUTNA% == nil (
|
||||||
echo.
|
echo All test configs have been found.
|
||||||
echo ----------------------------------------------------------------------
|
) ELSE (
|
||||||
|
|
||||||
IF NOT FIRSTUTNA== nil (
|
|
||||||
echo One or more test configs are not available.
|
echo One or more test configs are not available.
|
||||||
)
|
)
|
||||||
|
|
||||||
IF NOT FIRSTUTFAILURE== nil (
|
IF %FIRSTUTFAILURE% == nil (
|
||||||
|
echo All tests have been successful. Everything is fine.
|
||||||
|
) ELSE (
|
||||||
echo One or more tests failed.
|
echo One or more tests failed.
|
||||||
)
|
)
|
||||||
|
|
||||||
echo ----------------------------------------------------------------------
|
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
pause
|
pause
|
Loading…
Reference in New Issue