Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

CMake build framework for Raptor - win32

This commit is based on the email with patch that Daniel Richard G.
sent to redland-dev on 5th July 2012

    http://lists.librdf.org/pipermail/redland-dev/2012-July/002502.html

I lightly edited the email to fit into 80 chars and make more it
markdowny and turn it into win32/README.md

-- Dave Beckett
  • Loading branch information...
commit a9bd433c7fbee09beb71f14f7fb0b49e6466a3dc 1 parent 97198ca
Daniel Richard G authored committed
View
353 CMakeLists.txt
@@ -0,0 +1,353 @@
+# raptor/CMakeLists.txt
+#
+# This file allows building Raptor2 with the CMake configuration tool.
+# Download CMake in source or binary form from http://www.cmake.org/
+#
+# Original listfile by Daniel Richard G. <skunk@iSKUNK.ORG>
+# This file is in the public domain.
+#
+
+SET(RAPTOR_VERSION_MAJOR 2)
+SET(RAPTOR_VERSION_MINOR 0)
+SET(RAPTOR_VERSION_RELEASE 9)
+SET(RAPTOR_MIN_VERSION_DECIMAL 20000)
+
+SET(VERSION "${RAPTOR_VERSION_MAJOR}.${RAPTOR_VERSION_MINOR}.${RAPTOR_VERSION_RELEASE}")
+MATH(EXPR RAPTOR_VERSION_DECIMAL "${RAPTOR_VERSION_MAJOR} * 10000 + ${RAPTOR_VERSION_MINOR} * 100 + ${RAPTOR_VERSION_RELEASE}")
+
+PROJECT(Raptor2 C)
+
+CMAKE_MINIMUM_REQUIRED(VERSION 2.8.7)
+
+################################################################
+
+# Third-party libraries
+
+FIND_PACKAGE(CURL)
+FIND_PACKAGE(LibXml2)
+FIND_PACKAGE(LibXslt)
+#FIND_PACKAGE(YAJL)
+
+INCLUDE_DIRECTORIES(
+ ${CURL_INCLUDE_DIRS}
+ ${EXPAT_INCLUDE_DIRS}
+ ${LIBXML2_INCLUDE_DIR}
+ ${LIBXSLT_INCLUDE_DIR}
+)
+
+################################################################
+
+# Configuration checks
+
+INCLUDE(CheckIncludeFile)
+INCLUDE(CheckIncludeFiles)
+INCLUDE(CheckFunctionExists)
+INCLUDE(CheckTypeSize)
+INCLUDE(CheckStructHasMember)
+INCLUDE(CheckCSourceCompiles)
+
+CHECK_INCLUDE_FILE(errno.h HAVE_ERRNO_H)
+CHECK_INCLUDE_FILE(fcntl.h HAVE_FCNTL_H)
+CHECK_INCLUDE_FILE(getopt.h HAVE_GETOPT_H)
+CHECK_INCLUDE_FILE(limits.h HAVE_LIMITS_H)
+CHECK_INCLUDE_FILE(math.h HAVE_MATH_H)
+CHECK_INCLUDE_FILE(setjmp.h HAVE_SETJMP_H)
+CHECK_INCLUDE_FILE(stddef.h HAVE_STDDEF_H)
+CHECK_INCLUDE_FILE(stdlib.h HAVE_STDLIB_H)
+CHECK_INCLUDE_FILE(string.h HAVE_STRING_H)
+CHECK_INCLUDE_FILE(unistd.h HAVE_UNISTD_H)
+CHECK_INCLUDE_FILE(sys/param.h HAVE_SYS_PARAM_H)
+CHECK_INCLUDE_FILE(sys/stat.h HAVE_SYS_STAT_H)
+CHECK_INCLUDE_FILE(sys/stat.h HAVE_SYS_STAT_H)
+CHECK_INCLUDE_FILE(sys/time.h HAVE_SYS_TIME_H)
+
+CHECK_INCLUDE_FILES("sys/time.h;time.h" TIME_WITH_SYS_TIME)
+
+CHECK_FUNCTION_EXISTS(access HAVE_ACCESS)
+CHECK_FUNCTION_EXISTS(_access HAVE__ACCESS)
+CHECK_FUNCTION_EXISTS(getopt HAVE_GETOPT)
+CHECK_FUNCTION_EXISTS(getopt_long HAVE_GETOPT_LONG)
+CHECK_FUNCTION_EXISTS(gettimeofday HAVE_GETTIMEOFDAY)
+CHECK_FUNCTION_EXISTS(isascii HAVE_ISASCII)
+CHECK_FUNCTION_EXISTS(setjmp HAVE_SETJMP)
+CHECK_FUNCTION_EXISTS(snprintf HAVE_SNPRINTF)
+CHECK_FUNCTION_EXISTS(_snprintf HAVE__SNPRINTF)
+CHECK_FUNCTION_EXISTS(stat HAVE_STAT)
+CHECK_FUNCTION_EXISTS(strcasecmp HAVE_STRCASECMP)
+CHECK_FUNCTION_EXISTS(stricmp HAVE_STRICMP)
+CHECK_FUNCTION_EXISTS(_stricmp HAVE__STRICMP)
+CHECK_FUNCTION_EXISTS(strtok_r HAVE_STRTOK_R)
+CHECK_FUNCTION_EXISTS(vasprintf HAVE_VASPRINTF)
+CHECK_FUNCTION_EXISTS(vsnprintf HAVE_VSNPRINTF)
+CHECK_FUNCTION_EXISTS(_vsnprintf HAVE__VSNPRINTF)
+
+CHECK_TYPE_SIZE("unsigned char" SIZEOF_UNSIGNED_CHAR)
+CHECK_TYPE_SIZE("unsigned short" SIZEOF_UNSIGNED_SHORT)
+CHECK_TYPE_SIZE("unsigned int" SIZEOF_UNSIGNED_INT)
+CHECK_TYPE_SIZE("unsigned long" SIZEOF_UNSIGNED_LONG)
+CHECK_TYPE_SIZE("unsigned long long" SIZEOF_UNSIGNED_LONG_LONG)
+
+IF(LIBXML2_FOUND)
+
+ SET(CMAKE_REQUIRED_INCLUDES ${LIBXML2_INCLUDE_DIR})
+ SET(CMAKE_REQUIRED_LIBRARIES ${LIBXML2_LIBRARIES})
+
+ CHECK_FUNCTION_EXISTS(xmlCtxtUseOptions HAVE_XMLCTXTUSEOPTIONS)
+ CHECK_FUNCTION_EXISTS(xmlSAX2InternalSubset HAVE_XMLSAX2INTERNALSUBSET)
+
+ CHECK_STRUCT_HAS_MEMBER(
+ xmlEntity
+ name_length
+ libxml/parser.h
+ RAPTOR_LIBXML_ENTITY_NAME_LENGTH
+ )
+
+ CHECK_STRUCT_HAS_MEMBER(
+ xmlEntity
+ etype
+ libxml/parser.h
+ RAPTOR_LIBXML_ENTITY_ETYPE
+ )
+
+ CHECK_STRUCT_HAS_MEMBER(
+ xmlSAXHandler
+ initialized
+ libxml/parser.h
+ RAPTOR_LIBXML_XMLSAXHANDLER_INITIALIZED
+ )
+
+ CHECK_STRUCT_HAS_MEMBER(
+ xmlSAXHandler
+ externalSubset
+ libxml/parser.h
+ RAPTOR_LIBXML_XMLSAXHANDLER_EXTERNALSUBSET
+ )
+
+ CHECK_C_SOURCE_COMPILES("
+#include <libxml/parser.h>
+int main(void){ xmlParserOption foo; foo = XML_PARSE_NONET; return 0; }"
+ RAPTOR_LIBXML_XML_PARSE_NONET
+ )
+
+ CHECK_C_SOURCE_COMPILES("
+#include <libxml/HTMLparser.h>
+int main(void){ htmlParserOption foo; foo = HTML_PARSE_NONET; return 0; }"
+ RAPTOR_LIBXML_HTML_PARSE_NONET
+ )
+
+ SET(CMAKE_REQUIRED_INCLUDES)
+ SET(CMAKE_REQUIRED_LIBRARIES)
+
+ENDIF(LIBXML2_FOUND)
+
+################################################################
+
+# User-configurable options
+#
+# (Note: The CMake GUI displays these in alphabetical order, regardless of
+# the order we use here)
+
+SET(BUILD_SHARED_LIBS OFF CACHE BOOL
+ "Build shared libraries instead of static ones.")
+
+IF(BUILD_SHARED_LIBS)
+ SET(RAPTOR_STATIC FALSE)
+ELSE(BUILD_SHARED_LIBS)
+ SET(RAPTOR_STATIC TRUE)
+ENDIF(BUILD_SHARED_LIBS)
+
+SET(RAPTOR_XML_INIT none)
+IF(LIBXML2_FOUND)
+ SET(RAPTOR_XML_INIT libxml)
+ENDIF(LIBXML2_FOUND)
+
+SET(RAPTOR_XML ${RAPTOR_XML_INIT} CACHE STRING
+ "Which XML library to use (any of \"libxml\", \"none\").")
+
+SET(RAPTOR_XML_DEFINE RAPTOR_XML_NONE)
+IF(RAPTOR_XML STREQUAL "libxml")
+ SET(RAPTOR_XML_DEFINE RAPTOR_XML_LIBXML)
+ENDIF(RAPTOR_XML STREQUAL "libxml")
+
+SET(RAPTOR_WWW_INIT none)
+IF(LIBXML2_FOUND)
+ SET(RAPTOR_WWW_INIT xml)
+ENDIF(LIBXML2_FOUND)
+IF(CURL_FOUND)
+ SET(RAPTOR_WWW_INIT curl)
+ENDIF(CURL_FOUND)
+
+SET(RAPTOR_WWW ${RAPTOR_WWW_INIT} CACHE STRING
+ "Which WWW library to use (any of \"curl\", \"xml\", \"none\").")
+
+SET(RAPTOR_WWW_DEFINE RAPTOR_WWW_NONE)
+IF(RAPTOR_WWW STREQUAL "curl")
+ SET(RAPTOR_WWW_DEFINE RAPTOR_WWW_LIBCURL)
+ELSEIF(RAPTOR_WWW STREQUAL "xml")
+ SET(RAPTOR_WWW_DEFINE RAPTOR_WWW_LIBXML)
+ENDIF(RAPTOR_WWW STREQUAL "curl")
+
+SET(RAPTOR_XML_1_1 FALSE CACHE BOOL
+ "Use XML version 1.1 name checking.")
+
+SET(HAVE_RAPTOR_PARSE_DATE 1)
+SET(RAPTOR_PARSEDATE 1)
+
+SET(RAPTOR_PARSER_RDFXML_INIT FALSE)
+IF(LIBXML2_FOUND)
+ SET(RAPTOR_PARSER_RDFXML_INIT TRUE)
+ENDIF(LIBXML2_FOUND)
+
+SET(RAPTOR_PARSER_GRDDL_INIT FALSE)
+IF(LIBXML2_FOUND AND LIBXSLT_FOUND)
+ SET(RAPTOR_PARSER_GRDDL_INIT TRUE)
+ENDIF(LIBXML2_FOUND AND LIBXSLT_FOUND)
+
+SET(RAPTOR_PARSER_RDFXML ${RAPTOR_PARSER_RDFXML_INIT}
+ CACHE BOOL "Build RDF/XML parser.")
+SET(RAPTOR_PARSER_NTRIPLES TRUE
+ CACHE BOOL "Build N-Triples parser.")
+SET(RAPTOR_PARSER_TURTLE TRUE
+ CACHE BOOL "Build Turtle parser.")
+SET(RAPTOR_PARSER_TRIG TRUE
+ CACHE BOOL "Build TRiG parser.")
+SET(RAPTOR_PARSER_RSS ${LIBXML2_FOUND}
+ CACHE BOOL "Build RSS Tag Soup parser.")
+SET(RAPTOR_PARSER_GRDDL ${RAPTOR_PARSER_GRDDL_INIT}
+ CACHE BOOL "Build GRDDL parser.")
+SET(RAPTOR_PARSER_GUESS TRUE
+ CACHE BOOL "Build guess parser.")
+SET(RAPTOR_PARSER_RDFA ${LIBXML2_FOUND}
+ CACHE BOOL "Build RDFA parser.")
+SET(RAPTOR_PARSER_JSON ${YAJL_FOUND}
+ CACHE BOOL "Build JSON parser.")
+SET(RAPTOR_PARSER_NQUADS TRUE
+ CACHE BOOL "Build N-Quads parser.")
+
+SET(RAPTOR_SERIALIZER_RDFXML TRUE
+ CACHE BOOL "Build RDF/XML serializer.")
+SET(RAPTOR_SERIALIZER_NTRIPLES TRUE
+ CACHE BOOL "Build N-Triples serializer.")
+SET(RAPTOR_SERIALIZER_RDFXML_ABBREV TRUE
+ CACHE BOOL "Build RDF/XML-abbreviated serializer.")
+SET(RAPTOR_SERIALIZER_TURTLE TRUE
+ CACHE BOOL "Build Turtle serializer.")
+SET(RAPTOR_SERIALIZER_RSS_1_0 TRUE
+ CACHE BOOL "Build RSS 1.0 serializer.")
+SET(RAPTOR_SERIALIZER_ATOM TRUE
+ CACHE BOOL "Build Atom 1.0 serializer.")
+SET(RAPTOR_SERIALIZER_DOT TRUE
+ CACHE BOOL "Build GraphViz DOT serializer.")
+SET(RAPTOR_SERIALIZER_HTML TRUE
+ CACHE BOOL "Build HTML Table serializer.")
+SET(RAPTOR_SERIALIZER_JSON TRUE
+ CACHE BOOL "Build JSON serializer.")
+SET(RAPTOR_SERIALIZER_NQUADS TRUE
+ CACHE BOOL "Build N-Quads serializer.")
+
+################################################################
+
+CONFIGURE_FILE(
+ src/raptor_config_cmake.h.in
+ src/raptor_config.h
+ @ONLY
+)
+
+ADD_DEFINITIONS(-DHAVE_CONFIG_H)
+
+CONFIGURE_FILE(
+ src/raptor2.h.in
+ src/raptor2.h
+ @ONLY
+)
+
+# On Windows, the test/utility programs usually have DLL dependencies that
+# make them cumbersome to invoke within IDE environments, so we enable the
+# test suite only when makefiles are being used.
+#
+# Note that a partial solution is described at
+#
+# http://www.cmake.org/pipermail/cmake/2009-May/029464.html
+#
+# but we don't have a good way of knowing where the third-party DLLs are.
+#
+IF(CMAKE_GENERATOR MATCHES "Makefiles")
+ ENABLE_TESTING()
+ENDIF(CMAKE_GENERATOR MATCHES "Makefiles")
+
+SUBDIRS(src)
+SUBDIRS(utils)
+
+################################################################
+
+FIND_PROGRAM(JING jing)
+IF(NOT JING STREQUAL "JING-NOTFOUND")
+ SET(HAVE_JING TRUE)
+ENDIF(NOT JING STREQUAL "JING-NOTFOUND")
+
+SET(RAPPER ${CMAKE_BINARY_DIR}/utils/rapper)
+SET(RDFDIFF ${CMAKE_BINARY_DIR}/utils/rdfdiff)
+
+MACRO(RAPPER_TEST NAME_PREFIX COMMAND OUTPUT REFERENCE)
+ FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/test-${NAME_PREFIX}.cmake "
+EXECUTE_PROCESS(
+ COMMAND ${COMMAND}
+ TIMEOUT 10
+ OUTPUT_FILE ${OUTPUT}.raw
+ ERROR_QUIET
+)
+
+# http://public.kitware.com/Bug/view.php?id=13007
+
+CONFIGURE_FILE(
+ ${CMAKE_CURRENT_BINARY_DIR}/${OUTPUT}.raw
+ ${OUTPUT}
+ @ONLY
+ NEWLINE_STYLE UNIX
+)
+")
+ ADD_TEST("${NAME_PREFIX}:run" ${CMAKE_COMMAND} -P test-${NAME_PREFIX}.cmake)
+ ADD_TEST("${NAME_PREFIX}:cmp" ${CMAKE_COMMAND} -E compare_files ${REFERENCE} ${OUTPUT})
+ENDMACRO(RAPPER_TEST NAME_PREFIX COMMAND OUTPUT REFERENCE)
+
+MACRO(RAPPER_RDFDIFF_TEST NAME RAPPER_COMMAND RAPPER_OUTPUT RDFDIFF_COMMAND)
+ FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/test-${NAME}.cmake "
+SET(rdfdiff_status -1)
+
+EXECUTE_PROCESS(
+ COMMAND ${RAPPER_COMMAND}
+ TIMEOUT 10
+ OUTPUT_FILE ${RAPPER_OUTPUT}
+ ERROR_QUIET
+ RESULT_VARIABLE rapper_status
+)
+
+IF(rapper_status EQUAL 0 OR rapper_status EQUAL 2)
+ EXECUTE_PROCESS(
+ COMMAND ${RDFDIFF_COMMAND}
+ TIMEOUT 10
+ OUTPUT_QUIET
+ ERROR_QUIET
+ RESULT_VARIABLE rdfdiff_status
+ )
+ENDIF(rapper_status EQUAL 0 OR rapper_status EQUAL 2)
+
+IF(NOT rdfdiff_status EQUAL 0)
+ MESSAGE(FATAL_ERROR "Test failed.")
+ENDIF(NOT rdfdiff_status EQUAL 0)
+")
+
+ ADD_TEST(${NAME} ${CMAKE_COMMAND} -P test-${NAME}.cmake)
+ENDMACRO(RAPPER_RDFDIFF_TEST NAME RAPPER_COMMAND RAPPER_OUTPUT RDFDIFF_COMMAND)
+
+SUBDIRS(tests/feeds)
+SUBDIRS(tests/grddl)
+SUBDIRS(tests/json)
+SUBDIRS(tests/ntriples)
+SUBDIRS(tests/rdfa)
+SUBDIRS(tests/rdfa11)
+SUBDIRS(tests/rdfxml)
+SUBDIRS(tests/trig)
+#SUBDIRS(tests/turtle) # TODO
+
+# end raptor/CMakeLists.txt
View
1  Makefile.am
@@ -28,6 +28,7 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = raptor2.pc
EXTRA_DIST=\
+CMakeLists.txt \
ChangeLog.1 ChangeLog.2 ChangeLog.3 ChangeLog.4 ChangeLog.5 \
ChangeLog.6 ChangeLog.7 ChangeLog.8 ChangeLog.9 ChangeLog.10 ChangeLog.11 \
ChangeLog.12 \
View
4 librdfa/config.h
@@ -1,6 +1,2 @@
/* Fake librdfa config.h - reads configuration from Raptor's config header */
-#ifdef WIN32
-#include <win32_raptor_config.h>
-#else
#include <raptor_config.h>
-#endif
View
336 src/CMakeLists.txt
@@ -0,0 +1,336 @@
+# raptor/src/CMakeLists.txt
+#
+# Original listfile by Daniel Richard G. <skunk@iSKUNK.ORG>
+# This file is in the public domain.
+#
+
+IF(RAPTOR_PARSER_RDFA)
+ INCLUDE_DIRECTORIES(BEFORE ${CMAKE_SOURCE_DIR}/librdfa)
+ENDIF(RAPTOR_PARSER_RDFA)
+
+INCLUDE_DIRECTORIES(BEFORE
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+IF(RAPTOR_PARSER_RDFXML)
+ SET(raptor_parser_rdfxml_sources raptor_rdfxml.c)
+ SET(raptor_libxml_libs ${LIBXML2_LIBRARIES})
+ENDIF(RAPTOR_PARSER_RDFXML)
+IF(RAPTOR_PARSER_NTRIPLES OR RAPTOR_PARSER_NQUADS)
+ SET(raptor_parser_ntriples_nquads_sources ntriples_parse.c)
+ENDIF(RAPTOR_PARSER_NTRIPLES OR RAPTOR_PARSER_NQUADS)
+IF(RAPTOR_PARSER_TURTLE OR RAPTOR_PARSER_TRIG)
+ SET(raptor_parser_turtle_trig_sources
+ turtle_common.h
+ turtle_lexer.c
+ turtle_lexer.h
+ turtle_parser.c
+ turtle_parser.h
+ )
+ENDIF(RAPTOR_PARSER_TURTLE OR RAPTOR_PARSER_TRIG)
+IF(RAPTOR_PARSER_RSS OR RAPTOR_SERIALIZER_RSS_1_0)
+ SET(raptor_rss_common_sources raptor_rss_common.c raptor_rss.h)
+ENDIF(RAPTOR_PARSER_RSS OR RAPTOR_SERIALIZER_RSS_1_0)
+IF(RAPTOR_PARSER_RSS)
+ SET(raptor_parser_rss_sources raptor_rss.c)
+ SET(raptor_libxml_libs ${LIBXML2_LIBRARIES})
+ENDIF(RAPTOR_PARSER_RSS)
+IF(RAPTOR_PARSER_GRDDL)
+ SET(raptor_parser_grddl_sources raptor_grddl.c)
+ SET(raptor_libxml_libs ${LIBXML2_LIBRARIES})
+ SET(raptor_libxslt_libs ${LIBXSLT_LIBRARIES})
+ENDIF(RAPTOR_PARSER_GRDDL)
+IF(RAPTOR_PARSER_GUESS)
+ SET(raptor_parser_guess_sources raptor_guess.c)
+ENDIF(RAPTOR_PARSER_GUESS)
+IF(RAPTOR_PARSER_RDFA)
+ SET(raptor_parser_rdfa_sources raptor_librdfa.c)
+ENDIF(RAPTOR_PARSER_RDFA)
+IF(RAPTOR_PARSER_JSON)
+ SET(raptor_parser_json_sources raptor_json.c)
+ENDIF(RAPTOR_PARSER_JSON)
+
+IF(RAPTOR_SERIALIZER_RDFXML)
+ SET(raptor_serializer_rdfxml_sources raptor_serialize_rdfxml.c)
+ENDIF(RAPTOR_SERIALIZER_RDFXML)
+IF(RAPTOR_SERIALIZER_NTRIPLES OR RAPTOR_SERIALIZER_NQUADS)
+ SET(raptor_serializer_ntriples_nquads_sources raptor_serialize_ntriples.c)
+ENDIF(RAPTOR_SERIALIZER_NTRIPLES OR RAPTOR_SERIALIZER_NQUADS)
+IF(RAPTOR_SERIALIZER_RDFXML_ABBREV OR RAPTOR_SERIALIZER_TURTLE)
+ SET(raptor_serializer_abbrev_sources raptor_abbrev.c)
+ENDIF(RAPTOR_SERIALIZER_RDFXML_ABBREV OR RAPTOR_SERIALIZER_TURTLE)
+IF(RAPTOR_SERIALIZER_RDFXML_ABBREV)
+ SET(raptor_serializer_rdfxml_abbrev_sources raptor_serialize_rdfxmla.c)
+ENDIF(RAPTOR_SERIALIZER_RDFXML_ABBREV)
+IF(RAPTOR_SERIALIZER_TURTLE)
+ SET(raptor_serializer_turtle_sources raptor_serialize_turtle.c)
+ENDIF(RAPTOR_SERIALIZER_TURTLE)
+IF(RAPTOR_SERIALIZER_RSS_1_0)
+ SET(raptor_serializer_rss_1_0_sources raptor_serialize_rss.c)
+ENDIF(RAPTOR_SERIALIZER_RSS_1_0)
+IF(RAPTOR_SERIALIZER_DOT)
+ SET(raptor_serializer_dot_sources raptor_serialize_dot.c)
+ENDIF(RAPTOR_SERIALIZER_DOT)
+IF(RAPTOR_SERIALIZER_HTML)
+ SET(raptor_serializer_html_sources raptor_serialize_html.c)
+ENDIF(RAPTOR_SERIALIZER_HTML)
+IF(RAPTOR_SERIALIZER_JSON)
+ SET(raptor_serializer_json_sources raptor_serialize_json.c)
+ SET(raptor_yajl_libs ${YAJL_LIBRARIES})
+ENDIF(RAPTOR_SERIALIZER_JSON)
+
+IF(RAPTOR_WWW STREQUAL "curl")
+ SET(raptor_www_sources raptor_www_curl.c)
+ SET(raptor_www_libs ${CURL_LIBRARIES})
+ELSEIF(RAPTOR_WWW STREQUAL "fetch")
+ SET(raptor_www_sources raptor_www_libfetch.c)
+ #SET(raptor_www_libs ${FETCH_LIBRARIES})
+ELSEIF(RAPTOR_WWW STREQUAL "xml")
+ SET(raptor_www_sources raptor_www_libxml.c)
+ SET(raptor_www_libs ${LIBXML2_LIBRARIES})
+ENDIF(RAPTOR_WWW STREQUAL "curl")
+
+IF(RAPTOR_XML STREQUAL "libxml")
+ SET(raptor_libxml_sources raptor_libxml.c)
+ SET(raptor_libxml_libs ${LIBXML2_LIBRARIES})
+ENDIF(RAPTOR_XML STREQUAL "libxml")
+IF(RAPTOR_PARSER_RDFA)
+ SET(raptor_librdfa_sources
+ ${CMAKE_SOURCE_DIR}/librdfa/context.c
+ ${CMAKE_SOURCE_DIR}/librdfa/curie.c
+ ${CMAKE_SOURCE_DIR}/librdfa/iri.c
+ ${CMAKE_SOURCE_DIR}/librdfa/language.c
+ ${CMAKE_SOURCE_DIR}/librdfa/lists.c
+ ${CMAKE_SOURCE_DIR}/librdfa/namespace.c
+ ${CMAKE_SOURCE_DIR}/librdfa/rdfa.c
+ ${CMAKE_SOURCE_DIR}/librdfa/rdfa_utils.c
+ ${CMAKE_SOURCE_DIR}/librdfa/strtok_r.c
+ ${CMAKE_SOURCE_DIR}/librdfa/subject.c
+ ${CMAKE_SOURCE_DIR}/librdfa/triple.c
+ ${CMAKE_SOURCE_DIR}/librdfa/rdfa.h
+ ${CMAKE_SOURCE_DIR}/librdfa/rdfa_utils.h
+ ${CMAKE_SOURCE_DIR}/librdfa/strtok_r.h
+ )
+ENDIF(RAPTOR_PARSER_RDFA)
+IF(NOT HAVE_STRCASECMP AND NOT HAVE_STRICMP)
+ SET(raptor_strcasecmp_sources strcasecmp.c)
+ENDIF(NOT HAVE_STRCASECMP AND NOT HAVE_STRICMP)
+IF(RAPTOR_PARSEDATE)
+ SET(raptor_parsedate_sources parsedate.c)
+ENDIF(RAPTOR_PARSEDATE)
+
+ADD_LIBRARY(raptor2
+ raptor_avltree.c
+ raptor_concepts.c
+ raptor_general.c
+ raptor_iostream.c
+ raptor_json_writer.c
+ raptor_locator.c
+ raptor_log.c
+ raptor_memstr.c
+ raptor_namespace.c
+ raptor_option.c
+ raptor_parse.c
+ raptor_qname.c
+ raptor_rfc2396.c
+ raptor_sax2.c
+ raptor_sequence.c
+ raptor_serialize.c
+ raptor_set.c
+ raptor_statement.c
+ raptor_stringbuffer.c
+ raptor_syntax_description.c
+ raptor_term.c
+ raptor_turtle_writer.c
+ raptor_unicode.c
+ raptor_uri.c
+ raptor_www.c
+ raptor_xml.c
+ raptor_xml_writer.c
+ snprintf.c
+ turtle_common.c
+ ${raptor_parser_rdfxml_sources}
+ ${raptor_parser_ntriples_nquads_sources}
+ ${raptor_parser_turtle_trig_sources}
+ ${raptor_rss_common_sources}
+ ${raptor_parser_rss_sources}
+ ${raptor_parser_grddl_sources}
+ ${raptor_parser_guess_sources}
+ ${raptor_parser_rdfa_sources}
+ ${raptor_parser_json_sources}
+ ${raptor_serializer_rdfxml_sources}
+ ${raptor_serializer_ntriples_nquads_sources}
+ ${raptor_serializer_abbrev_sources}
+ ${raptor_serializer_rdfxml_abbrev_sources}
+ ${raptor_serializer_turtle_sources}
+ ${raptor_serializer_rss_1_0_sources}
+ ${raptor_serializer_dot_sources}
+ ${raptor_serializer_html_sources}
+ ${raptor_serializer_json_sources}
+ ${raptor_www_sources}
+ ${raptor_libxml_sources}
+ ${raptor_librdfa_sources}
+ ${raptor_strcasecmp_sources}
+ ${raptor_parsedate_sources}
+)
+
+TARGET_LINK_LIBRARIES(raptor2
+ ${raptor_libxslt_libs}
+ ${raptor_libxml_libs}
+ ${raptor_yajl_libs}
+ ${raptor_www_libs}
+)
+
+SET_TARGET_PROPERTIES(
+ raptor2
+ PROPERTIES
+ COMPILE_DEFINITIONS "LIBRDFA_IN_RAPTOR;RAPTOR_INTERNAL;${LIBXML2_DEFINITIONS};${LIBXSLT_DEFINITIONS}"
+)
+
+ADD_EXECUTABLE(turtle_lexer_test turtle_lexer.c)
+TARGET_LINK_LIBRARIES(turtle_lexer_test raptor2)
+
+IF(NOT WIN32 OR NOT BUILD_SHARED_LIBS)
+ # This currently cannot be built on Windows with DLL linkage
+ ADD_EXECUTABLE(turtle_parser_test turtle_parser.c)
+ TARGET_LINK_LIBRARIES(turtle_parser_test raptor2)
+ SET_TARGET_PROPERTIES(
+ turtle_parser_test
+ PROPERTIES
+ COMPILE_DEFINITIONS "RAPTOR_INTERNAL;STANDALONE"
+ )
+ENDIF(NOT WIN32 OR NOT BUILD_SHARED_LIBS)
+
+ADD_EXECUTABLE(raptor_parse_test raptor_parse.c)
+TARGET_LINK_LIBRARIES(raptor_parse_test raptor2)
+ADD_TEST(raptor_parse_test raptor_parse_test)
+
+ADD_EXECUTABLE(raptor_rfc2396_test raptor_rfc2396.c)
+TARGET_LINK_LIBRARIES(raptor_rfc2396_test raptor2)
+ADD_TEST(raptor_rfc2396_test raptor_rfc2396_test)
+
+ADD_EXECUTABLE(raptor_uri_test raptor_uri.c)
+TARGET_LINK_LIBRARIES(raptor_uri_test raptor2)
+ADD_TEST(raptor_uri_test raptor_uri_test)
+
+ADD_EXECUTABLE(raptor_namespace_test raptor_namespace.c)
+TARGET_LINK_LIBRARIES(raptor_namespace_test raptor2)
+ADD_TEST(raptor_namespace_test raptor_namespace_test)
+
+ADD_EXECUTABLE(strcasecmp_test strcasecmp.c)
+TARGET_LINK_LIBRARIES(strcasecmp_test raptor2)
+ADD_TEST(strcasecmp_test strcasecmp_test)
+
+ADD_EXECUTABLE(raptor_www_test raptor_www_test.c)
+TARGET_LINK_LIBRARIES(raptor_www_test raptor2)
+ADD_TEST(raptor_www_test raptor_www_test)
+
+ADD_EXECUTABLE(raptor_sequence_test raptor_sequence.c)
+TARGET_LINK_LIBRARIES(raptor_sequence_test raptor2)
+ADD_TEST(raptor_sequence_test raptor_sequence_test)
+
+ADD_EXECUTABLE(raptor_stringbuffer_test raptor_stringbuffer.c)
+TARGET_LINK_LIBRARIES(raptor_stringbuffer_test raptor2)
+ADD_TEST(raptor_stringbuffer_test raptor_stringbuffer_test)
+
+ADD_EXECUTABLE(raptor_iostream_test raptor_iostream.c)
+TARGET_LINK_LIBRARIES(raptor_iostream_test raptor2)
+ADD_TEST(raptor_iostream_test raptor_iostream_test)
+
+ADD_EXECUTABLE(raptor_xml_writer_test raptor_xml_writer.c)
+TARGET_LINK_LIBRARIES(raptor_xml_writer_test raptor2)
+ADD_TEST(raptor_xml_writer_test raptor_xml_writer_test)
+
+ADD_EXECUTABLE(raptor_turtle_writer_test raptor_turtle_writer.c)
+TARGET_LINK_LIBRARIES(raptor_turtle_writer_test raptor2)
+ADD_TEST(raptor_turtle_writer_test raptor_turtle_writer_test)
+
+ADD_EXECUTABLE(raptor_avltree_test raptor_avltree.c)
+TARGET_LINK_LIBRARIES(raptor_avltree_test raptor2)
+ADD_TEST(raptor_avltree_test raptor_avltree_test)
+
+ADD_EXECUTABLE(raptor_term_test raptor_term.c)
+TARGET_LINK_LIBRARIES(raptor_term_test raptor2)
+ADD_TEST(raptor_term_test raptor_term_test)
+
+ADD_EXECUTABLE(raptor_permute_test raptor_permute_test.c)
+TARGET_LINK_LIBRARIES(raptor_permute_test raptor2)
+ADD_TEST(raptor_permute_test raptor_permute_test)
+
+SET_TARGET_PROPERTIES(
+ turtle_lexer_test
+ #turtle_parser_test
+ raptor_parse_test
+ raptor_rfc2396_test
+ raptor_uri_test
+ raptor_namespace_test
+ strcasecmp_test
+ raptor_www_test
+ raptor_sequence_test
+ raptor_stringbuffer_test
+ raptor_iostream_test
+ raptor_xml_writer_test
+ raptor_turtle_writer_test
+ raptor_avltree_test
+ raptor_term_test
+ raptor_permute_test
+ PROPERTIES
+ COMPILE_DEFINITIONS "RAPTOR_INTERNAL;STANDALONE"
+)
+
+IF(RAPTOR_PARSER_RDFXML)
+ ADD_EXECUTABLE(raptor_set_test raptor_set.c)
+ TARGET_LINK_LIBRARIES(raptor_set_test raptor2)
+ ADD_TEST(raptor_set_test raptor_set_test)
+
+ ADD_EXECUTABLE(raptor_xml_test raptor_xml.c)
+ TARGET_LINK_LIBRARIES(raptor_xml_test raptor2)
+ ADD_TEST(raptor_xml_test raptor_xml_test)
+
+ SET_TARGET_PROPERTIES(
+ raptor_set_test
+ raptor_xml_test
+ PROPERTIES
+ COMPILE_DEFINITIONS "RAPTOR_INTERNAL;STANDALONE"
+ )
+ENDIF(RAPTOR_PARSER_RDFXML)
+
+# Generate pkg-config metadata file
+#
+FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/raptor2.pc
+"prefix=${CMAKE_INSTALL_PREFIX}
+exec_prefix=\${prefix}
+libdir=\${exec_prefix}/lib
+includedir=\${prefix}/include/raptor2
+
+Name: Raptor RDF Parsing Library
+Description: RDF Parser Toolkit Library
+Version: ${VERSION}
+Libs: -L\${libdir} -lraptor2
+Libs.private: ${raptor_libxslt_libs} ${raptor_libxml_libs}
+Cflags: -I\${includedir}
+")
+
+INSTALL(FILES
+ raptor.h
+ ${CMAKE_CURRENT_BINARY_DIR}/raptor2.h
+ DESTINATION include/raptor2
+)
+
+INSTALL(FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/raptor2.pc
+ DESTINATION lib/pkgconfig
+)
+
+INSTALL(
+ TARGETS raptor2
+ EXPORT Raptor2Config
+ ARCHIVE DESTINATION lib
+ LIBRARY DESTINATION lib
+ RUNTIME DESTINATION bin
+)
+
+INSTALL(EXPORT Raptor2Config DESTINATION lib/cmake)
+
+# end raptor/src/CMakeLists.txt
View
2  src/Makefile.am
@@ -191,6 +191,8 @@ libraptor2_la_LIBADD = @LTLIBOBJS@
EXTRA_DIST=\
+CMakeLists.txt \
+raptor_config_cmake.h.in \
raptor_permute_test.c \
raptor_www_test.c \
raptor_nfc_test.c \
View
131 src/raptor_config_cmake.h.in
@@ -0,0 +1,131 @@
+/* raptor_config.h */
+
+#define RAPTOR_VERSION_DECIMAL @RAPTOR_VERSION_DECIMAL@
+#define RAPTOR_MIN_VERSION_DECIMAL @RAPTOR_MIN_VERSION_DECIMAL@
+
+#cmakedefine HAVE_ERRNO_H
+#cmakedefine HAVE_FCNTL_H
+#cmakedefine HAVE_GETOPT_H
+#cmakedefine HAVE_LIMITS_H
+#cmakedefine HAVE_MATH_H
+#cmakedefine HAVE_SETJMP_H
+#cmakedefine HAVE_STDDEF_H
+#cmakedefine HAVE_STDLIB_H
+#cmakedefine HAVE_STRING_H
+#cmakedefine HAVE_UNISTD_H
+#cmakedefine HAVE_SYS_PARAM_H
+#cmakedefine HAVE_SYS_STAT_H
+#cmakedefine HAVE_SYS_STAT_H
+#cmakedefine HAVE_SYS_TIME_H
+
+#cmakedefine TIME_WITH_SYS_TIME
+
+#cmakedefine HAVE_ACCESS
+#cmakedefine HAVE__ACCESS
+#cmakedefine HAVE_GETOPT
+#cmakedefine HAVE_GETOPT_LONG
+#cmakedefine HAVE_GETTIMEOFDAY
+#cmakedefine HAVE_ISASCII
+#cmakedefine HAVE_SETJMP
+#cmakedefine HAVE_SNPRINTF
+#cmakedefine HAVE__SNPRINTF
+#cmakedefine HAVE_STAT
+#cmakedefine HAVE_STRCASECMP
+#cmakedefine HAVE_STRICMP
+#cmakedefine HAVE__STRICMP
+#cmakedefine HAVE_STRTOK_R
+#cmakedefine HAVE_VASPRINTF
+#cmakedefine HAVE_VSNPRINTF
+#cmakedefine HAVE__VSNPRINTF
+
+#define SIZEOF_UNSIGNED_CHAR @SIZEOF_UNSIGNED_CHAR@
+#define SIZEOF_UNSIGNED_SHORT @SIZEOF_UNSIGNED_SHORT@
+#define SIZEOF_UNSIGNED_INT @SIZEOF_UNSIGNED_INT@
+#define SIZEOF_UNSIGNED_LONG @SIZEOF_UNSIGNED_LONG@
+#define SIZEOF_UNSIGNED_LONG_LONG @SIZEOF_UNSIGNED_LONG_LONG@
+
+#cmakedefine HAVE_XMLCTXTUSEOPTIONS
+#cmakedefine HAVE_XMLSAX2INTERNALSUBSET
+#cmakedefine RAPTOR_LIBXML_ENTITY_ETYPE
+#cmakedefine RAPTOR_LIBXML_ENTITY_NAME_LENGTH
+#cmakedefine RAPTOR_LIBXML_HTML_PARSE_NONET
+#cmakedefine RAPTOR_LIBXML_XMLSAXHANDLER_EXTERNALSUBSET
+#cmakedefine RAPTOR_LIBXML_XMLSAXHANDLER_INITIALIZED
+#cmakedefine RAPTOR_LIBXML_XML_PARSE_NONET
+
+#cmakedefine RAPTOR_STATIC
+#cmakedefine HAVE_RAPTOR_PARSE_DATE
+#define @RAPTOR_WWW_DEFINE@
+#define @RAPTOR_XML_DEFINE@
+#cmakedefine RAPTOR_XML_1_1
+
+#cmakedefine RAPTOR_PARSER_RDFXML
+#cmakedefine RAPTOR_PARSER_NTRIPLES
+#cmakedefine RAPTOR_PARSER_TURTLE
+#cmakedefine RAPTOR_PARSER_TRIG
+#cmakedefine RAPTOR_PARSER_RSS
+#cmakedefine RAPTOR_PARSER_GRDDL
+#cmakedefine RAPTOR_PARSER_GUESS
+#cmakedefine RAPTOR_PARSER_RDFA
+#cmakedefine RAPTOR_PARSER_JSON
+#cmakedefine RAPTOR_PARSER_NQUADS
+
+#cmakedefine RAPTOR_SERIALIZER_RDFXML
+#cmakedefine RAPTOR_SERIALIZER_NTRIPLES
+#cmakedefine RAPTOR_SERIALIZER_RDFXML_ABBREV
+#cmakedefine RAPTOR_SERIALIZER_TURTLE
+#cmakedefine RAPTOR_SERIALIZER_RSS_1_0
+#cmakedefine RAPTOR_SERIALIZER_ATOM
+#cmakedefine RAPTOR_SERIALIZER_DOT
+#cmakedefine RAPTOR_SERIALIZER_HTML
+#cmakedefine RAPTOR_SERIALIZER_JSON
+#cmakedefine RAPTOR_SERIALIZER_NQUADS
+
+#ifdef WIN32
+# define WIN32_LEAN_AND_MEAN
+# define _CRT_NONSTDC_NO_DEPRECATE
+# define _CRT_SECURE_NO_DEPRECATE
+
+# ifdef _MSC_VER
+# if _MSC_VER >= 1300
+# define __func__ __FUNCTION__
+# else
+ /* better than nothing */
+# define raptor_str(s) #s
+# define __func__ "func@" __FILE__ ":" raptor_str(__LINE__)
+# endif
+# endif
+
+# define RAPTOR_INLINE __inline
+
+# define S_ISTYPE(mode, mask) (((mode) & _S_IFMT) == (mask))
+# define S_ISDIR(mode) S_ISTYPE((mode), _S_IFDIR)
+# define S_ISREG(mode) S_ISTYPE((mode), _S_IFREG)
+
+ /* Mode bits for access() */
+# define R_OK 04
+# define W_OK 02
+
+# if !defined(HAVE_ACCESS) && defined(HAVE__ACCESS)
+# define access(p,m) _access(p,m)
+# endif
+# ifndef HAVE_STRCASECMP
+# if defined(HAVE__STRICMP)
+# define strcasecmp(a,b) _stricmp(a,b)
+# elif defined(HAVE_STRICMP)
+# define strcasecmp(a,b) stricmp(a,b)
+# endif
+# endif
+# if !defined(HAVE_SNPRINTF) && defined(HAVE__SNPRINTF)
+# define snprintf _snprintf
+# endif
+# if !defined(HAVE_VSNPRINTF) && defined(HAVE__VSNPRINTF)
+# define vsnprintf _vsnprintf
+# endif
+
+ /* These prevent parsedate.c from declaring malloc() and free() */
+# define YYMALLOC malloc
+# define YYFREE free
+#endif
+
+/* end raptor_config.h */
View
2  src/win32_raptor_config.h.in
@@ -23,6 +23,7 @@
*/
+#if 0 /**** obsolescent ****/
#ifndef WIN32_CONFIG_H
#define WIN32_CONFIG_H
@@ -166,3 +167,4 @@ extern "C" {
#endif
#endif
+#endif /**** obsolescent ****/
View
75 tests/feeds/CMakeLists.txt
@@ -0,0 +1,75 @@
+# raptor/tests/feeds/CMakeLists.txt
+#
+# Original listfile by Daniel Richard G. <skunk@iSKUNK.ORG>
+# This file is in the public domain.
+#
+
+IF(RAPTOR_PARSER_RDFXML)
+
+ RAPPER_TEST(feeds.test01.rdf
+ "${RAPPER} -q -i rdfxml -o turtle -f writeBaseURI=0 -O http://example.org/whatsnew file:${CMAKE_CURRENT_SOURCE_DIR}/test01.rdf"
+ test01.ttl
+ ${CMAKE_CURRENT_SOURCE_DIR}/test01-result.ttl
+ )
+
+ RAPPER_TEST(feeds.test02.rdf
+ "${RAPPER} -q -i rdfxml -o turtle -f writeBaseURI=0 -O http://example.org/news/ file:${CMAKE_CURRENT_SOURCE_DIR}/test02.rdf"
+ test02.ttl
+ ${CMAKE_CURRENT_SOURCE_DIR}/test02-result.ttl
+ )
+
+ RAPPER_TEST(feeds.test03.rdf
+ "${RAPPER} -q -i rdfxml -o turtle -f writeBaseURI=0 -O http://example.org file:${CMAKE_CURRENT_SOURCE_DIR}/test03.rdf"
+ test03.ttl
+ ${CMAKE_CURRENT_SOURCE_DIR}/test03-result.ttl
+ )
+
+ENDIF(RAPTOR_PARSER_RDFXML)
+
+IF(RAPTOR_PARSER_RSS)
+
+ RAPPER_TEST(feeds.test04.atom
+ "${RAPPER} -q -i rss-tag-soup -o turtle -f writeBaseURI=0 -O http://www.example.org/blog/ file:${CMAKE_CURRENT_SOURCE_DIR}/test04.atom"
+ test04.ttl
+ ${CMAKE_CURRENT_SOURCE_DIR}/test04-result.ttl
+ )
+
+ RAPPER_TEST(feeds.test05.atom
+ "${RAPPER} -q -i rss-tag-soup -o turtle -f writeBaseURI=0 -O http://www.example.org/blog/ file:${CMAKE_CURRENT_SOURCE_DIR}/test05.atom"
+ test05.ttl
+ ${CMAKE_CURRENT_SOURCE_DIR}/test05-result.ttl
+ )
+
+ENDIF(RAPTOR_PARSER_RSS)
+
+IF(RAPTOR_SERIALIZER_ATOM)
+
+ RAPPER_TEST(feeds.test01.ttl
+ "${RAPPER} -q -i turtle -o atom -f writeBaseURI=0 -f rssTriples=atom-triples -f atomEntryUri=http://example.org/2006/03/28/blog-item -I http://example.org/whatsnew -O http://example.org/whatsnew file:test01.ttl"
+ test01.atom
+ ${CMAKE_CURRENT_SOURCE_DIR}/test01-result.atom
+ )
+
+ RAPPER_TEST(feeds.test02.ttl
+ "${RAPPER} -q -i turtle -o atom -f writeBaseURI=0 -f rssTriples=atom-triples -I http://example.org/news/ -O http://example.org/news/ file:test02.ttl"
+ test02.atom
+ ${CMAKE_CURRENT_SOURCE_DIR}/test02-result.atom
+ )
+
+ RAPPER_TEST(feeds.test03.ttl
+ "${RAPPER} -q -i turtle -o atom -f writeBaseURI=0 -f rssTriples=atom-triples -I http://example.org -O http://example.org file:test03.ttl"
+ test03.atom
+ ${CMAKE_CURRENT_SOURCE_DIR}/test03-result.atom
+ )
+
+ENDIF(RAPTOR_SERIALIZER_ATOM)
+
+IF(HAVE_JING)
+ ADD_TEST(feeds.jing-test01.atom ${JING} ${CMAKE_CURRENT_SOURCE_DIR}/atom.rng test01.atom)
+ ADD_TEST(feeds.jing-test02.atom ${JING} ${CMAKE_CURRENT_SOURCE_DIR}/atom.rng test02.atom)
+ ADD_TEST(feeds.jing-test03.atom ${JING} ${CMAKE_CURRENT_SOURCE_DIR}/atom.rng test03.atom)
+ ADD_TEST(feeds.jing-test04.atom ${JING} ${CMAKE_CURRENT_SOURCE_DIR}/atom.rng ${CMAKE_CURRENT_SOURCE_DIR}/test04.atom)
+ ADD_TEST(feeds.jing-test05.atom ${JING} ${CMAKE_CURRENT_SOURCE_DIR}/atom.rng ${CMAKE_CURRENT_SOURCE_DIR}/test05.atom)
+ENDIF(HAVE_JING)
+
+# end raptor/tests/feeds/CMakeLists.txt
View
33 tests/feeds/Makefile.am
@@ -39,11 +39,12 @@ OUT_TTLS = $(OUT_RDF_TTLS) $(OUT_ATOM_TTLS)
OUT_ATOMS = $(OUT_RDF_ATOMS)
EXTRA_DIST = \
+CMakeLists.txt \
$(TEST_IN_RDF_ATOMS) $(TEST_IN_ATOMS) \
$(EXPECTED_TTLS) $(EXPECTED_ATOMS) \
atom.rng atom.rnc
-CLEANFILES = $(OUT_ATOMS) $(OUT_TTLS) errors.log
+CLEANFILES = $(OUT_ATOMS) $(OUT_TTLS) CMakeTests.txt errors.log
RAPPER = $(top_builddir)/utils/rapper
@@ -81,6 +82,7 @@ endif
check-rdfxml-to-turtle: $(check_rdfxml_to_turtle_deps)
@set +e; result=0; \
$(RECHO) "Testing RDF/XML to Turtle"; \
+ printf 'IF(RAPTOR_PARSER_RDFXML)\n\n' >>CMakeTests.txt; \
for test in $(TEST_IN_RDF_ATOMS); do \
parser=rdfxml; \
name=`basename $$test .rdf` ; \
@@ -111,7 +113,13 @@ check-rdfxml-to-turtle: $(check_rdfxml_to_turtle_deps)
diff -u $(srcdir)/$$expected $$turtle; result=1; \
fi; \
rm -f errors.log ; \
+ printf '\tRAPPER_TEST(%s\n\t\t"%s"\n\t\t%s\n\t\t%s\n\t)\n\n' \
+ feeds.$$test \
+ "\$${RAPPER} $$opts file:\$${CMAKE_CURRENT_SOURCE_DIR}/$$test" \
+ $$turtle \
+ "\$${CMAKE_CURRENT_SOURCE_DIR}/$$expected" >>CMakeTests.txt; \
done; \
+ printf 'ENDIF(RAPTOR_PARSER_RDFXML)\n\n' >>CMakeTests.txt; \
set -e; exit $$result
if MAINTAINER_MODE
@@ -122,6 +130,7 @@ endif
check-atom-to-turtle: $(check_atom_to_turtle_deps)
@set +e; result=0; \
$(RECHO) "Testing Atom to Turtle"; \
+ printf 'IF(RAPTOR_PARSER_RSS)\n\n' >>CMakeTests.txt; \
for test in $(TEST_IN_ATOMS); do \
parser=rss-tag-soup; \
name=`basename $$test .atom` ; \
@@ -149,7 +158,13 @@ check-atom-to-turtle: $(check_atom_to_turtle_deps)
diff -u $(srcdir)/$$expected $$turtle; result=1; \
fi; \
rm -f errors.log ; \
+ printf '\tRAPPER_TEST(%s\n\t\t"%s"\n\t\t%s\n\t\t%s\n\t)\n\n' \
+ feeds.$$test \
+ "\$${RAPPER} $$opts file:\$${CMAKE_CURRENT_SOURCE_DIR}/$$test" \
+ $$turtle \
+ "\$${CMAKE_CURRENT_SOURCE_DIR}/$$expected" >>CMakeTests.txt; \
done; \
+ printf 'ENDIF(RAPTOR_PARSER_RSS)\n\n' >>CMakeTests.txt; \
set -e; exit $$result
if MAINTAINER_MODE
@@ -160,6 +175,7 @@ endif
check-serialize-atom: $(check_serialize_atom_deps)
@set +e; result=0; \
$(RECHO) "Testing Turtle to Atom XML"; \
+ printf 'IF(RAPTOR_SERIALIZER_ATOM)\n\n' >>CMakeTests.txt; \
for test in $(OUT_RDF_TTLS); do \
name=`basename $$test .ttl` ; \
atom="$$name.atom"; \
@@ -190,7 +206,13 @@ check-serialize-atom: $(check_serialize_atom_deps)
diff -u $(srcdir)/$$expected $$atom; result=1; \
fi; \
rm -f errors.log ; \
+ printf '\tRAPPER_TEST(%s\n\t\t"%s"\n\t\t%s\n\t\t%s\n\t)\n\n' \
+ feeds.$$test \
+ "\$${RAPPER} $$opts file:$$test" \
+ $$atom \
+ "\$${CMAKE_CURRENT_SOURCE_DIR}/$$expected" >>CMakeTests.txt; \
done; \
+ printf 'ENDIF(RAPTOR_SERIALIZER_ATOM)\n\n' >>CMakeTests.txt; \
set -e; exit $$result
@@ -203,6 +225,7 @@ SUFFIXES = .rng .rnc
check-validate-atom: $(srcdir)/atom.rng $(OUT_ATOMS) $(TEST_IN_ATOMS)
@set +e; result=0; \
$(RECHO) "Validating Atom XML with RelaxNG"; \
+ printf 'IF(HAVE_JING)\n' >>CMakeTests.txt; \
for atom in $(OUT_ATOMS) $(TEST_IN_ATOMS); do \
test -f $$atom || atom=$(srcdir)/$$atom; \
$(RECHO) $(RECHO_N) "Validating $$atom $(RECHO_C)"; \
@@ -215,9 +238,13 @@ check-validate-atom: $(srcdir)/atom.rng $(OUT_ATOMS) $(TEST_IN_ATOMS)
result=1 ; \
else \
$(RECHO) "ok"; \
- fi; \
- rm -f errors.log; \
+ fi; \
+ rm -f errors.log; \
+ printf '\tADD_TEST(%s %s)\n' \
+ feeds.jing-$$atom \
+ "\$${JING} \$${CMAKE_CURRENT_SOURCE_DIR}/atom.rng $$atom" >>CMakeTests.txt; \
done; \
+ printf 'ENDIF(HAVE_JING)\n\n' >>CMakeTests.txt; \
set -e; exit $$result
endif
View
17 tests/grddl/CMakeLists.txt
@@ -0,0 +1,17 @@
+# raptor/tests/grddl/CMakeLists.txt
+#
+# Original listfile by Daniel Richard G. <skunk@iSKUNK.ORG>
+# This file is in the public domain.
+#
+
+IF(RAPTOR_PARSER_GRDDL)
+
+ RAPPER_TEST(grddl.test-01
+ "${RAPPER} -f noNet -q -i grddl -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/test-01.html"
+ test-01.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/test-01.out
+ )
+
+ENDIF(RAPTOR_PARSER_GRDDL)
+
+# end raptor/tests/grddl/CMakeLists.txt
View
11 tests/grddl/Makefile.am
@@ -32,7 +32,9 @@ ALL_TEST_FILES= \
$(TEST_OUT_FILES) \
$(TEST_DATA_FILES)
-EXTRA_DIST = $(ALL_TEST_FILES)
+EXTRA_DIST = CMakeLists.txt $(ALL_TEST_FILES)
+
+CLEANFILES = CMakeTests.txt
RAPPER = $(top_builddir)/utils/rapper
@@ -52,6 +54,7 @@ endif
check-grddl: build-rapper $(check_grddl_deps)
@result=0; \
$(RECHO) "Testing GRDDL"; \
+ printf 'IF(RAPTOR_PARSER_GRDDL)\n\n' >>CMakeTests.txt; \
for test in $(TEST_FILES); do \
name=`basename $$test .html` ; \
$(RECHO) $(RECHO_N) "Checking $$test $(RECHO_C)"; \
@@ -72,5 +75,11 @@ check-grddl: build-rapper $(check_grddl_deps)
if test $$status != 1 ; then \
rm -f $$name.res $$name.err; \
fi; \
+ printf '\tRAPPER_TEST(%s\n\t\t"%s"\n\t\t%s\n\t\t%s\n\t)\n\n' \
+ grddl.$$name \
+ "\$${RAPPER} -f noNet -q -i grddl -o ntriples \$${CMAKE_CURRENT_SOURCE_DIR}/$$test" \
+ $$name.res \
+ "\$${CMAKE_CURRENT_SOURCE_DIR}/$$name.out" >>CMakeTests.txt; \
done; \
+ printf 'ENDIF(RAPTOR_PARSER_GRDDL)\n\n' >>CMakeTests.txt; \
exit $$result
View
69 tests/json/CMakeLists.txt
@@ -0,0 +1,69 @@
+# raptor/tests/json/CMakeLists.txt
+#
+# Original listfile by Daniel Richard G. <skunk@iSKUNK.ORG>
+# This file is in the public domain.
+#
+
+IF(RAPTOR_PARSER_JSON)
+
+ RAPPER_TEST(json.example1
+ "${RAPPER} -q -i json -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/example1.json http://example.librdf.org/example1.json"
+ example1.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/example1.nt
+ )
+
+ RAPPER_TEST(json.example2
+ "${RAPPER} -q -i json -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/example2.json http://example.librdf.org/example2.json"
+ example2.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/example2.nt
+ )
+
+ RAPPER_TEST(json.example3
+ "${RAPPER} -q -i json -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/example3.json http://example.librdf.org/example3.json"
+ example3.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/example3.nt
+ )
+
+ RAPPER_TEST(json.example4
+ "${RAPPER} -q -i json -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/example4.json http://example.librdf.org/example4.json"
+ example4.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/example4.nt
+ )
+
+ ADD_TEST(json.bad-00 ${RAPPER} -q -i json -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-00.json http://example.librdf.org/bad-00.json) # WILL_FAIL
+ ADD_TEST(json.bad-01 ${RAPPER} -q -i json -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-01.json http://example.librdf.org/bad-01.json) # WILL_FAIL
+ ADD_TEST(json.bad-02 ${RAPPER} -q -i json -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-02.json http://example.librdf.org/bad-02.json) # WILL_FAIL
+ ADD_TEST(json.bad-03 ${RAPPER} -q -i json -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-03.json http://example.librdf.org/bad-03.json) # WILL_FAIL
+ ADD_TEST(json.bad-04 ${RAPPER} -q -i json -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-04.json http://example.librdf.org/bad-04.json) # WILL_FAIL
+ ADD_TEST(json.bad-05 ${RAPPER} -q -i json -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-05.json http://example.librdf.org/bad-05.json) # WILL_FAIL
+ ADD_TEST(json.bad-06 ${RAPPER} -q -i json -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-06.json http://example.librdf.org/bad-06.json) # WILL_FAIL
+ ADD_TEST(json.bad-07 ${RAPPER} -q -i json -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-07.json http://example.librdf.org/bad-07.json) # WILL_FAIL
+ ADD_TEST(json.bad-08 ${RAPPER} -q -i json -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-08.json http://example.librdf.org/bad-08.json) # WILL_FAIL
+ ADD_TEST(json.bad-09 ${RAPPER} -q -i json -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-09.json http://example.librdf.org/bad-09.json) # WILL_FAIL
+ ADD_TEST(json.bad-10 ${RAPPER} -q -i json -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-10.json http://example.librdf.org/bad-10.json) # WILL_FAIL
+ ADD_TEST(json.bad-11 ${RAPPER} -q -i json -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-11.json http://example.librdf.org/bad-11.json) # WILL_FAIL
+ ADD_TEST(json.bad-12 ${RAPPER} -q -i json -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-12.json http://example.librdf.org/bad-12.json) # WILL_FAIL
+ ADD_TEST(json.bad-13 ${RAPPER} -q -i json -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-13.json http://example.librdf.org/bad-13.json) # WILL_FAIL
+
+ SET_TESTS_PROPERTIES(
+ json.bad-00
+ json.bad-01
+ json.bad-02
+ json.bad-03
+ json.bad-04
+ json.bad-05
+ json.bad-06
+ json.bad-07
+ json.bad-08
+ json.bad-09
+ json.bad-10
+ json.bad-11
+ json.bad-12
+ json.bad-13
+ PROPERTIES
+ WILL_FAIL TRUE
+ )
+
+ENDIF(RAPTOR_PARSER_JSON)
+
+# end raptor/tests/json/CMakeLists.txt
View
20 tests/json/Makefile.am
@@ -34,12 +34,15 @@ bad-10.json bad-11.json bad-12.json bad-13.json
BASE_URI=http://example.librdf.org/
EXTRA_DIST = \
+ CMakeLists.txt \
$(TEST_FILES) \
$(TEST_OUT_FILES) \
$(JSON_BAD_TEST_FILES)
RAPPER = $(top_builddir)/utils/rapper
+CLEANFILES = CMakeTests.txt CMakeTmp.txt
+
build-rapper:
@(cd $(top_builddir)/utils ; $(MAKE) rapper$(EXEEXT))
@@ -56,6 +59,7 @@ endif
check-json: build-rapper $(check_json_deps)
@result=0; \
$(RECHO) "Testing legal JSON"; \
+ printf 'IF(RAPTOR_PARSER_JSON)\n\n' >>CMakeTests.txt; \
for test in $(TEST_FILES); do \
name=`basename $$test .json` ; \
baseuri=$(BASE_URI)$$test; \
@@ -76,7 +80,13 @@ check-json: build-rapper $(check_json_deps)
diff $(srcdir)/$$name.nt $$name.res; result=1; \
fi; \
rm -f $$name.res $$name.err; \
+ printf '\tRAPPER_TEST(%s\n\t\t"%s"\n\t\t%s\n\t\t%s\n\t)\n\n' \
+ json.$$name \
+ "\$${RAPPER} -q -i json -o ntriples \$${CMAKE_CURRENT_SOURCE_DIR}/$$test $$baseuri" \
+ $$name.res \
+ "\$${CMAKE_CURRENT_SOURCE_DIR}/$$name.nt" >>CMakeTests.txt; \
done; \
+ printf 'ENDIF(RAPTOR_PARSER_JSON)\n\n' >>CMakeTests.txt; \
exit $$result
if MAINTAINER_MODE
@@ -86,6 +96,7 @@ endif
check-bad-json: build-rapper $(check_bad_json_deps)
@set +e; result=0; \
$(RECHO) "Testing that bad JSON fails"; \
+ printf 'IF(RAPTOR_PARSER_JSON)\n\n' >>CMakeTests.txt; \
for test in $(JSON_BAD_TEST_FILES); do \
name=`basename $$test .json` ; \
baseuri=$(BASE_URI)$$name.json; \
@@ -105,6 +116,15 @@ check-bad-json: build-rapper $(check_bad_json_deps)
cat $$name.res; result=1; \
fi; \
rm -f $$name.res $$name.err ; \
+ printf '\tADD_TEST(%s %s) # WILL_FAIL\n' \
+ json.$$name \
+ "\$${RAPPER} -q -i json -o ntriples file:\$${CMAKE_CURRENT_SOURCE_DIR}/$$test $$baseuri" >>CMakeTests.txt; \
+ printf '\t\t%s\n' json.$$name >>CMakeTmp.txt; \
done; \
+ (printf '\n\tSET_TESTS_PROPERTIES(\n'; \
+ cat CMakeTmp.txt; \
+ printf '\t\tPROPERTIES\n\t\tWILL_FAIL TRUE\n\t)\n\n'; \
+ printf 'ENDIF(RAPTOR_PARSER_JSON)\n\n') >>CMakeTests.txt; \
+ rm -f CMakeTmp.txt; \
set -e; exit $$result
View
53 tests/ntriples/CMakeLists.txt
@@ -0,0 +1,53 @@
+# raptor/tests/ntriples/CMakeLists.txt
+#
+# Original listfile by Daniel Richard G. <skunk@iSKUNK.ORG>
+# This file is in the public domain.
+#
+
+RAPPER_TEST(ntriples.test
+ "${RAPPER} -q -i ntriples -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/test.nt http://librdf.org/raptor/tests/test.nt"
+ test.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/test.out
+)
+
+ADD_TEST(ntriples.bad-00 ${RAPPER} -q -i ntriples -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-00.nt http://librdf.org/raptor/tests/bad-00.nt) # WILL_FAIL
+ADD_TEST(ntriples.bad-01 ${RAPPER} -q -i ntriples -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-01.nt http://librdf.org/raptor/tests/bad-01.nt) # WILL_FAIL
+ADD_TEST(ntriples.bad-02 ${RAPPER} -q -i ntriples -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-02.nt http://librdf.org/raptor/tests/bad-02.nt) # WILL_FAIL
+ADD_TEST(ntriples.bad-03 ${RAPPER} -q -i ntriples -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-03.nt http://librdf.org/raptor/tests/bad-03.nt) # WILL_FAIL
+ADD_TEST(ntriples.bad-04 ${RAPPER} -q -i ntriples -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-04.nt http://librdf.org/raptor/tests/bad-04.nt) # WILL_FAIL
+ADD_TEST(ntriples.bad-05 ${RAPPER} -q -i ntriples -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-05.nt http://librdf.org/raptor/tests/bad-05.nt) # WILL_FAIL
+ADD_TEST(ntriples.bad-06 ${RAPPER} -q -i ntriples -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-06.nt http://librdf.org/raptor/tests/bad-06.nt) # WILL_FAIL
+ADD_TEST(ntriples.bad-07 ${RAPPER} -q -i ntriples -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-07.nt http://librdf.org/raptor/tests/bad-07.nt) # WILL_FAIL
+
+SET_TESTS_PROPERTIES(
+ ntriples.bad-00
+ ntriples.bad-01
+ ntriples.bad-02
+ ntriples.bad-03
+ ntriples.bad-04
+ ntriples.bad-05
+ ntriples.bad-06
+ ntriples.bad-07
+ PROPERTIES
+ WILL_FAIL TRUE
+)
+
+RAPPER_TEST(ntriples.testnq-1
+ "${RAPPER} -q -i nquads -o nquads file:${CMAKE_CURRENT_SOURCE_DIR}/testnq-1.nq http://librdf.org/raptor/tests/testnq-1.nq"
+ testnq-1.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/testnq-1.out
+)
+
+RAPPER_TEST(ntriples.testnq-optional-context
+ "${RAPPER} -q -i nquads -o nquads file:${CMAKE_CURRENT_SOURCE_DIR}/testnq-optional-context.nq http://librdf.org/raptor/tests/testnq-optional-context.nq"
+ testnq-optional-context.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/testnq-optional-context.out
+)
+
+RAPPER_TEST(ntriples.bug-481
+ "${RAPPER} -q -i nquads -o nquads file:${CMAKE_CURRENT_SOURCE_DIR}/bug-481.nq http://librdf.org/raptor/tests/bug-481.nq"
+ bug-481.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/bug-481.out
+)
+
+# end raptor/tests/ntriples/CMakeLists.txt
View
20 tests/ntriples/Makefile.am
@@ -36,12 +36,14 @@ NQ_OUT_FILES=testnq-1.out testnq-optional-context.out bug-481.out
BASE_URI=http://librdf.org/raptor/tests/
EXTRA_DIST = \
+ CMakeLists.txt \
$(NT_TEST_FILES) \
$(NT_OUT_FILES) \
$(NT_BAD_TEST_FILES) \
$(NQ_TEST_FILES) \
$(NQ_OUT_FILES)
+CLEANFILES = CMakeTests.txt CMakeTmp.txt
RAPPER = $(top_builddir)/utils/rapper
@@ -69,6 +71,11 @@ check-nt: build-rapper $(check_nt_deps)
diff $(srcdir)/$$name.out $$name.res; result=1; \
fi; \
rm -f $$name.res ; \
+ printf 'RAPPER_TEST(%s\n\t"%s"\n\t%s\n\t%s\n)\n\n' \
+ ntriples.$$name \
+ "\$${RAPPER} -q -i ntriples -o ntriples file:\$${CMAKE_CURRENT_SOURCE_DIR}/$$test $(BASE_URI)$$test" \
+ $$name.res \
+ "\$${CMAKE_CURRENT_SOURCE_DIR}/$$name.out" >>CMakeTests.txt; \
done; \
set -e; exit $$result
@@ -98,7 +105,15 @@ check-bad-nt: build-rapper $(check_bad_nt_deps)
cat $$name.res; result=1; \
fi; \
rm -f $$name.res $$name.err ; \
+ printf 'ADD_TEST(%s %s) # WILL_FAIL\n' \
+ ntriples.$$name \
+ "\$${RAPPER} -q -i ntriples -o ntriples file:\$${CMAKE_CURRENT_SOURCE_DIR}/$$test $$baseuri" >>CMakeTests.txt; \
+ printf '\t%s\n' ntriples.$$name >>CMakeTmp.txt; \
done; \
+ (printf '\nSET_TESTS_PROPERTIES(\n'; \
+ cat CMakeTmp.txt; \
+ printf '\tPROPERTIES\n\tWILL_FAIL TRUE\n)\n\n') >>CMakeTests.txt; \
+ rm -f CMakeTmp.txt; \
set -e; exit $$result
if MAINTAINER_MODE
@@ -119,6 +134,11 @@ check-nq: build-rapper $(check_nq_deps)
diff $(srcdir)/$$name.out $$name.res; result=1; \
fi; \
rm -f $$name.res ; \
+ printf 'RAPPER_TEST(%s\n\t"%s"\n\t%s\n\t%s\n)\n\n' \
+ ntriples.$$name \
+ "\$${RAPPER} -q -i nquads -o nquads file:\$${CMAKE_CURRENT_SOURCE_DIR}/$$test $(BASE_URI)$$test" \
+ $$name.res \
+ "\$${CMAKE_CURRENT_SOURCE_DIR}/$$name.out" >>CMakeTests.txt; \
done; \
set -e; exit $$result
View
737 tests/rdfa/CMakeLists.txt
@@ -0,0 +1,737 @@
+# raptor/tests/rdfa/CMakeLists.txt
+#
+# Original listfile by Daniel Richard G. <skunk@iSKUNK.ORG>
+# This file is in the public domain.
+#
+
+IF(RAPTOR_PARSER_RDFA)
+
+ RAPPER_RDFDIFF_TEST(rdfa.0001
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0001.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0001.xml"
+ 0001-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0001.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0001.out 0001-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0006
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0006.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0006.xml"
+ 0006-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0006.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0006.out 0006-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0007
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0007.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0007.xml"
+ 0007-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0007.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0007.out 0007-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0008
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0008.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0008.xml"
+ 0008-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0008.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0008.out 0008-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0009
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0009.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0009.xml"
+ 0009-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0009.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0009.out 0009-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0010
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0010.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0010.xml"
+ 0010-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0010.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0010.out 0010-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0012
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0012.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0012.xml"
+ 0012-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0012.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0012.out 0012-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0013
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0013.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0013.xml"
+ 0013-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0013.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0013.out 0013-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0014
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0014.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0014.xml"
+ 0014-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0014.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0014.out 0014-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0015
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0015.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0015.xml"
+ 0015-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0015.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0015.out 0015-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0017
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0017.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0017.xml"
+ 0017-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0017.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0017.out 0017-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0018
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0018.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0018.xml"
+ 0018-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0018.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0018.out 0018-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0019
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0019.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0019.xml"
+ 0019-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0019.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0019.out 0019-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0020
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0020.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0020.xml"
+ 0020-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0020.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0020.out 0020-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0021
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0021.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0021.xml"
+ 0021-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0021.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0021.out 0021-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0023
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0023.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0023.xml"
+ 0023-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0023.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0023.out 0023-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0025
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0025.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0025.xml"
+ 0025-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0025.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0025.out 0025-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0026
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0026.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0026.xml"
+ 0026-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0026.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0026.out 0026-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0027
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0027.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0027.xml"
+ 0027-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0027.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0027.out 0027-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0029
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0029.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0029.xml"
+ 0029-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0029.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0029.out 0029-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0030
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0030.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0030.xml"
+ 0030-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0030.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0030.out 0030-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0031
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0031.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0031.xml"
+ 0031-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0031.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0031.out 0031-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0032
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0032.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0032.xml"
+ 0032-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0032.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0032.out 0032-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0033
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0033.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0033.xml"
+ 0033-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0033.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0033.out 0033-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0034
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0034.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0034.xml"
+ 0034-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0034.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0034.out 0034-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0035
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0035.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0035.xml"
+ 0035-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0035.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0035.out 0035-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0036
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0036.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0036.xml"
+ 0036-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0036.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0036.out 0036-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0037
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0037.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0037.xml"
+ 0037-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0037.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0037.out 0037-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0038
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0038.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0038.xml"
+ 0038-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0038.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0038.out 0038-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0039
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0039.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0039.xml"
+ 0039-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0039.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0039.out 0039-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0040
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0040.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0040.xml"
+ 0040-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0040.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0040.out 0040-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0041
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0041.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0041.xml"
+ 0041-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0041.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0041.out 0041-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0042
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0042.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0042.xml"
+ 0042-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0042.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0042.out 0042-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0046
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0046.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0046.xml"
+ 0046-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0046.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0046.out 0046-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0047
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0047.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0047.xml"
+ 0047-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0047.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0047.out 0047-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0048
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0048.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0048.xml"
+ 0048-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0048.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0048.out 0048-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0049
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0049.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0049.xml"
+ 0049-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0049.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0049.out 0049-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0050
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0050.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0050.xml"
+ 0050-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0050.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0050.out 0050-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0051
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0051.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0051.xml"
+ 0051-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0051.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0051.out 0051-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0052
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0052.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0052.xml"
+ 0052-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0052.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0052.out 0052-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0053
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0053.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0053.xml"
+ 0053-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0053.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0053.out 0053-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0054
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0054.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0054.xml"
+ 0054-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0054.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0054.out 0054-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0055
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0055.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0055.xml"
+ 0055-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0055.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0055.out 0055-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0056
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0056.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0056.xml"
+ 0056-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0056.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0056.out 0056-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0057
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0057.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0057.xml"
+ 0057-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0057.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0057.out 0057-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0058
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0058.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0058.xml"
+ 0058-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0058.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0058.out 0058-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0059
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0059.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0059.xml"
+ 0059-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0059.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0059.out 0059-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0060
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0060.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0060.xml"
+ 0060-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0060.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0060.out 0060-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0061
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0061.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0061.xml"
+ 0061-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0061.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0061.out 0061-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0062
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0062.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0062.xml"
+ 0062-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0062.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0062.out 0062-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0063
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0063.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0063.xml"
+ 0063-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0063.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0063.out 0063-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0064
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0064.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0064.xml"
+ 0064-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0064.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0064.out 0064-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0065
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0065.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0065.xml"
+ 0065-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0065.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0065.out 0065-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0066
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0066.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0066.xml"
+ 0066-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0066.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0066.out 0066-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0067
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0067.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0067.xml"
+ 0067-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0067.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0067.out 0067-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0068
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0068.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0068.xml"
+ 0068-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0068.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0068.out 0068-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0069
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0069.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0069.xml"
+ 0069-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0069.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0069.out 0069-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0070
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0070.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0070.xml"
+ 0070-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0070.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0070.out 0070-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0071
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0071.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0071.xml"
+ 0071-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0071.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0071.out 0071-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0072
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0072.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0072.xml"
+ 0072-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0072.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0072.out 0072-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0073
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0073.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0073.xml"
+ 0073-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0073.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0073.out 0073-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0074
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0074.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0074.xml"
+ 0074-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0074.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0074.out 0074-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0075
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0075.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0075.xml"
+ 0075-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0075.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0075.out 0075-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0076
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0076.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0076.xml"
+ 0076-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0076.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0076.out 0076-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0077
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0077.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0077.xml"
+ 0077-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0077.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0077.out 0077-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0078
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0078.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0078.xml"
+ 0078-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0078.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0078.out 0078-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0079
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0079.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0079.xml"
+ 0079-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0079.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0079.out 0079-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0080
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0080.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0080.xml"
+ 0080-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0080.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0080.out 0080-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0081
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0081.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0081.xml"
+ 0081-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0081.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0081.out 0081-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0082
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0082.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0082.xml"
+ 0082-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0082.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0082.out 0082-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0083
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0083.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0083.xml"
+ 0083-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0083.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0083.out 0083-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0084
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0084.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0084.xml"
+ 0084-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0084.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0084.out 0084-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0085
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0085.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0085.xml"
+ 0085-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0085.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0085.out 0085-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0087
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0087.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0087.xml"
+ 0087-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0087.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0087.out 0087-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0088
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0088.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0088.xml"
+ 0088-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0088.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0088.out 0088-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0089
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0089.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0089.xml"
+ 0089-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0089.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0089.out 0089-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0090
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0090.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0090.xml"
+ 0090-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0090.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0090.out 0090-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0091
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0091.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0091.xml"
+ 0091-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0091.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0091.out 0091-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0093
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0093.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0093.xml"
+ 0093-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0093.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0093.out 0093-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0099
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0099.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0099.xml"
+ 0099-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0099.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0099.out 0099-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0104
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0104.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0104.xml"
+ 0104-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0104.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0104.out 0104-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0106
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0106.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0106.xml"
+ 0106-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0106.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0106.out 0106-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0107
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0107.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0107.xml"
+ 0107-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0107.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0107.out 0107-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0108
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0108.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0108.xml"
+ 0108-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0108.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0108.out 0108-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0109
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0109.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0109.xml"
+ 0109-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0109.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0109.out 0109-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0110
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0110.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0110.xml"
+ 0110-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0110.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0110.out 0110-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0111
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0111.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0111.xml"
+ 0111-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0111.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0111.out 0111-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0112
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0112.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0112.xml"
+ 0112-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0112.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0112.out 0112-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0113
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0113.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0113.xml"
+ 0113-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0113.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0113.out 0113-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0114
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0114.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0114.xml"
+ 0114-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0114.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0114.out 0114-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0115
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0115.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0115.xml"
+ 0115-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0115.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0115.out 0115-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0117
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0117.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0117.xml"
+ 0117-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0117.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0117.out 0117-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0118
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0118.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0118.xml"
+ 0118-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0118.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0118.out 0118-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0119
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0119.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0119.xml"
+ 0119-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0119.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0119.out 0119-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0120
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0120.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0120.xml"
+ 0120-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0120.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0120.out 0120-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0121
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0121.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0121.xml"
+ 0121-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0121.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0121.out 0121-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0122
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0122.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0122.xml"
+ 0122-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0122.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0122.out 0122-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0126
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0126.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0126.xml"
+ 0126-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0126.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0126.out 0126-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0131
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0131.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0131.xml"
+ 0131-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0131.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0131.out 0131-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0134
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0134.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0134.xml"
+ 0134-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0134.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0134.out 0134-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0140
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0140.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0140.xml"
+ 0140-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0140.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0140.out 0140-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0147
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0147.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0147.xml"
+ 0147-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0147.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0147.out 0147-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0172
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0172.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0172.xml"
+ 0172-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0172.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0172.out 0172-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0173
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0173.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0173.xml"
+ 0173-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0173.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0173.out 0173-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0174
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0174.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0174.xml"
+ 0174-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0174.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0174.out 0174-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0181
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0181.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0181.xml"
+ 0181-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0181.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0181.out 0181-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0197
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0197.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0197.xml"
+ 0197-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0197.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0197.out 0197-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0201
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0201.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0201.xml"
+ 0201-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0201.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0201.out 0201-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0202
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0202.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0202.xml"
+ 0202-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0202.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0202.out 0202-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0203
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0203.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0203.xml"
+ 0203-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0203.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0203.out 0203-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0207
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0207.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0207.xml"
+ 0207-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0207.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0207.out 0207-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0209
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0209.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0209.xml"
+ 0209-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0209.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0209.out 0209-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0210
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0210.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0210.xml"
+ 0210-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0210.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0210.out 0210-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0211
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0211.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0211.xml"
+ 0211-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0211.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0211.out 0211-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0212
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0212.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0212.xml"
+ 0212-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0212.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0212.out 0212-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0215
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0215.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0215.xml"
+ 0215-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0215.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0215.out 0215-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0258
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0258.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0258.xml"
+ 0258-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0258.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0258.out 0258-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0262
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0262.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0262.xml"
+ 0262-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0262.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0262.out 0262-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0291
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0291.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0291.xml"
+ 0291-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0291.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0291.out 0291-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0294
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0294.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0294.xml"
+ 0294-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0294.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0294.out 0294-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa.0304
+ "${RAPPER} -f noNet -q -i rdfa10 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0304.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0304.xml"
+ 0304-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0304.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0304.out 0304-res.nt"
+ )
+
+ENDIF(RAPTOR_PARSER_RDFA)
+
+# end raptor/tests/rdfa/CMakeLists.txt
View
11 tests/rdfa/Makefile.am
@@ -45,6 +45,7 @@ BASE_URI=http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/
# These all expect 0 ntriples - failure is >0 triples or ERROR
CLEANFILES= \
+CMakeTests.txt \
*-res.nt
TEST_FILES= \
@@ -98,7 +99,7 @@ ALL_TEST_FILES= \
# (Add a space to the start of this string)
EXPECTED_FAILURES=" 0202.xml 0203.xml"
-EXTRA_DIST = $(ALL_TEST_FILES)
+EXTRA_DIST = CMakeLists.txt $(ALL_TEST_FILES)
RAPPER = $(top_builddir)/utils/rapper
RDFDIFF = $(top_builddir)/utils/rdfdiff
@@ -122,6 +123,7 @@ endif
check-rdfa: build-rdfdiff build-rapper $(check_rdfa_deps)
@set +e; result=0; failures=; failure_count=0; \
$(RECHO) "Testing RDFa 1.0"; \
+ printf 'IF(RAPTOR_PARSER_RDFA)\n\n' >>CMakeTests.txt; \
for test in $(TEST_FILES); do \
name=`basename $$test .xml` ; \
$(RECHO) $(RECHO_N) "Checking $$test $(RECHO_C)"; \
@@ -145,7 +147,14 @@ check-rdfa: build-rdfdiff build-rapper $(check_rdfa_deps)
failure_count=`expr $$failure_count + 1`; \
fi; \
rm -f $$name-res.nt $$name.res $$name.err; \
+ printf '\tRAPPER_RDFDIFF_TEST(%s\n\t\t"%s"\n\t\t%s\n\t\t"%s"\n\t)\n\n' \
+ rdfa.$$name \
+ "\$${RAPPER} -f noNet -q -i rdfa10 -I $$baseuri -o ntriples \$${CMAKE_CURRENT_SOURCE_DIR}/$$test" \
+ $$name-res.nt \
+ "\$${RDFDIFF} -f ntriples -u $$baseuri -t ntriples \$${CMAKE_CURRENT_SOURCE_DIR}/$$name.out $$name-res.nt" \
+ >>CMakeTests.txt; \
done; \
+ printf 'ENDIF(RAPTOR_PARSER_RDFA)\n\n' >>CMakeTests.txt; \
if test "X$$failures" != X; then \
echo "$$failure_count tests FAILED: $$failures"; \
if test "$$failures" = $(EXPECTED_FAILURES); then \
View
1,217 tests/rdfa11/CMakeLists.txt
@@ -0,0 +1,1217 @@
+# raptor/tests/rdfa11/CMakeLists.txt
+#
+# Original listfile by Daniel Richard G. <skunk@iSKUNK.ORG>
+# This file is in the public domain.
+#
+
+IF(RAPTOR_PARSER_RDFA)
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0001
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0001.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0001.xml"
+ 0001-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0001.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0001.out 0001-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0006
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0006.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0006.xml"
+ 0006-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0006.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0006.out 0006-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0007
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0007.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0007.xml"
+ 0007-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0007.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0007.out 0007-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0008
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0008.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0008.xml"
+ 0008-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0008.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0008.out 0008-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0009
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0009.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0009.xml"
+ 0009-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0009.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0009.out 0009-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0010
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0010.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0010.xml"
+ 0010-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0010.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0010.out 0010-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0012
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0012.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0012.xml"
+ 0012-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0012.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0012.out 0012-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0013
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0013.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0013.xml"
+ 0013-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0013.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0013.out 0013-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0014
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0014.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0014.xml"
+ 0014-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0014.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0014.out 0014-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0015
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0015.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0015.xml"
+ 0015-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0015.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0015.out 0015-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0017
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0017.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0017.xml"
+ 0017-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0017.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0017.out 0017-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0018
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0018.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0018.xml"
+ 0018-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0018.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0018.out 0018-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0019
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0019.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0019.xml"
+ 0019-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0019.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0019.out 0019-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0020
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0020.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0020.xml"
+ 0020-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0020.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0020.out 0020-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0021
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0021.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0021.xml"
+ 0021-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0021.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0021.out 0021-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0023
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0023.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0023.xml"
+ 0023-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0023.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0023.out 0023-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0025
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0025.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0025.xml"
+ 0025-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0025.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0025.out 0025-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0026
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0026.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0026.xml"
+ 0026-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0026.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0026.out 0026-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0027
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0027.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0027.xml"
+ 0027-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0027.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0027.out 0027-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0029
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0029.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0029.xml"
+ 0029-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0029.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0029.out 0029-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0030
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0030.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0030.xml"
+ 0030-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0030.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0030.out 0030-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0031
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0031.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0031.xml"
+ 0031-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0031.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0031.out 0031-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0032
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0032.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0032.xml"
+ 0032-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0032.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0032.out 0032-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0033
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0033.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0033.xml"
+ 0033-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0033.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0033.out 0033-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0034
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0034.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0034.xml"
+ 0034-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0034.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0034.out 0034-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0035
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0035.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0035.xml"
+ 0035-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0035.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0035.out 0035-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0036
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0036.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0036.xml"
+ 0036-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0036.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0036.out 0036-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0037
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0037.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0037.xml"
+ 0037-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0037.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0037.out 0037-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0038
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0038.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0038.xml"
+ 0038-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0038.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0038.out 0038-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0039
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0039.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0039.xml"
+ 0039-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0039.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0039.out 0039-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0041
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0041.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0041.xml"
+ 0041-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0041.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0041.out 0041-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0048
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0048.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0048.xml"
+ 0048-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0048.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0048.out 0048-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0049
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0049.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0049.xml"
+ 0049-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0049.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0049.out 0049-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0050
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0050.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0050.xml"
+ 0050-res.nt
+ "${RDFDIFF} -f ntriples -u http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0050.xml -t ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0050.out 0050-res.nt"
+ )
+
+ RAPPER_RDFDIFF_TEST(rdfa11.0051
+ "${RAPPER} -f noNet -q -i rdfa11 -I http://rdfa.info/test-suite/test-cases/xhtml1/rdfa1.0/0051.xml -o ntriples ${CMAKE_CURRENT_SOURCE_DIR}/0051.xml"