@@ -131,6 +131,10 @@ ECHO running extractor-tests.exe ...
131131unit_tests\%Configuration% \extractor-tests.exe
132132IF %ERRORLEVEL% EQU 1 GOTO ERROR
133133
134+ ECHO running contractor-tests.exe ...
135+ unit_tests\%Configuration% \contractor-tests.exe
136+ IF %ERRORLEVEL% EQU 1 GOTO ERROR
137+
134138ECHO running engine-tests.exe ...
135139unit_tests\%Configuration% \engine-tests.exe
136140IF %ERRORLEVEL% EQU 1 GOTO ERROR
@@ -143,34 +147,41 @@ ECHO running server-tests.exe ...
143147unit_tests\%Configuration% \server-tests.exe
144148IF %ERRORLEVEL% EQU 1 GOTO ERROR
145149
146- :: TODO: CH processing sometimes mysteriously hangs, need to find why and enable tests below.
147- :: ECHO running library-tests.exe ...
148- :: SET test_region=monaco
149- :: SET test_region_ch=ch\monaco
150- :: SET test_region_corech=corech\monaco
151- :: SET test_region_mld=mld\monaco
152- :: SET test_osm=%test_region%.osm.pbf
153- :: IF NOT EXIST %test_osm% powershell Invoke-WebRequest http://project-osrm.wolt.com/testing/monaco.osm.pbf -OutFile %test_osm%
154- :: ECHO running %Configuration%\osrm-extract.exe -p ../profiles/car.lua %test_osm%
155- :: %Configuration%\osrm-extract.exe
156- :: %Configuration%\osrm-extract.exe -p ../profiles/car.lua %test_osm%
157- :: MKDIR ch
158- :: XCOPY %test_region%.osrm.* ch\
159- :: XCOPY %test_region%.osrm ch\
160- :: MKDIR corech
161- :: XCOPY %test_region%.osrm.* corech\
162- :: XCOPY %test_region%.osrm corech\
163- :: MKDIR mld
164- :: XCOPY %test_region%.osrm.* mld\
165- :: XCOPY %test_region%.osrm mld\
166- :: %Configuration%\osrm-contract.exe %test_region_ch%.osrm
167- :: %Configuration%\osrm-contract.exe --core 0.8 %test_region_corech%.osrm
168- :: %Configuration%\osrm-partition.exe %test_region_mld%.osrm
169- :: %Configuration%\osrm-customize.exe %test_region_mld%.osrm
170- :: XCOPY /Y ch\*.* ..\test\data\ch\
171- :: XCOPY /Y corech\*.* ..\test\data\corech\
172- :: XCOPY /Y mld\*.* ..\test\data\mld\
173- :: unit_tests\%Configuration%\library-tests.exe
150+ ECHO running partitioner-tests.exe ...
151+ unit_tests\%Configuration% \partitioner-tests.exe
152+ IF %ERRORLEVEL% EQU 1 GOTO ERROR
153+
154+ ECHO running customizer-tests.exe ...
155+ unit_tests\%Configuration% \customizer-tests.exe
156+ IF %ERRORLEVEL% EQU 1 GOTO ERROR
157+
158+ ECHO running library-tests.exe ...
159+ SET test_region = monaco
160+ SET test_region_ch = ch\monaco
161+ SET test_region_corech = corech\monaco
162+ SET test_region_mld = mld\monaco
163+ SET test_osm = %test_region% .osm.pbf
164+ IF NOT EXIST %test_osm% powershell Invoke-WebRequest http://project-osrm.wolt.com/testing/monaco.osm.pbf -OutFile %test_osm%
165+ ECHO running %Configuration% \osrm-extract.exe -p ../profiles/car.lua %test_osm%
166+ %Configuration% \osrm-extract.exe
167+ %Configuration% \osrm-extract.exe -p ../profiles/car.lua %test_osm%
168+ MKDIR ch
169+ XCOPY %test_region% .osrm.* ch\
170+ XCOPY %test_region% .osrm ch\
171+ MKDIR corech
172+ XCOPY %test_region% .osrm.* corech\
173+ XCOPY %test_region% .osrm corech\
174+ MKDIR mld
175+ XCOPY %test_region% .osrm.* mld\
176+ XCOPY %test_region% .osrm mld\
177+ %Configuration% \osrm-contract.exe %test_region_ch% .osrm
178+ %Configuration% \osrm-contract.exe --core 0.8 %test_region_corech% .osrm
179+ %Configuration% \osrm-partition.exe %test_region_mld% .osrm
180+ %Configuration% \osrm-customize.exe %test_region_mld% .osrm
181+ XCOPY /Y ch\*.* ..\test\data\ch\
182+ XCOPY /Y corech\*.* ..\test\data\corech\
183+ XCOPY /Y mld\*.* ..\test\data\mld\
184+ unit_tests\%Configuration% \library-tests.exe
174185
175186:ERROR
176187ECHO ~~~~~~~~~~~~~~~~~~~~~~ ERROR %~f0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0 commit comments