Make test fit available backend(s)
@@ -34,6 +34,7 @@ TEST(TestData, Simple)
EXPECT_TRUE(static_cast<bool>(data));
+#if defined(TENSILE_MSGPACK) || defined(TENSILE_LLVM)
auto is_regular_file
= static_cast<bool (*)(boost::filesystem::path const&)>(boost::filesystem::is_regular_file);
@@ -55,6 +56,7 @@ TEST(TestData, Simple)
std::cout << file << std::endl;
EXPECT_PRED1(is_regular_file, file);
}
+#endif
if(TestData::Env("TENSILE_NEVER_SET_THIS_AKDJFLKDSJ"))
FAIL() << "TestData object constructed with unset environment variable "
