Skip to content

Commit ffd450c

Browse files
updated
1 parent 17e39e0 commit ffd450c

File tree

2 files changed

+36
-30
lines changed

2 files changed

+36
-30
lines changed

.github/workflows/actions.yml

Lines changed: 32 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,14 @@ jobs:
215215
cd src
216216
nmake
217217
nmake install
218-
cd test
219-
call testall.bat
220-
cd ..\..\tools
218+
cd ..\tools
221219
nmake
222220
nmake install
221+
- name: Test modules
222+
shell: cmd
223+
run: |
224+
cd src/test
225+
call testall.bat
223226
- name: Build for release mode
224227
shell: cmd
225228
run: |
@@ -235,8 +238,8 @@ jobs:
235238
- name: Test release
236239
shell: cmd
237240
run: |
238-
cd tools\test
239-
call releasetest\releasetest.bat
241+
cd tools\test\releasetest
242+
.\releasetest.bat
240243
241244
build-windows-qt67-msvc2019:
242245
runs-on: windows-latest
@@ -257,19 +260,20 @@ jobs:
257260
shell: cmd
258261
run: |
259262
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
260-
where cl
261-
where nmake
262263
set CL=/MP
263264
qmake -version
264265
call configure.bat --enable-debug
265266
cd src
266267
nmake
267268
nmake install
268-
cd test
269-
call testall.bat
270-
cd ..\..\tools
269+
cd ..\tools
271270
nmake
272271
nmake install
272+
- name: Test modules
273+
shell: cmd
274+
run: |
275+
cd src/test
276+
call testall.bat
273277
- name: Build for release mode
274278
shell: cmd
275279
run: |
@@ -285,8 +289,8 @@ jobs:
285289
- name: Test release
286290
shell: cmd
287291
run: |
288-
cd tools\test
289-
call releasetest\releasetest.bat
292+
cd tools\test\releasetest
293+
.\releasetest.bat
290294
291295
build-windows-qt65-msvc2019:
292296
runs-on: windows-latest
@@ -307,19 +311,20 @@ jobs:
307311
shell: cmd
308312
run: |
309313
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
310-
where cl
311-
where nmake
312314
set CL=/MP
313315
qmake -version
314316
call configure.bat --enable-debug
315317
cd src
316318
nmake
317319
nmake install
318-
cd test
319-
call testall.bat
320-
cd ..\..\tools
320+
cd ..\tools
321321
nmake
322322
nmake install
323+
- name: Test modules
324+
shell: cmd
325+
run: |
326+
cd src/test
327+
call testall.bat
323328
- name: Build for release mode
324329
shell: cmd
325330
run: |
@@ -335,8 +340,8 @@ jobs:
335340
- name: Test release
336341
shell: cmd
337342
run: |
338-
cd tools\test
339-
call releasetest\releasetest.bat
343+
cd tools\test\releasetest
344+
.\releasetest.bat
340345
341346
build-windows-qt62-msvc2019:
342347
runs-on: windows-latest
@@ -357,19 +362,20 @@ jobs:
357362
shell: cmd
358363
run: |
359364
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
360-
where cl
361-
where nmake
362365
set CL=/MP
363366
qmake -version
364367
call configure.bat --enable-debug
365368
cd src
366369
nmake
367370
nmake install
368-
cd test
369-
call testall.bat
370-
cd ..\..\tools
371+
cd ..\tools
371372
nmake
372373
nmake install
374+
- name: Test modules
375+
shell: cmd
376+
run: |
377+
cd src/test
378+
call testall.bat
373379
- name: Build for release mode
374380
shell: cmd
375381
run: |
@@ -385,5 +391,5 @@ jobs:
385391
- name: Test release
386392
shell: cmd
387393
run: |
388-
cd tools\test
389-
call releasetest\releasetest.bat
394+
cd tools\test\releasetest
395+
.\releasetest.bat

tools/test/releasetest/releasetest.bat

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,27 +80,27 @@ tspawn w foo
8080
if not "%CMAKE%" == "" (
8181
call :CMakeBuild Debug
8282
if ERRORLEVEL 1 exit /B %ERRORLEVEL%
83-
call :CheckWebApp treefrogd
83+
call :CheckWebApp treefrogd.exe
8484
if ERRORLEVEL 1 exit /B %ERRORLEVEL%
8585
)
8686

8787
call :QMakeBuild debug
8888
if ERRORLEVEL 1 exit /B %ERRORLEVEL%
89-
call :CheckWebApp treefrogd
89+
call :CheckWebApp treefrogd.exe
9090
if ERRORLEVEL 1 exit /B %ERRORLEVEL%
9191
%MAKE% distclean >nul 2>nul
9292

9393
:: Test in release mode
9494
if not "%CMAKE%" == "" (
9595
call :CMakeBuild Release
9696
if ERRORLEVEL 1 exit /B %ERRORLEVEL%
97-
call :CheckWebApp treefrog
97+
call :CheckWebApp treefrog.exe
9898
if ERRORLEVEL 1 exit /B %ERRORLEVEL%
9999
)
100100

101101
call :QMakeBuild release
102102
if ERRORLEVEL 1 exit /B %ERRORLEVEL%
103-
call :CheckWebApp treefrog
103+
call :CheckWebApp treefrog.exe
104104
if ERRORLEVEL 1 exit /B %ERRORLEVEL%
105105
%MAKE% distclean >nul 2>nul
106106

0 commit comments

Comments
 (0)