Skip to content

Commit 8b8ae5d

Browse files
update bat file.
1 parent 71ef738 commit 8b8ae5d

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.github/workflows/actions.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ jobs:
350350
run: |
351351
./testall.sh
352352
- name: releasetest
353+
shell: cmd
353354
working-directory: tools/test
354355
run: |
355356
./testall.sh
@@ -405,6 +406,7 @@ jobs:
405406
nmake
406407
nmake install
407408
- name: Release test
409+
shell: cmd
408410
working-directory: tools\test
409411
run: |
410412
testall.bat
@@ -457,6 +459,7 @@ jobs:
457459
nmake
458460
nmake install
459461
- name: Release test
462+
shell: cmd
460463
working-directory: tools\test
461464
run: |
462465
testall.bat
@@ -510,6 +513,7 @@ jobs:
510513
nmake
511514
nmake install
512515
- name: Release test
516+
shell: cmd
513517
working-directory: tools\test
514518
run: |
515519
testall.bat

tools/test/testall.bat

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,21 @@ if exist Makefile (
1111
%MAKE% distclean
1212
)
1313

14-
1514
for /d %%d in (*) do (
1615
set TESTNAME=%%d
1716
echo ---------------------------------------------------------------------
17+
18+
cd %%d
19+
if exist Makefile (
20+
%MAKE% distclean
21+
)
22+
if exist %%d.pro (
23+
qmake CONFIG+=debug
24+
%MAKE%
25+
if ERRORLEVEL 1 goto :build_error
26+
)
27+
cd ..
28+
1829
if exist %%d\debug\%%d.exe (
1930
echo Testing %%d\debug\%%d.exe ...
2031

0 commit comments

Comments
 (0)