Skip to content

Commit 904b781

Browse files
committed
Fix up CI.
1 parent e8f3b78 commit 904b781

3 files changed

Lines changed: 8 additions & 13 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Make libcups
3131
run: make
3232
- name: Test libcups
33-
run: make test || cat cups/test.log
33+
run: make test || cat cups/test.log && exit 1
3434

3535
build-linux-gnutls:
3636

@@ -54,7 +54,7 @@ jobs:
5454
- name: Make libcups
5555
run: make
5656
- name: Test libcups
57-
run: make test || cat cups/test.log
57+
run: make test || cat cups/test.log && exit 1
5858

5959
build-macos:
6060

@@ -70,7 +70,7 @@ jobs:
7070
- name: Make libcups
7171
run: make
7272
- name: Test libcups
73-
run: make test || cat cups/test.log
73+
run: make test || cat cups/test.log && exit 1
7474

7575
build-windows:
7676

@@ -87,3 +87,5 @@ jobs:
8787
run: cd vcnet; nuget restore libcups.sln; cd ../pdfio; nuget restore
8888
- name: Build libcups
8989
run: cd vcnet; msbuild libcups.sln
90+
- name: Test libcups
91+
run: cd vcnet; ./runtests.bat

cups/Makefile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,6 @@ test: $(UNITTARGETS)
194194
date >test.log
195195
echo Running array API tests...
196196
./testarray 2>>test.log
197-
# if test `uname` != Darwin; then \
198-
# echo Running CUPS API tests...; \
199-
# ./testcups 2>>test.log; \
200-
# fi
201197
echo ""
202198
echo Running clock API tests...
203199
./testclock 2>>test.log
@@ -213,9 +209,6 @@ test: $(UNITTARGETS)
213209
echo ""
214210
echo Running form API tests...
215211
./testform 2>>test.log
216-
# echo ""
217-
# echo Running cupsGetDests API tests...
218-
# ./testgetdests 2>>test.log
219212
echo ""
220213
echo Running hash API tests...
221214
./testhash 2>>test.log

vcnet/runtests.bat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
::
77

88
:: Copy DLLs for dependent packages to the debug directory...
9-
copy packages\libpng_native.redist.1.6.30\build\native\bin\x64\Debug\*.dll %1
10-
copy packages\libpng_native.redist.1.6.30\build\native\bin\x64\Release\*.dll %1
9+
copy ..\pdfio\packages\libpng_native.redist.1.6.30\build\native\bin\x64\Debug\*.dll %1
10+
copy ..\pdfio\packages\libpng_native.redist.1.6.30\build\native\bin\x64\Release\*.dll %1
1111

1212
copy packages\libressl_native.redist.4.0.0\build\native\bin\x64\Debug\*.dll %1
1313
copy packages\libressl_native.redist.4.0.0\build\native\bin\x64\Release\*.dll %1
@@ -24,6 +24,6 @@ cd %1
2424

2525
start "" cmd /c ".\ippeveprinter.exe -vvv -a ../../../tools/test.conf -n localhost 'Test Printer' >test.log"
2626

27-
.\ippfind.exe -T 30 --literal-name "Test Printer" --exec ipptool.exe -V 2.0 -tIf ../../../examples/document-letter.pdf '{}' ../../../examples/ipp-2.0.test ';'
27+
.\ippfind.exe -T 30 --literal-name "Test Printer" --exec ipptool.exe -V 2.0 -tIf ../../../examples/document-letter.pdf '{}' ../../../examples/ipp-2.0.test ../../../examples/pwg5100.1.test ../../../examples/pwg5100.2.test ../../../examples/pwg5100.7.test ../../../examples/pwg5100.13.test ';'
2828

2929
:: taskkill /im ippeveprinter.exe

0 commit comments

Comments
 (0)