summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xci/test.sh2
-rw-r--r--third-party/infoware/1.current.patch2
2 files changed, 3 insertions, 1 deletions
diff --git a/ci/test.sh b/ci/test.sh
new file mode 100755
index 0000000..3f1e3f9
--- /dev/null
+++ b/ci/test.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+ctest --test-dir $builddir
diff --git a/third-party/infoware/1.current.patch b/third-party/infoware/1.current.patch
index 9ef31bc..2f8bf0e 100644
--- a/third-party/infoware/1.current.patch
+++ b/third-party/infoware/1.current.patch
@@ -24,7 +24,7 @@ diff '--color=auto' -ru a/CMakeLists.txt b/CMakeLists.txt
INSTALL_COMMAND ""
BUILD_ALWAYS ON
- CMAKE_ARGS -DINFOWARE_PCI_DATA_DIR:PATH=${CMAKE_BINARY_DIR}/${INFOWARE_PCI_DATA_DIR})
-+ CMAKE_ARGS -DINFOWARE_PCI_DATA_DIR:PATH=${CMAKE_CURRENT_BINARY_DIR}/${INFOWARE_PCI_DATA_DIR})
++ CMAKE_ARGS -DINFOWARE_PCI_DATA_DIR:PATH=${INFOWARE_PCI_DATA_DIR})
endif()
add_dependencies(infoware infoware_generate_pcis)