Open ryandesign opened 3 months ago
So maybe the bug is just that the necessity of specifying SIPP for out-of-source builds is not documented, and the script doesn't exit earlier with a friendlier error message?
Yeah. You're running into an unexpected edge case there.
PRs -- documentation and otherwise -- are welcome :)
I can run the tests if I do an in-source build:
But if I try an out-of-source build it fails:
Each test prints an error like this:
The function in question is:
https://github.com/SIPp/sipp/blob/d1bdebe2e90d36f4d4bd4061b398d85b4880ac5d/regress/functions#L12-L28
As I understand this function, it successively checks higher and higher parent directories of the test directory for something called
sipp
that is executable. In my case, it stops when it finds the directory sipp into which I cloned the sipp repository, since the executablesipp
is not in a parent directory of the test in an out-of-source build. If I rename the source directory so that it is not called sipp, then it fails with:It works if I specify the path to
sipp
:So maybe the bug is just that the necessity of specifying
SIPP
for out-of-source builds is not documented, and the script doesn't exit earlier with a friendlier error message?