summaryrefslogtreecommitdiff
path: root/tests/test_xpath_parse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_xpath_parse.cpp')
-rw-r--r--tests/test_xpath_parse.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_xpath_parse.cpp b/tests/test_xpath_parse.cpp
index d9595c8..6d9a4e7 100644
--- a/tests/test_xpath_parse.cpp
+++ b/tests/test_xpath_parse.cpp
@@ -1,3 +1,5 @@
+#ifndef PUGIXML_NO_XPATH
+
#include "common.hpp"
TEST(xpath_literal_parse)
@@ -32,3 +34,5 @@ TEST(xpath_number_error)
CHECK_XPATH_FAIL("123.a");
CHECK_XPATH_FAIL(".123a");
}
+
+#endif