zeutro / openabe

The OpenABE library - open source cryptographic library with attribute-based encryption implementations in C/C++
http://www.zeutro.com
GNU Affero General Public License v3.0
262 stars 71 forks source link

Testing issue with ubuntu 20.04 #40

Open haiguang-wang opened 4 years ago

haiguang-wang commented 4 years ago

After manually downloading the gtest release-1.8.0.zip, I use sudo -E make build the library. However, When I run with the "make test", some error happened, the first error is as follows:

VirtualBox:~/ABE/openabe/openabe-master$ make test (cd src && ./test_libopenabe) || exit 1 libopenabe v1.7 test utility.

[==========] Running 46 tests from 1 test case. [----------] Global test environment set-up. [----------] 46 tests from libopenabe [ RUN ] libopenabe.PolicyTreeAndAttributeListParser Driver::error string stream:1.12-13: syntax error, unexpected OR, expecting end of file Check if isEqual throws an error correctly

There are a number of other errors in the testing output.