Skip to content

Building tests fails with release tarball #685

@jamessan

Description

@jamessan
/usr/bin/c++   -I../build-gtest/install/include -I../include -Iinclude -DMSGPACK_DEFAULT_API_VERSION=3 -std=c++11 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2    -Wall -Wextra -MD -MT test/CMakeFiles/fuzz_unpack_pack_fuzzer_cpp11.dir/fuzz_unpack_pack_fuzzer_cpp11.cpp.o -MF test/CMakeFiles/fuzz_unpack_pack_fuzzer_cpp11.dir/fuzz_unpack_pack_fuzzer_cpp11.cpp.o.d -o test/CMakeFiles/fuzz_unpack_pack_fuzzer_cpp11.dir/fuzz_unpack_pack_fuzzer_cpp11.cpp.o -c ../test/fuzz_unpack_pack_fuzzer_cpp11.cpp
../test/fuzz_unpack_pack_fuzzer_cpp11.cpp:3:10: fatal error: ../fuzz/unpack_pack_fuzzer.cpp: No such file or directory
 #include "../fuzz/unpack_pack_fuzzer.cpp"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

The fuzz directory wasn't included in the release. I'm not sure if that was the mistake or if the fuzz test shouldn't be built by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions