Skip to content

Commit

Permalink
WIP (tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
apolukhin committed Jan 14, 2025
1 parent 391978c commit baa1ba1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ before_build:
# Packages from nuget.
- nuget install libpng-v142 -ExcludeVersion -NonInteractive
- nuget install zlib_static -ExcludeVersion -NonInteractive
- dir .
- dir /s zlib_static\
- dir zlib_static\build\native\include

build_script:
# Building Boost.
Expand Down
2 changes: 1 addition & 1 deletion Chapter12/07_gil/07_gil.pro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SOURCES += main.cpp
QMAKE_CXXFLAGS += $$CPP14FLAG


# Those paths are used by CI scripts of the book. You shall not find those libraries by that path in default Boost archive.
# Those paths are used by CI scripts of the book. You may not find those libraries by that path in default Boost archive.
# Just install libpng into your system and add correct include paths to the build script.
INCLUDEPATH += $$BOOST_PATH/libpng/build/native/include
INCLUDEPATH += $$BOOST_PATH/libpng-v142/build/native/include
Expand Down
2 changes: 1 addition & 1 deletion test.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def safe_wait(task, timeout = 15.0):
task.kill()
print('!!! Test timeout !!!')
a, b = task.communicate()
return '!!! Test timeout !!!:' + a, '!!! Test timeout !!!:' + b
return '!!! Test timeout !!!:' + a.decode("utf-8"), '!!! Test timeout !!!:' + b.decode("utf-8")
return task.communicate()

@staticmethod
Expand Down

0 comments on commit baa1ba1

Please sign in to comment.