diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2019-01-02 13:35:01 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2019-01-02 13:35:01 +0100 |
commit | 539aec53df80bb5f5893614ca76a6a2821c20bc2 (patch) | |
tree | eed2944c0baa4160f4c8ed841d65a895eaf1d7ea /unittest/test_offline.cc | |
parent | 50a3f4817a44bc644ad401b0de6b91e835aad299 (diff) | |
download | libnitrokey-539aec53df80bb5f5893614ca76a6a2821c20bc2.tar.gz libnitrokey-539aec53df80bb5f5893614ca76a6a2821c20bc2.tar.bz2 |
Mention potential test failure cause, when no git version is provided
Related to #133
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'unittest/test_offline.cc')
-rw-r--r-- | unittest/test_offline.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unittest/test_offline.cc b/unittest/test_offline.cc index 75bd316..279c38f 100644 --- a/unittest/test_offline.cc +++ b/unittest/test_offline.cc @@ -176,6 +176,7 @@ TEST_CASE("Test version getter", "[fast]") { // of commits since the last tag, and <hash> is the hash of the current // commit. (This assumes that all tags have the name v<major>.<minor>.). // Optional <patch> field is allowed as well. + INFO("This test will fail, if the full git commit version was not collected during library build."); std::string s = library_version; std::string version("v[0-9]+\\.[0-9]+(\\.[0-9]+)?"); std::string git_suffix("-[0-9]+-g[0-9a-z]+"); |