Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make test failure #12

Open
ubique opened this issue Jan 19, 2016 · 2 comments
Open

make test failure #12

ubique opened this issue Jan 19, 2016 · 2 comments
Labels

Comments

@ubique
Copy link

ubique commented Jan 19, 2016

$ ./configure --prefix=/home/dbanschikov/libs/ --with-boost=/home/dbanschikov/libs/boost_1_59_0/include
Build Directory : build
Source Directory: /home/dbanschikov/git/libbf
-- Boost version: 1.59.0
-- Found the following Boost libraries:
--   unit_test_framework
-- Configuring done
-- Generating done
-- Build files have been written to: /home/dbanschikov/git/libbf/build
dbanschikov@dbanschikov:~/git/libbf$ make && make test
make[1]: Entering directory `/home/dbanschikov/git/libbf/build'
make[2]: Entering directory `/home/dbanschikov/git/libbf/build'
make[3]: Entering directory `/home/dbanschikov/git/libbf/build'
make[3]: Leaving directory `/home/dbanschikov/git/libbf/build'
make[3]: Entering directory `/home/dbanschikov/git/libbf/build'
[  9%] Building CXX object src/bf/CMakeFiles/libbf.dir/bitvector.cc.o
[ 18%] Building CXX object src/bf/CMakeFiles/libbf.dir/counter_vector.cc.o
[ 27%] Building CXX object src/bf/CMakeFiles/libbf.dir/hash.cc.o
[ 36%] Building CXX object src/bf/CMakeFiles/libbf.dir/bloom_filter/a2.cc.o
[ 45%] Building CXX object src/bf/CMakeFiles/libbf.dir/bloom_filter/basic.cc.o
[ 54%] Building CXX object src/bf/CMakeFiles/libbf.dir/bloom_filter/bitwise.cc.o
[ 63%] Building CXX object src/bf/CMakeFiles/libbf.dir/bloom_filter/counting.cc.o
[ 72%] Building CXX object src/bf/CMakeFiles/libbf.dir/bloom_filter/stable.cc.o
Linking CXX shared library libbf.so
make[3]: Leaving directory `/home/dbanschikov/git/libbf/build'
[ 72%] Built target libbf
make[3]: Entering directory `/home/dbanschikov/git/libbf/build'
make[3]: Leaving directory `/home/dbanschikov/git/libbf/build'
make[3]: Entering directory `/home/dbanschikov/git/libbf/build'
[ 81%] Building CXX object test/CMakeFiles/unit.dir/unit.cc.o
Linking CXX executable unit
make[3]: Leaving directory `/home/dbanschikov/git/libbf/build'
[ 81%] Built target unit
make[3]: Entering directory `/home/dbanschikov/git/libbf/build'
make[3]: Leaving directory `/home/dbanschikov/git/libbf/build'
make[3]: Entering directory `/home/dbanschikov/git/libbf/build'
[ 90%] Building CXX object test/bf/CMakeFiles/bf.dir/bf.cc.o
[100%] Building CXX object test/bf/CMakeFiles/bf.dir/configuration.cc.o
Linking CXX executable bf
make[3]: Leaving directory `/home/dbanschikov/git/libbf/build'
[100%] Built target bf
make[2]: Leaving directory `/home/dbanschikov/git/libbf/build'
make[1]: Leaving directory `/home/dbanschikov/git/libbf/build'
make[1]: Entering directory `/home/dbanschikov/git/libbf/build'
make[2]: Entering directory `/home/dbanschikov/git/libbf/build'
make[3]: Entering directory `/home/dbanschikov/git/libbf/build'
make[4]: Entering directory `/home/dbanschikov/git/libbf/build'
make[4]: Leaving directory `/home/dbanschikov/git/libbf/build'
[ 88%] Built target libbf
make[4]: Entering directory `/home/dbanschikov/git/libbf/build'
make[4]: Leaving directory `/home/dbanschikov/git/libbf/build'
[100%] Built target unit
make[4]: Entering directory `/home/dbanschikov/git/libbf/build'
make[4]: Leaving directory `/home/dbanschikov/git/libbf/build'
make[4]: Entering directory `/home/dbanschikov/git/libbf/build'
Running 13 test cases...
/home/dbanschikov/git/libbf/test/unit.cc(331): error: in "bloom_filter_stable": check bf.lookup("one fish") == 0 has failed [1 != 0]
/home/dbanschikov/git/libbf/test/unit.cc(332): error: in "bloom_filter_stable": check bf.lookup("two fish") == 2 has failed [3 != 2]
/home/dbanschikov/git/libbf/test/unit.cc(333): error: in "bloom_filter_stable": check bf.lookup("red fish") == 3 has failed [2 != 3]
/home/dbanschikov/git/libbf/test/unit.cc(334): error: in "bloom_filter_stable": check bf.lookup("blue fish") == 3 has failed [2 != 3]

*** 4 failures are detected in the test module "Bloom filter unit test"
make[4]: *** [test/CMakeFiles/test] Error 201
make[4]: Leaving directory `/home/dbanschikov/git/libbf/build'
make[3]: *** [test/CMakeFiles/test.dir/all] Error 2
make[3]: Leaving directory `/home/dbanschikov/git/libbf/build'
make[2]: *** [test/CMakeFiles/test.dir/rule] Error 2
make[2]: Leaving directory `/home/dbanschikov/git/libbf/build'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/home/dbanschikov/git/libbf/build'
make: *** [test] Error 2
@mavam mavam added the bug label Jan 19, 2016
@mavam
Copy link
Owner

mavam commented Jan 19, 2016

Thanks for the bug report. Unfortunately I currently lack the cycles to investigate the issue and cannot promise to fix this anytime soon. However, I'm more than happy to review and merge pull requests.

edenzik added a commit to edenzik/libbf that referenced this issue Oct 26, 2016
In a bitwise bloom filter test, the test passed with an additional hash function at the first level.
@edenzik
Copy link

edenzik commented Oct 26, 2016

Fixed by pending PR: [https://github.com//pull/20]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants