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

./run.sh test failed #207

Open
hjk41 opened this issue Sep 4, 2017 · 1 comment
Open

./run.sh test failed #207

hjk41 opened this issue Sep 4, 2017 · 1 comment

Comments

@hjk41
Copy link

hjk41 commented Sep 4, 2017

Followed the tutorial on Ubuntu 14.04 x64, build succeeded, but test failed with the following messages:

...
============ run test.sh in /home/ubuntu/rDSN/builder/bin/dsn.idl.tests/ ============
DSN_ROOT=
Note: Google Test filter = thrift_helper.*
[==========] Running 6 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 6 tests from thrift_helper
[ RUN      ] thrift_helper.cpp_binary_basic_type_serialization
[       OK ] thrift_helper.cpp_binary_basic_type_serialization (0 ms)
[ RUN      ] thrift_helper.cpp_binary_generated_type_serialization
[       OK ] thrift_helper.cpp_binary_generated_type_serialization (0 ms)
[ RUN      ] thrift_helper.cpp_json_basic_type_serialization
[       OK ] thrift_helper.cpp_json_basic_type_serialization (1 ms)
[ RUN      ] thrift_helper.cpp_json_generated_type_serialization
[       OK ] thrift_helper.cpp_json_generated_type_serialization (0 ms)
[ RUN      ] thrift_helper.cpp_binary_code_generation
CMake Error at CMakeLists.txt:11 (include):
  include could not find load file:

    /bin/dsn.cmake


CMake Error at CMakeLists.txt:50 (dsn_add_shared_library):
  Unknown CMake command "dsn_add_shared_library".
...

Problem is we need to set DSN_ROOT correctly before running ./run.sh test, which is not specified in the tutorial.

@rchatsiri
Copy link

rchatsiri commented Feb 23, 2018

It's should work for testing step. My view, You should build source code follow with command line ./run.sh build and ./run.sh build --build_plugins before run testing method.

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

No branches or pull requests

2 participants