diff --git a/include/nm-test-utils.h b/include/nm-test-utils.h index 8f23b79e17..13dd4ebad1 100644 --- a/include/nm-test-utils.h +++ b/include/nm-test-utils.h @@ -153,6 +153,7 @@ struct __nmtst_internal gboolean assert_logging; gboolean no_expect_message; gboolean test_quick; + gboolean test_tap_log; char *sudo_cmd; char **orig_argv; }; @@ -356,6 +357,8 @@ __nmtst_init (int *argc, char ***argv, gboolean assert_logging, const char *log_ || !strcmp (*(a+1), "slow") || !strcmp (*(a+1), "thorough")))) test_quick_argv = TRUE; + else if (strcmp (*a, "--tap") == 0) + __nmtst_internal.test_tap_log = TRUE; } }