diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-10-26 22:42:58 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-10-26 22:42:58 +0200 |
commit | 4cbb476cd1f215926d3cc2b4ff6f397ffa5f347b (patch) | |
tree | eb2c7b3ffa1b105494d23e8bbb4d3464bd9d3d64 /tests/unit_tests/notify.cpp | |
parent | Merge pull request #4719 (diff) | |
parent | unit_tests: notify test special case for the usual weirdo (diff) | |
download | monero-4cbb476cd1f215926d3cc2b4ff6f397ffa5f347b.tar.xz |
Merge pull request #4721
a9f9406c unit_tests: notify test special case for the usual weirdo (moneromooo-monero)
Diffstat (limited to 'tests/unit_tests/notify.cpp')
-rw-r--r-- | tests/unit_tests/notify.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/unit_tests/notify.cpp b/tests/unit_tests/notify.cpp index e2477a76e..84861cb45 100644 --- a/tests/unit_tests/notify.cpp +++ b/tests/unit_tests/notify.cpp @@ -52,7 +52,11 @@ TEST(notify, works) ASSERT_TRUE(fd >= 0); close(fd); - const std::string spec = epee::string_tools::get_current_module_folder() + "/test_notifier " + name_template + " %s"; + const std::string spec = epee::string_tools::get_current_module_folder() + "/test_notifier" +#ifdef _WIN32 + + ".exe" +#endif + + " " + name_template + " %s"; tools::Notify notify(spec.c_str()); notify.notify("1111111111111111111111111111111111111111111111111111111111111111"); |