TheHellaJeff
11/07/2019, 7:35 PMmake: *** No rule to make target 'test'. Stop.
response from my cwd: osquery/build/osquery
anything I’m missing?seph
TheHellaJeff
11/07/2019, 7:39 PMcmake --build . --target test
seph
mkdir build
cd build
cmake -DOSQUERY_BUILD_TESTS=ON ../
cmake --build . --target test
TheHellaJeff
11/07/2019, 7:42 PMStefano Bonicatti
11/07/2019, 7:48 PMcmake --build . --target test
won't actually build the tests, it will only try to run them.
You need to build with cmake --build . -j <jobs>
first.
This is all mentioned at the top of the Testing
section in the docs.Build tests
title as its done with the run part.