diff options
author | Drew Risinger <drewrisinger@users.noreply.github.com> | 2020-10-14 10:24:55 -0400 |
---|---|---|
committer | Drew Risinger <drewrisinger@users.noreply.github.com> | 2020-11-30 20:49:13 -0500 |
commit | d7de691b1ba369e12936d7250d4269f2cb8c7a05 (patch) | |
tree | 9f45138ad63e2790c189bd3aa0a1102ebb4ea8bb /pkgs/development/libraries/spdlog | |
parent | 1157f0823cc2babc7f513e382d15776cfc05369b (diff) |
spdlog: run tests
Build & run tests built into spdlog.
Diffstat (limited to 'pkgs/development/libraries/spdlog')
-rw-r--r-- | pkgs/development/libraries/spdlog/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/development/libraries/spdlog/default.nix b/pkgs/development/libraries/spdlog/default.nix index 9787c7e92da85..0638ec47c5516 100644 --- a/pkgs/development/libraries/spdlog/default.nix +++ b/pkgs/development/libraries/spdlog/default.nix @@ -15,7 +15,11 @@ let nativeBuildInputs = [ cmake ]; - cmakeFlags = [ "-DSPDLOG_BUILD_EXAMPLE=OFF" "-DSPDLOG_BUILD_BENCH=OFF" ]; + cmakeFlags = [ + "-DSPDLOG_BUILD_EXAMPLE=OFF" + "-DSPDLOG_BUILD_BENCH=OFF" + "-DSPDLOG_BUILD_TESTS=ON" + ]; outputs = [ "out" "doc" ]; @@ -24,6 +28,8 @@ let cp -rv ../example $out/share/doc/spdlog ''; + doCheck = true; + meta = with stdenv.lib; { description = "Very fast, header only, C++ logging library"; homepage = "https://github.com/gabime/spdlog"; |