facebook / facebook/rocksdb

6.23.3: no test suite with `WITH_ALL_TESTS=ON`?

Open
#8,684 4 comments 0 reactions 0 assignees View on GitHub
enhancement up-for-grabs
Dominant language
C++
Stars
32.1k
Forks
6.9k
Avg merge
32m
Merged PRs (30d)
1

Description

Lookks like when source tree is configured with `WITH_ALL_TESTS=ON` test suite is not available.
```console
[tkloczko@barrel x86_64-redhat-linux-gnu]$ make check
make: *** No rule to make target 'check'. Stop.
[tkloczko@barrel x86_64-redhat-linux-gnu]$ make test
make: *** No rule to make target 'test'. Stop.
[tkloczko@barrel x86_64-redhat-linux-gnu]$ ctest -vv
Test project /home/tkloczko/rpmbuild/BUILD/rocksdb-6.23.3/x86_64-redhat-linux-gnu
No tests were found!!!
[tkloczko@barrel x86_64-redhat-linux-gnu]$ cmake -L | grep TEST
CMake Warning:
No source or binary directory provided. Both will be assumed to be the
same as the current working directory, but note that this warning will
become a fatal error in future CMake releases.

CMake Error: The source directory "/home/tkloczko/rpmbuild/BUILD/rocksdb-6.23.3/x86_64-redhat-linux-gnu" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
WITH_ALL_TESTS:BOOL=ON
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.