From 11c0b1d1e6233a913008ef244e3efcb84a04710e Mon Sep 17 00:00:00 2001 From: Jonathan Lifflander Date: Wed, 18 Jan 2023 10:10:44 -0800 Subject: [PATCH] #2033: tests: conditionalize on LB being enabled --- tests/unit/lb/test_offlinelb.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/unit/lb/test_offlinelb.cc b/tests/unit/lb/test_offlinelb.cc index da97a3a91c..3f69792c81 100644 --- a/tests/unit/lb/test_offlinelb.cc +++ b/tests/unit/lb/test_offlinelb.cc @@ -51,6 +51,8 @@ namespace vt { namespace tests { namespace unit { namespace lb { +#if vt_check_enabled(lblite) + using TestOfflineLB = TestParallelHarness; struct SimCol : vt::Collection { @@ -145,4 +147,6 @@ TEST_F(TestOfflineLB, test_offlinelb_1) { } } +#endif + }}}} /* end namespace vt::tests::unit::lb */