siriusSP / redis

Automatically exported from code.google.com/p/redis
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

make test error CentOS #665

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
# make test
cd src && make test
make[1]: Entering directory `/opt/redis-2.2.5/src'
(cd ..; tclsh8.5 tests/test_helper.tcl --tags "" --file "")
............BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
BBBGETRANGE against integer-encoded 
BBLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLRPOPLPUSH with 
linkedlist source and existing target link
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLSSSSSSSSSSSSSINTERSTORE with 
two sets, after a DEBUG RELOAD - has
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSZZZZZZZZZZZZZZZZZZZRANGEBYSCORE fuzzy 
test, 100 ranges in 1000 elements sorted
ZZZZZZZZZZZZZZZZZZZZZZZZHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH..................SO
RT ALPHA against integer encoded str
........................BGSAVE
Logged warnings (pid 17019):
cat: ./tests/tmp/server.16804.21/stdout: 没有那个文件或目录
    while executing
"exec cat $filename"
    (procedure "warnings_from_file" line 2)
    invoked from within
"warnings_from_file [dict get $srv "stdout"]"
    (procedure "start_server" line 166)
    invoked from within
"start_server {tags {"other"}} {
    test {SAVE - make sure there are all the types as values} {
        # Wait for a background saving in progress to ..."
    (file "tests/unit/other.tcl" line 1)
    invoked from within
"source $path"
    (procedure "execute_tests" line 4)
    invoked from within
"execute_tests "unit/other""
    (procedure "execute_everything" line 11)
    invoked from within
"execute_everything"
    (procedure "main" line 9)
    invoked from within
"main "
make[1]: *** [test] Error 1
make[1]: Leaving directory `/opt/redis-2.2.5/src'
make: *** [test] Error 2

Original issue reported on code.google.com by lglf...@gmail.com on 7 Nov 2011 at 1:05

GoogleCodeExporter commented 9 years ago
you need install TCL.

//
  wget http://nchc.dl.sourceforge.net/project/tcl/Tcl/8.5.11/tcl8511-src.zip
  unzip tcl8511-src.zip 
  cd tcl8.5.11/
  cd unix/
  ./configure
  make 
  make install

这样就已经把tclsh8.5安装到系统bin目录中。

Original comment by shadom2...@gmail.com on 28 Nov 2011 at 7:12

GoogleCodeExporter commented 9 years ago
再重新回到 Redis 进行 make test
Execution time of different units:
  3 seconds - unit/printver
  3 seconds - unit/protocol
  3 seconds - unit/quit
  4 seconds - unit/auth
  6 seconds - unit/cas
  2 seconds - unit/pubsub
  7 seconds - unit/type/hash
  2 seconds - unit/slowlog
  13 seconds - unit/expire
  15 seconds - integration/replication
  16 seconds - integration/aof
  24 seconds - unit/type/set
  25 seconds - unit/type/list
  40 seconds - unit/type/list-2
  41 seconds - integration/replication-3
  46 seconds - unit/other
  44 seconds - unit/maxmemory
  51 seconds - unit/sort
  53 seconds - unit/type/zset
  51 seconds - integration/replication-2
  63 seconds - unit/type/list-3
  64 seconds - unit/basic

\o/ All tests passed without errors!

Cleanup: may take some time... OK
make[1]: Leaving directory `/usr/local/src/soft/redis-2.4.2/src'

Original comment by shadom2...@gmail.com on 28 Nov 2011 at 7:14