Hey Brian,

one test fails after running make test:

openbsdcurrent# make test
===> scid-4.6.4 depends on: cmake-* -> cmake-3.9.3
===> scid-4.6.4 depends on: gtest-* -> gtest-1.8.0p2
===>  Regression tests for scid-4.6.4
cd gtest && \
CXX=c++ cmake CMakeLists.txt && \
make && ./runAll && \
cd ../
-- The C compiler identification is Clang 5.0.1
-- The CXX compiler identification is Clang 5.0.1
-- Check for working C compiler: /usr/ports/pobj/scid-4.6.4/bin/cc
-- Check for working C compiler: /usr/ports/pobj/scid-4.6.4/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/ports/pobj/scid-4.6.4/bin/c++
-- Check for working CXX compiler: /usr/ports/pobj/scid-4.6.4/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found GTest: /usr/local/lib/libgtest.so.1.0
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found ZLIB: /usr/lib/libz.so.5.0 (found version "1.2.3")
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/ports/pobj/scid-4.6.4/scid-4.6.4/gtest
Scanning dependencies of target runAll
[ 16%] Building CXX object CMakeFiles/runAll.dir/test_filebuf.cpp.o
[ 33%] Building CXX object CMakeFiles/runAll.dir/test_index.cpp.o
[ 50%] Building CXX object CMakeFiles/runAll.dir/test_namebase.cpp.o
[ 66%] Building CXX object CMakeFiles/runAll.dir/test_scidbase.cpp.o
[ 83%] Building CXX object CMakeFiles/runAll.dir/test_str.cpp.o
[100%] Linking CXX executable runAll
CMakeFiles/runAll.dir/test_str.cpp.o: In function `Test_StrTrimRight::SetUp()':
/usr/ports/pobj/scid-4.6.4/scid-4.6.4/gtest/test_str.cpp:(.text._ZN17Test_StrTrimRight5SetUpEv[_ZN17Test_StrTrimRight5SetUpEv]+0x4a):
warning: strcpy() is almost always misused, please use strlcpy()
/usr/ports/pobj/scid-4.6.4/scid-4.6.4/src/misc.o: In function
`strAppend(char*, int)':
src/misc.cpp:(.text+0x36a): warning: sprintf() is often misused,
please use snprintf()
/usr/ports/pobj/scid-4.6.4/scid-4.6.4/src/position.o: In function
`Position::Random(char const*)':
src/position.cpp:(.text+0x8b75): warning: rand() may return
deterministic values, is that what you want?
[100%] Built target runAll
Running main() from gtest_main.cc
[==========] Running 19 tests from 6 test cases.
[----------] Global test environment set-up.
[----------] 3 tests from Test_StrTrimRight
[ RUN      ] Test_StrTrimRight.correctness
[       OK ] Test_StrTrimRight.correctness (0 ms)
[ RUN      ] Test_StrTrimRight.consistency
[       OK ] Test_StrTrimRight.consistency (0 ms)
[ RUN      ] Test_StrTrimRight.performance
/usr/ports/pobj/scid-4.6.4/scid-4.6.4/gtest/test_str.cpp:127: Failure
Expected: (tNew) < (tOld), actual: 0 vs 0
[  FAILED  ] Test_StrTrimRight.performance (25 ms)
[----------] 3 tests from Test_StrTrimRight (25 ms total)

[----------] 3 tests from Test_Scidbase
[ RUN      ] Test_Scidbase.getGamePos1
[       OK ] Test_Scidbase.getGamePos1 (12 ms)
[ RUN      ] Test_Scidbase.getGamePos2
[       OK ] Test_Scidbase.getGamePos2 (1 ms)
[ RUN      ] Test_Scidbase.getGamePos3
[       OK ] Test_Scidbase.getGamePos3 (1 ms)
[----------] 3 tests from Test_Scidbase (14 ms total)

[----------] 4 tests from Test_Namebase
[ RUN      ] Test_Namebase.id_limits
[       OK ] Test_Namebase.id_limits (2236 ms)
[ RUN      ] Test_Namebase.max_chars
[       OK ] Test_Namebase.max_chars (7 ms)
[ RUN      ] Test_Namebase.FindExactName
[       OK ] Test_Namebase.FindExactName (0 ms)
[ RUN      ] Test_Namebase.sort_order
[       OK ] Test_Namebase.sort_order (0 ms)
[----------] 4 tests from Test_Namebase (2243 ms total)

[----------] 2 tests from Test_Index
[ RUN      ] Test_Index.file_io
[       OK ] Test_Index.file_io (2 ms)
[ RUN      ] Test_Index.max_values
[       OK ] Test_Index.max_values (1 ms)
[----------] 2 tests from Test_Index (3 ms total)

[----------] 1 test from Test_Filebuf
[ RUN      ] Test_Filebuf.readAll
[       OK ] Test_Filebuf.readAll (1 ms)
[----------] 1 test from Test_Filebuf (1 ms total)

[----------] 6 tests from smallbuf/Test_FilebufGetline
[ RUN      ] smallbuf/Test_FilebufGetline.read/0
[       OK ] smallbuf/Test_FilebufGetline.read/0 (0 ms)
[ RUN      ] smallbuf/Test_FilebufGetline.read/1
[       OK ] smallbuf/Test_FilebufGetline.read/1 (0 ms)
[ RUN      ] smallbuf/Test_FilebufGetline.read/2
[       OK ] smallbuf/Test_FilebufGetline.read/2 (0 ms)
[ RUN      ] smallbuf/Test_FilebufGetline.filesize/0
[       OK ] smallbuf/Test_FilebufGetline.filesize/0 (0 ms)
[ RUN      ] smallbuf/Test_FilebufGetline.filesize/1
[       OK ] smallbuf/Test_FilebufGetline.filesize/1 (0 ms)
[ RUN      ] smallbuf/Test_FilebufGetline.filesize/2
[       OK ] smallbuf/Test_FilebufGetline.filesize/2 (0 ms)
[----------] 6 tests from smallbuf/Test_FilebufGetline (0 ms total)

[----------] Global test environment tear-down
[==========] 19 tests from 6 test cases ran. (2286 ms total)
[  PASSED  ] 18 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] Test_StrTrimRight.performance

 1 FAILED TEST
gmake: *** [Makefile:142: test] Error 1
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2777
'/usr/ports/pobj/scid-4.6.4/.test_done')
*** Error 1 in /usr/ports/myshit/scid
(/usr/ports/infrastructure/mk/bsd.port.mk:2419 'test')



On Mon, Jan 1, 2018 at 12:16 PM, Brian Callahan <bcal...@devio.us> wrote:
>
> On 12/16/17 22:45, Brian Callahan wrote:
>>
>> Hi ports --
>>
>> Attached is a new port, games/scid. SCID is a chess database environment,
>> letting you play games both locally and online, and with chess engines, and
>> study games.
>>
>> ---
>> pkg/DESCR:
>> SCID (Shane's Chess Information Database) is an application to view,
>> edit, and manage collections of chess games. It can interface with
>> XBoard engines (such as Crafty and GNU Chess), and UCI engines (e.g.
>> Fruit, Rybka and Stockfish). Using Scid, one may play games against
>> human opponents (on the Free Internet Chess Server), or computer
>> opponents. Database features include a Move Tree with statistics, Player
>> Information and Photos, and General Searches for specific endings (e.g.
>> pawn vs. rook or rook vs. queen), positions or players. It has a
>> database with 1.4 million games (ScidBase).
>> ---
>>
>> It works really well with Stockfish, a powerful chess engine that I will
>> send as a follow-up to this, but of course SCID can be used as it is.
>>
>> OK?
>>
>> ~Brian
>>
>
> New tarball attached, with improvements thanks to bentley@
>
> OK?
>
> ~Brian
>

Reply via email to