eBay / NuRaft

C++ implementation of Raft core logic as a replication library
Apache License 2.0
1.02k stars 241 forks source link

bug: runtests.sh calls missing buffer_test script #410

Closed lucasgonze closed 1 year ago

lucasgonze commented 1 year ago

Summary: runtests.sh invokes a script that doesn't exist.

git clone git@github.com:eBay/NuRaft.git
cd NuRaft/
sudo apt-get install cmake openssl libssl-dev libz-dev
./prepare.sh 
mkdir build
cd build/
cmake ..
./runtests.sh

./runtests.sh: line 4: ./tests/buffer_test: No such file or directory

ubuntu@docker:~/repo/NuRaft/build$ head -4 runtests.sh | tail -1
./tests/buffer_test --abort-on-failure
ubuntu@docker:~/repo/NuRaft/build$ ls tests/buffer_test
ls: cannot access 'tests/buffer_test': No such file or directory
lucasgonze commented 1 year ago

On closer investigation, all of the test files in runtests.sh are missing.

lucasgonze commented 1 year ago

It was a user error: I didn't run make after cmake ..