Skip to content
Snippets Groups Projects
Commit 5c253e66 authored by Alexander V. Tikhonov's avatar Alexander V. Tikhonov Committed by Kirill Yukhin
Browse files

jepsen: correct jepsen build preparation target

Found issue:

  root@hpalx:/source# make run-jepsen
  [  0%] Performing update step for 'jepsen-tests'

  *** Please tell me who you are.

  Run

    git config --global user.email "you@example.com"
    git config --global user.name "Your Name"

  to set your account's default identity.
  Omit --global to set the identity only in this repository.

  fatal: unable to auto-detect email address (got 'root@hpalx.(none)')
  Cannot save the current index state
  CMake Error at /source/jepsen-tests-prefix/tmp/jepsen-tests-gitupdate.cmake:83 (message):
    Failed to stash changes

  CMakeFiles/jepsen-tests.dir/build.make:95: recipe for target 'jepsen-tests-prefix/src/jepsen-tests-stamp/jepsen-tests-update' failed

added 'Nobody' User setup to git configuration if needed.
parent 173d6621
No related branches found
No related tags found
No related merge requests found
......@@ -402,5 +402,9 @@ test_freebsd: deps_freebsd test_freebsd_no_deps
# ###################
test_jepsen: deps_debian_jepsen
# Jepsen build uses git commands internally, like command
# 'git stash --all' which fails w/o git configuration setup
git config --get user.name || git config --global user.name "Nodody User"
git config --get user.email || git config --global user.email "nobody@nowhere.com"
cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_WERROR=ON -DWITH_JEPSEN=ON
make run-jepsen
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment