From aada814ca5d4095f73c0265a323eb60f0f891b7a Mon Sep 17 00:00:00 2001 From: itsmattkc <34096995+itsmattkc@users.noreply.github.com> Date: Mon, 20 Sep 2021 23:26:19 -0700 Subject: [PATCH] use macro to disable test --- tests/compositing/compositing-tests.cpp | 5 ++--- tests/testutil.h | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/compositing/compositing-tests.cpp b/tests/compositing/compositing-tests.cpp index 51dd1c732..9a326c550 100644 --- a/tests/compositing/compositing-tests.cpp +++ b/tests/compositing/compositing-tests.cpp @@ -29,8 +29,8 @@ namespace olive { -/* FIXME: New hashing algorithm means this test will fail for the moment, re-enable it later. -OLIVE_ADD_TEST(MergeRGBOptimization) +// FIXME: New hashing algorithm means this test will fail for the moment, re-enable it later. +OLIVE_ADD_DISABLED_TEST(MergeRGBOptimization) { Project project; @@ -106,6 +106,5 @@ OLIVE_ADD_TEST(MergeRGBOptimization) OLIVE_TEST_END; } -*/ } diff --git a/tests/testutil.h b/tests/testutil.h index 3cfd6845d..8e4cc73f4 100644 --- a/tests/testutil.h +++ b/tests/testutil.h @@ -25,3 +25,4 @@ #define OLIVE_TEST_END return true #define OLIVE_ADD_TEST(x) bool Test##x() +#define OLIVE_ADD_DISABLED_TEST(x) bool Test##x()