diff --git a/make-client.py b/make-client.py index 2caa851e..f9c5f526 100644 --- a/make-client.py +++ b/make-client.py @@ -303,8 +303,8 @@ def run_tests(mute_jamid, output_to_files): test_exe_command_list = [qml_test_exe, unit_test_exe] if mute_jamid: - test_exe_command_list[0] += ' -mutejami' - test_exe_command_list[1] += ' -mutejami' + test_exe_command_list[0] += ' -mutejamid' + test_exe_command_list[1] += ' -mutejamid' if output_to_files: test_exe_command_list[0] += ' -o ' + this_dir + '\\x64\\test\\qml_tests.txt' test_exe_command_list[1] += ' > ' + this_dir + '\\x64\\test\\unittests.txt' @@ -359,7 +359,7 @@ def parse_args(): run_test = subparser.add_parser('runtests') run_test.add_argument( - '-md', '--mutejami', action='store_true', default=False, + '-md', '--mutejamid', action='store_true', default=False, help='Avoid jamid logs') run_test.add_argument( '-o', '--outputtofiles', action='store_true', default=False, diff --git a/tests/qml/main.cpp b/tests/qml/main.cpp index cf8e17c8..d32653ce 100644 --- a/tests/qml/main.cpp +++ b/tests/qml/main.cpp @@ -182,10 +182,10 @@ main(int argc, char** argv) { bool muteDring {false}; - // Remove "-mutejami" from argv, as quick_test_main_with_setup() will + // Remove "-mutejamid" from argv, as quick_test_main_with_setup() will // fail if given an invalid command-line argument. auto end = std::remove_if(argv + 1, argv + argc, [](char* argv) { - return (strcmp(argv, "-mutejami") == 0); + return (strcmp(argv, "-mutejamid") == 0); }); if (end != argv + argc) { diff --git a/tests/unittests/main_unittest.cpp b/tests/unittests/main_unittest.cpp index 2c6380b4..86b74883 100644 --- a/tests/unittests/main_unittest.cpp +++ b/tests/unittests/main_unittest.cpp @@ -27,10 +27,10 @@ TestEnvironment globalEnv; int main(int argc, char* argv[]) { - // Remove "-mutejami" from argv, as quick_test_main_with_setup() will + // Remove "-mutejamid" from argv, as quick_test_main_with_setup() will // fail if given an invalid command-line argument. auto end = std::remove_if(argv + 1, argv + argc, [](char* argv) { - return (strcmp(argv, "-mutejami") == 0); + return (strcmp(argv, "-mutejamid") == 0); }); if (end != argv + argc) {