Skip to content

./run.sh test failed #207

Description

@hjk41

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions