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

cmake: exclude unittest_alloc_aging from "all" #33466

Merged
merged 1 commit into from
Feb 21, 2020

Conversation

tchaikov
Copy link
Contributor

link it against GTest::Main, which was remove by
96a0439.

Signed-off-by: Kefu Chai kchai@redhat.com

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard backend
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

link it against GTest::Main, which was remove by
96a0439.

Signed-off-by: Kefu Chai <kchai@redhat.com>
@tchaikov
Copy link
Contributor Author

this should fix the FTBFS of

Scanning dependencies of target unittest_alloc_aging
[ 72%] Building CXX object src/test/objectstore/CMakeFiles/unittest_alloc_aging.dir/Allocator_aging_fragmentation.cc.o
/home/jenkins-build/build/workspace/ceph-dev-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos7/DIST/centos7/MACHINE_SIZE/huge/release/15.1.0-1050-gc8e67ba/rpm/el7/BUILD/ceph-15.1.0-1050-gc8e67ba/src/test/objectstore/Allocator_aging_fragmentation.cc:9:10: fatal error: gtest/gtest.h: No such file or directory
 #include <gtest/gtest.h>
          ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/test/objectstore/CMakeFiles/unittest_alloc_aging.dir/Allocator_aging_fragmentation.cc.o] Error 1
make[1]: *** [src/test/objectstore/CMakeFiles/unittest_alloc_aging.dir/all] Error 2

@tchaikov
Copy link
Contributor Author

@liewegas liewegas merged commit 8d04e02 into ceph:master Feb 21, 2020
@tchaikov tchaikov deleted the wip-unitest-alloc-aging branch February 22, 2020 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants