summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2024-03-24 00:38:47 +0100
committerAki <please@ignore.pl>2024-03-24 00:38:47 +0100
commitc3e4d9d07e1b5c748e557b82f140e674c246953b (patch)
treebd23f0ebbf03fb5993934dd681cf877c4a765a9a
parent7667dac8423ac275d8290014647fb27903865c6f (diff)
downloadstarshatter-c3e4d9d07e1b5c748e557b82f140e674c246953b.zip
starshatter-c3e4d9d07e1b5c748e557b82f140e674c246953b.tar.gz
starshatter-c3e4d9d07e1b5c748e557b82f140e674c246953b.tar.bz2
Fixed infoware patch and ci/test.sh
-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)