diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-10-24 21:54:19 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-10-24 21:55:03 +0000 |
| commit | a9f9406c5bef07d4cd968b4bcb9116d3115355b8 (patch) | |
| tree | 67d488c45bfc751787e8c14f0c4a9b68733e9d69 /tests/unit_tests | |
| parent | 1e74586ee99e4bd89626d2eb4d23883cd91f0f81 (diff) | |
| download | monzero-core-a9f9406c5bef07d4cd968b4bcb9116d3115355b8.tar.gz monzero-core-a9f9406c5bef07d4cd968b4bcb9116d3115355b8.tar.xz monzero-core-a9f9406c5bef07d4cd968b4bcb9116d3115355b8.zip | |
unit_tests: notify test special case for the usual weirdo
Diffstat (limited to 'tests/unit_tests')
| -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 d6811c6bd..62c8a126a 100644 --- a/tests/unit_tests/notify.cpp +++ b/tests/unit_tests/notify.cpp @@ -42,7 +42,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"); |
